-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
233 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 7 additions & 9 deletions
16
tools/MacPorts/devel/gnutls/files/patch-lib-system-certs.c.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
--- ./lib/system/certs.c.old 2017-04-14 10:36:27.000000000 -0700 | ||
+++ ./lib/system/certs.c 2017-04-14 10:37:10.000000000 -0700 | ||
@@ -47,8 +47,15 @@ | ||
--- lib/system/certs.c.orig 2023-08-04 01:20:32 | ||
+++ lib/system/certs.c 2023-08-11 05:05:09 | ||
@@ -47,7 +47,13 @@ | ||
#ifdef __APPLE__ | ||
# include <CoreFoundation/CoreFoundation.h> | ||
# include <Security/Security.h> | ||
#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> | ||
#include <Availability.h> | ||
+#else | ||
+# include <AvailabilityMacros.h> | ||
+#endif | ||
#endif | ||
+#endif | ||
+ | ||
#endif | ||
|
||
/* System specific function wrappers for certificate stores. | ||
*/ |
18 changes: 18 additions & 0 deletions
18
tools/MacPorts/devel/gnutls/files/patch-lib-system-certs.c.old.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- ./lib/system/certs.c.old 2017-04-14 10:36:27.000000000 -0700 | ||
+++ ./lib/system/certs.c 2017-04-14 10:37:10.000000000 -0700 | ||
@@ -47,8 +47,15 @@ | ||
#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. | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.