In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/ac1ba09e8362c54848dc27d3484a5882c4b28f43?hp=07d51b5358c64b41da1bc50212be10cc23242c2a>

- Log -----------------------------------------------------------------
commit ac1ba09e8362c54848dc27d3484a5882c4b28f43
Author: Tony Cook <t...@develop-help.com>
Date:   Fri Sep 15 10:25:10 2017 +1000

    (perl #132087) correct *at() function detection on older darwin
-----------------------------------------------------------------------

Summary of changes:
 hints/darwin.sh | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/hints/darwin.sh b/hints/darwin.sh
index 690fe4e3ce..56e647825a 100644
--- a/hints/darwin.sh
+++ b/hints/darwin.sh
@@ -511,3 +511,16 @@ if test "$d_unsetenv" = "$define" -a \
         ccflags="$ccflags -DPERL_USE_SAFE_PUTENV"
 fi
 EOOVER
+
+# if you use a newer toolchain before OS X 10.9 these functions may be
+# incorrectly detected, so disable them
+# OS X 10.10.x corresponds to kernel 14.x
+case "$osvers" in
+    [1-9].*|1[0-3].*)
+       d_linkat=undef
+       d_openat=undef
+       d_renameat=undef
+       d_unlinkat=undef
+       d_fchmodat=undef
+       ;;
+esac

--
Perl5 Master Repository

Reply via email to