diff options
Diffstat (limited to 'lang/php73/files/patch-configure.ac')
-rw-r--r-- | lang/php73/files/patch-configure.ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/php73/files/patch-configure.ac b/lang/php73/files/patch-configure.ac new file mode 100644 index 000000000000..4305bd53e717 --- /dev/null +++ b/lang/php73/files/patch-configure.ac @@ -0,0 +1,14 @@ +--- configure.ac.orig 2019-01-08 12:14:44 UTC ++++ configure.ac +@@ -579,7 +579,10 @@ PHP_SOCKADDR_CHECKS + + dnl Checks for GCC function attributes on all systems except ones without glibc + dnl Fix for these systems is already included in GCC 7, but not on GCC 6 +-AS_CASE([$host_alias], [*-*-*android*|*-*-*uclibc*|*-*-*musl*], [true], [ ++dnl ++dnl At least some versions of FreeBSD seem to have buggy ifunc support, see ++dnl bug #77284. Conservatively don't use ifuncs on FreeBSD. ++AS_CASE([$host_alias], [*-*-*android*|*-*-*uclibc*|*-*-*musl*|*freebsd*], [true], [ + AX_GCC_FUNC_ATTRIBUTE([ifunc]) + AX_GCC_FUNC_ATTRIBUTE([target]) + ]) |