Received: by mail.netbsd.org (Postfix, from userid 605) id 748BD858A6; Wed, 1 Aug 2018 19:18:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 69085853E2 for ; Wed, 1 Aug 2018 19:18:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id uRg1uKd_rwXX for ; Wed, 1 Aug 2018 19:18:19 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id B251984EA0 for ; Wed, 1 Aug 2018 19:18:19 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id ABB35FBEC; Wed, 1 Aug 2018 19:18:19 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1533151099135010" MIME-Version: 1.0 Date: Wed, 1 Aug 2018 19:18:19 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/security/p11-kit To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20180801191819.ABB35FBEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1533151099135010 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1533151099135010 Content-Disposition: inline Content-Length: 1784 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 --_----------=_1533151099135010--