Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/bockbuild.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2019-01-10 18:30:14 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2019-01-10 18:30:14 +0300
commit5c2378112dc681cea0aa5c2447661fb13adbc46b (patch)
tree7c10622ee8610c59d9f35d13355674dabb048b26
parentc9434ec024b7e6a4d648163fe0b3afbc068c7bb5 (diff)
Update list of disabled symbols on older OSX versions
Based on the latest list from Homebrew.
-rw-r--r--bockbuild/darwinprofile.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bockbuild/darwinprofile.py b/bockbuild/darwinprofile.py
index 5987d7f..4363991 100644
--- a/bockbuild/darwinprofile.py
+++ b/bockbuild/darwinprofile.py
@@ -90,12 +90,12 @@ class DarwinProfile (UnixProfile):
# even when they are not.
xcode_blacklisted_functions = []
+ # based on https://github.com/Homebrew/brew/blob/241ee989bb6a917cb6000a1aa06aa341c465a1b3/Library/Homebrew/extend/os/mac/extend/ENV/super.rb#L118-L128
if xcode_version >= '8.0':
- # based on https://github.com/Homebrew/brew/pull/970
- xcode_blacklisted_functions.extend (['basename_r','clock_getres','clock_gettime','clock_settime','dirname_r','getentropy','mkostemp', 'mkostemps'])
+ xcode_blacklisted_functions.extend (['basename_r','clock_getres','clock_gettime','clock_settime','dirname_r','getentropy','mkostemp', 'mkostemps', 'timingsafe_bcmp'])
if xcode_version >= '9.0':
- xcode_blacklisted_functions.extend (['futimens', 'utimensat'])
+ xcode_blacklisted_functions.extend (['fmemopen', 'futimens', 'open_memstream', 'utimensat'])
map(lambda t : self.configure_flags.append ('ac_cv_func_%s=no' % t), xcode_blacklisted_functions)