pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/gnutls



Module Name:    pkgsrc
Committed By:   sevan
Date:           Thu Aug 15 15:46:15 UTC 2019

Modified Files:
        pkgsrc/security/gnutls: distinfo
Added Files:
        pkgsrc/security/gnutls/patches: patch-lib_system_certs.c

Log Message:
Build fix for OS X Tiger via Macports


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 pkgsrc/security/gnutls/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/gnutls/patches/patch-lib_system_certs.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/gnutls/distinfo
diff -u pkgsrc/security/gnutls/distinfo:1.135 pkgsrc/security/gnutls/distinfo:1.136
--- pkgsrc/security/gnutls/distinfo:1.135       Thu Jul 11 14:53:36 2019
+++ pkgsrc/security/gnutls/distinfo     Thu Aug 15 15:46:15 2019
@@ -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 @@ SHA512 (gnutls-3.6.8.tar.xz) = 71f0899de
 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

Added files:

Index: pkgsrc/security/gnutls/patches/patch-lib_system_certs.c
diff -u /dev/null pkgsrc/security/gnutls/patches/patch-lib_system_certs.c:1.1
--- /dev/null   Thu Aug 15 15:46:15 2019
+++ pkgsrc/security/gnutls/patches/patch-lib_system_certs.c     Thu Aug 15 15:46:15 2019
@@ -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