summaryrefslogtreecommitdiff
path: root/dev-lang/php/files/bug81656-gcc-11.patch
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2023-09-15 09:52:24 +0200
committerDavid Seifert <soap@gentoo.org>2023-09-15 09:52:24 +0200
commite8d2efcc6257f0f976c80d31349d65a24fde1c9c (patch)
tree3ef21b1e8ed46ca0245ffc5c2466fcb3b99804aa /dev-lang/php/files/bug81656-gcc-11.patch
parent57c907f161d68cb1667d4b53e5c2ab62be3d63de (diff)
downloadgentoo-e8d2efcc6257f0f976c80d31349d65a24fde1c9c.tar.gz
gentoo-e8d2efcc6257f0f976c80d31349d65a24fde1c9c.tar.bz2
gentoo-e8d2efcc6257f0f976c80d31349d65a24fde1c9c.zip
dev-lang/php: drop 7.4.33-r4, 7.4.33-r5, 7.4.33-r6
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-lang/php/files/bug81656-gcc-11.patch')
-rw-r--r--dev-lang/php/files/bug81656-gcc-11.patch53
1 files changed, 0 insertions, 53 deletions
diff --git a/dev-lang/php/files/bug81656-gcc-11.patch b/dev-lang/php/files/bug81656-gcc-11.patch
deleted file mode 100644
index 8dfe1deb2b33..000000000000
--- a/dev-lang/php/files/bug81656-gcc-11.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From bb00a649e0c1ac57718cd9971e7e6f933cb2dadd Mon Sep 17 00:00:00 2001
-From: Michael Wallner <mike@php.net>
-Date: Thu, 25 Nov 2021 07:43:14 +0100
-Subject: [PATCH] fix #81656: GCC-11 silently ignores -R
-
----
- build/php.m4 | 28 ++++++++++++++--------------
- 1 file changed, 14 insertions(+), 14 deletions(-)
-
-diff --git a/build/php.m4 b/build/php.m4
-index 3af2b8b72d47..4697c5df9274 100644
---- a/build/php.m4
-+++ b/build/php.m4
-@@ -279,25 +279,25 @@ dnl
- dnl Checks for -R, etc. switch.
- dnl
- AC_DEFUN([PHP_RUNPATH_SWITCH],[
--AC_MSG_CHECKING([if compiler supports -R])
--AC_CACHE_VAL(php_cv_cc_dashr,[
-+AC_MSG_CHECKING([if compiler supports -Wl,-rpath,])
-+AC_CACHE_VAL(php_cv_cc_rpath,[
- SAVE_LIBS=$LIBS
-- LIBS="-R /usr/$PHP_LIBDIR $LIBS"
-- AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],[php_cv_cc_dashr=yes],[php_cv_cc_dashr=no])
-+ LIBS="-Wl,-rpath,/usr/$PHP_LIBDIR $LIBS"
-+ AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],[php_cv_cc_rpath=yes],[php_cv_cc_rpath=no])
- LIBS=$SAVE_LIBS])
--AC_MSG_RESULT([$php_cv_cc_dashr])
--if test $php_cv_cc_dashr = "yes"; then
-- ld_runpath_switch=-R
-+AC_MSG_RESULT([$php_cv_cc_rpath])
-+if test $php_cv_cc_rpath = "yes"; then
-+ ld_runpath_switch=-Wl,-rpath,
- else
-- AC_MSG_CHECKING([if compiler supports -Wl,-rpath,])
-- AC_CACHE_VAL(php_cv_cc_rpath,[
-+ AC_MSG_CHECKING([if compiler supports -R])
-+ AC_CACHE_VAL(php_cv_cc_dashr,[
- SAVE_LIBS=$LIBS
-- LIBS="-Wl,-rpath,/usr/$PHP_LIBDIR $LIBS"
-- AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],[php_cv_cc_rpath=yes],[php_cv_cc_rpath=no])
-+ LIBS="-R /usr/$PHP_LIBDIR $LIBS"
-+ AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],[php_cv_cc_dashr=yes],[php_cv_cc_dashr=no])
- LIBS=$SAVE_LIBS])
-- AC_MSG_RESULT([$php_cv_cc_rpath])
-- if test $php_cv_cc_rpath = "yes"; then
-- ld_runpath_switch=-Wl,-rpath,
-+ AC_MSG_RESULT([$php_cv_cc_dashr])
-+ if test $php_cv_cc_dashr = "yes"; then
-+ ld_runpath_switch=-R
- else
- dnl Something innocuous.
- ld_runpath_switch=-L