pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/p11-kit



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Aug  1 19:18:19 UTC 2018

Modified Files:
        pkgsrc/security/p11-kit: distinfo
Added Files:
        pkgsrc/security/p11-kit/patches: patch-common_compat.c

Log Message:
p11-kit: Build fix for older Darwin.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/security/p11-kit/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/p11-kit/patches/patch-common_compat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/p11-kit/distinfo
diff -u pkgsrc/security/p11-kit/distinfo:1.5 pkgsrc/security/p11-kit/distinfo:1.6
--- pkgsrc/security/p11-kit/distinfo:1.5        Fri Jul  6 15:33:39 2018
+++ pkgsrc/security/p11-kit/distinfo    Wed Aug  1 19:18:19 2018
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2018/07/06 15:33:39 prlw1 Exp $
+$NetBSD: distinfo,v 1.6 2018/08/01 19:18:19 jperkin Exp $
 
 SHA1 (p11-kit-0.23.12.tar.gz) = 9334d3b1890c7fe0f765460a69da70c796254373
 RMD160 (p11-kit-0.23.12.tar.gz) = 37220162e0a041bf388fcaaf621189ad0a8d0121
 SHA512 (p11-kit-0.23.12.tar.gz) = ae43b1f6ba5400cf5ae7b64b8c93aa47e5c7ee927196828600fd88beb6fdf6bcb6a63bc822d356757255638f9fbf10896e0604e32a1332a9a833836fa0468726
 Size (p11-kit-0.23.12.tar.gz) = 1257028 bytes
 SHA1 (patch-Makefile.in) = c7f26205c09537593a49dea33c05e1fd29e9dbc3
+SHA1 (patch-common_compat.c) = a0a41c6f95e1d6e70c058f42f7c55ce0eeaf4f43

Added files:

Index: pkgsrc/security/p11-kit/patches/patch-common_compat.c
diff -u /dev/null pkgsrc/security/p11-kit/patches/patch-common_compat.c:1.1
--- /dev/null   Wed Aug  1 19:18:19 2018
+++ pkgsrc/security/p11-kit/patches/patch-common_compat.c       Wed Aug  1 19:18:19 2018
@@ -0,0 +1,22 @@
+$NetBSD: patch-common_compat.c,v 1.1 2018/08/01 19:18:19 jperkin Exp $
+
+Avoid /proc section on Darwin.
+
+--- common/compat.c.orig       2018-05-30 13:40:36.000000000 +0000
++++ common/compat.c
+@@ -910,6 +910,7 @@ fdwalk (int (* cb) (void *data, int fd),
+       struct rlimit rl;
+ #endif
+ 
++#if !defined(__APPLE__)
+       dir = opendir ("/proc/self/fd");
+       if (dir != NULL) {
+               while ((de = readdir (dir)) != NULL) {
+@@ -932,6 +933,7 @@ fdwalk (int (* cb) (void *data, int fd),
+               closedir (dir);
+               return res;
+       }
++#endif
+ 
+       /* No /proc, brute force */
+ #ifdef HAVE_SYS_RESOURCE_H



Home | Main Index | Thread Index | Old Index