Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -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"

View File

@@ -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

View 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. */