-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revert a patch that causes
_availability_version_check
to not be fo…
…und (#120) automerged PR by conda-forge/automerge-action
- Loading branch information
Showing
12 changed files
with
52 additions
and
15 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From bf3c5b20918704c6f07f5aecef840376fd3b0806 Mon Sep 17 00:00:00 2001 | ||
From dd35ef6087b81d9d7fc658f1c35557eec1cb733f Mon Sep 17 00:00:00 2001 | ||
From: Isuru Fernando <[email protected]> | ||
Date: Mon, 22 Apr 2019 02:00:30 -0500 | ||
Subject: [PATCH] no code sign | ||
Subject: [PATCH 1/2] no code sign | ||
|
||
--- | ||
compiler-rt/cmake/Modules/AddCompilerRT.cmake | 28 ------------------- | ||
|
37 changes: 37 additions & 0 deletions
37
recipe/patches/0002-Revert-Declare-_availability_version_check-as-weak_i.patch
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,37 @@ | ||
From d37bc1428cd192a6fa3a967a509805b95a761910 Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Mon, 2 Sep 2024 14:30:13 +1100 | ||
Subject: [PATCH 2/2] Revert "Declare _availability_version_check as | ||
weak_import instead of looking it" | ||
|
||
This reverts commit b653a2823fe4b4c9c6d85cfe119f31d8e70c2fa0. | ||
--- | ||
compiler-rt/lib/builtins/os_version_check.c | 8 ++------ | ||
1 file changed, 2 insertions(+), 6 deletions(-) | ||
|
||
diff --git a/compiler-rt/lib/builtins/os_version_check.c b/compiler-rt/lib/builtins/os_version_check.c | ||
index 182eabe7a6ae..ebfb2dfc72dd 100644 | ||
--- a/compiler-rt/lib/builtins/os_version_check.c | ||
+++ b/compiler-rt/lib/builtins/os_version_check.c | ||
@@ -86,10 +86,6 @@ typedef Boolean (*CFStringGetCStringFuncTy)(CFStringRef, char *, CFIndex, | ||
CFStringEncoding); | ||
typedef void (*CFReleaseFuncTy)(CFTypeRef); | ||
|
||
-extern __attribute__((weak_import)) | ||
-bool _availability_version_check(uint32_t count, | ||
- dyld_build_version_t versions[]); | ||
- | ||
static void _initializeAvailabilityCheck(bool LoadPlist) { | ||
if (AvailabilityVersionCheck && !LoadPlist) { | ||
// New API is supported and we're not being asked to load the plist, | ||
@@ -98,8 +94,8 @@ static void _initializeAvailabilityCheck(bool LoadPlist) { | ||
} | ||
|
||
// Use the new API if it's is available. | ||
- if (_availability_version_check) | ||
- AvailabilityVersionCheck = &_availability_version_check; | ||
+ AvailabilityVersionCheck = (AvailabilityVersionCheckFuncTy)dlsym( | ||
+ RTLD_DEFAULT, "_availability_version_check"); | ||
|
||
if (AvailabilityVersionCheck && !LoadPlist) { | ||
// New API is supported and we're not being asked to load the plist, |