Import of pkgsrc-2014Q1
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.27 2013/04/06 14:58:21 rodent Exp $
|
||||
# $NetBSD: Makefile,v 1.28 2013/09/08 16:33:59 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= checkperms-1.11
|
||||
@@ -16,9 +16,7 @@ USE_BSD_MAKEFILE= yes
|
||||
|
||||
.include "../../mk/compiler.mk"
|
||||
|
||||
.if !empty(CC_VERSION:Mclang*)
|
||||
MAKE_FLAGS+= ACTIVE_CC=clang
|
||||
.endif
|
||||
MAKE_FLAGS+= CWARNFLAGS.clang=-Wno-error=missing-noreturn
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
$NetBSD: distinfo,v 1.9 2009/12/05 10:23:34 rillig Exp $
|
||||
$NetBSD: distinfo,v 1.10 2014/03/14 22:30:36 ryoon Exp $
|
||||
|
||||
SHA1 (checkperms-1.11.tar.gz) = 21a2a61c8b085ba2d016dca3f7160494ac78a329
|
||||
RMD160 (checkperms-1.11.tar.gz) = 749c7446133e79314df7b3f8ea9c467173dbb405
|
||||
Size (checkperms-1.11.tar.gz) = 6332 bytes
|
||||
SHA1 (patch-checkperms.c) = 855d0c929248ef27f433b9ee59b2f7c26c704a08
|
||||
|
||||
15
sysutils/checkperms/patches/patch-checkperms.c
Normal file
15
sysutils/checkperms/patches/patch-checkperms.c
Normal file
@@ -0,0 +1,15 @@
|
||||
$NetBSD: patch-checkperms.c,v 1.1 2014/03/14 22:30:36 ryoon Exp $
|
||||
|
||||
--- checkperms.c.orig 2009-12-05 09:56:11.000000000 +0000
|
||||
+++ checkperms.c
|
||||
@@ -420,8 +420,10 @@ check_perms(const char *fname)
|
||||
fname, (unsigned int)unfixed, m);
|
||||
}
|
||||
|
||||
+#if defined(S_ISLNK) && defined(S_ISSOCK)
|
||||
} else if (S_ISLNK(st.st_mode) || S_ISSOCK(st.st_mode)) {
|
||||
/* Fine. */
|
||||
+#endif
|
||||
|
||||
} else if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode)) {
|
||||
/* Fine. */
|
||||
Reference in New Issue
Block a user