perl: fix compilation with glibc 2.27
authorHans Dedecker <redacted>
Tue, 16 Oct 2018 09:44:07 +0000 (11:44 +0200)
committerHans Dedecker <redacted>
Tue, 16 Oct 2018 09:45:12 +0000 (11:45 +0200)
Remove dependency on glibc in 010-musl-compat patch as glibc does not
support _LIB_VERSION anymore in 2.27; see
https://sourceware.org/ml/libc-announce/2018/msg00000.html

Signed-off-by: Hans Dedecker <redacted>
lang/perl/patches/010-musl-compat.patch

index c1479ff2f04019edcf4d7b89dee725d38419cb0d..77ea26f46b25213b33097fe3a6c31bc4dd184020 100644 (file)
@@ -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.
git clone https://git.99rst.org/PROJECT