aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorPhilip Prindeville <philipp@redfish-solutions.com>2018-10-20 11:37:44 -0600
committerGitHub <noreply@github.com>2018-10-20 11:37:44 -0600
commitf81bf02f160e9bb059e56fd12f4ea400cf963e69 (patch)
tree1163cc6ea032404c3a75f7f726e12b336a2cff92 /lang
parent08c5f7cfabf6f01890b11905dd12661d7a33a9b6 (diff)
parent86b8d1946c4c3d027e12cc7e28569849a1be63e6 (diff)
Merge pull request #7204 from dedeckeh/pr-perl-glibc
perl: fix compilation with glibc 2.27
Diffstat (limited to 'lang')
-rw-r--r--lang/perl/patches/010-musl-compat.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/perl/patches/010-musl-compat.patch b/lang/perl/patches/010-musl-compat.patch
index c1479ff2f..77ea26f46 100644
--- a/lang/perl/patches/010-musl-compat.patch
+++ b/lang/perl/patches/010-musl-compat.patch
@@ -1,11 +1,11 @@
--- a/perl.c
+++ b/perl.c
-@@ -286,7 +286,7 @@ perl_construct(pTHXx)
+@@ -303,7 +303,7 @@ perl_construct(pTHXx)
PL_localpatches = local_patches; /* For possible -v */
#endif
-#if defined(LIBM_LIB_VERSION)
-+#if defined(LIBM_LIB_VERSION) && (defined(__GLIBC__) || defined(__UCLIBC__))
++#if defined(LIBM_LIB_VERSION) && defined(__UCLIBC__)
/*
* Some BSDs and Cygwin default to POSIX math instead of IEEE.
* This switches them over to IEEE.