pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/gnutls Build fix for OS X Tiger via Macports



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d3686ca51a7
branches:  trunk
changeset: 399733:4d3686ca51a7
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Thu Aug 15 15:46:15 2019 +0000

description:
Build fix for OS X Tiger via Macports

diffstat:

 security/gnutls/distinfo                         |   3 ++-
 security/gnutls/patches/patch-lib_system_certs.c |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r 1fbcbba911c1 -r 4d3686ca51a7 security/gnutls/distinfo
--- a/security/gnutls/distinfo  Thu Aug 15 09:06:45 2019 +0000
+++ b/security/gnutls/distinfo  Thu Aug 15 15:46:15 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.135 2019/07/11 14:53:36 sevan Exp $
+$NetBSD: distinfo,v 1.136 2019/08/15 15:46:15 sevan Exp $
 
 SHA1 (gnutls-3.6.8.tar.xz) = e1243188791af409bca118d31faf3ec3d5f0a5ab
 RMD160 (gnutls-3.6.8.tar.xz) = a834679524f95a38a8a1ea77394906db637d33fe
@@ -6,6 +6,7 @@
 Size (gnutls-3.6.8.tar.xz) = 5712580 bytes
 SHA1 (patch-lib_Makefile.in) = c9a6bbe6238ccd9de41c708012e36b202d2a86e7
 SHA1 (patch-lib_accelerated_x86_x86-common.c) = eaf3c473b1ca83c5b15be26f8c06a82d7961420c
+SHA1 (patch-lib_system_certs.c) = fba74b2834a36d66bddcd7d3405d0c91c1b14efc
 SHA1 (patch-src_libopts_autoopts_options.h) = 9202c55314fe8764ac82c95bbfabfa1b031e9ba4
 SHA1 (patch-src_libopts_compat_compat.h) = 240fbfc0ba20af35e0634ba873fe9e34bfbcc921
 SHA1 (patch-src_libopts_libopts.c) = ce5e7681def882e95ed5ab770564d1f999b97039
diff -r 1fbcbba911c1 -r 4d3686ca51a7 security/gnutls/patches/patch-lib_system_certs.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnutls/patches/patch-lib_system_certs.c  Thu Aug 15 15:46:15 2019 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-lib_system_certs.c,v 1.1 2019/08/15 15:46:15 sevan Exp $
+
+Tiger has AvailabilityMacros.h instead of Availability.h
+https://trac.macports.org/ticket/53975
+
+--- lib/system/certs.c.orig    2019-07-02 22:04:46.382727993 +0000
++++ lib/system/certs.c
+@@ -47,7 +47,13 @@
+ #ifdef __APPLE__
+ # include <CoreFoundation/CoreFoundation.h>
+ # include <Security/Security.h>
++#ifndef __MAC_OS_X_VERSION_MIN_REQUIRED
++#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050
+ # include <Availability.h>
++#else
++# include <AvailabilityMacros.h>
++#endif
++#endif
+ #endif
+ 
+ /* System specific function wrappers for certificate stores.



Home | Main Index | Thread Index | Old Index