[dev-lang/php] add php 7.4 junk
This commit is contained in:
2
dev-lang/php/files/20php5-envd
Normal file
2
dev-lang/php/files/20php5-envd
Normal file
@@ -0,0 +1,2 @@
|
||||
MANPATH="/usr/lib/php5/man/"
|
||||
CONFIG_PROTECT_MASK="/etc/php/cli-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/fpm-php5/ext-active/ /etc/php/phpdbg-php5/ext-active/"
|
||||
53
dev-lang/php/files/bug81656-gcc-11.patch
Normal file
53
dev-lang/php/files/bug81656-gcc-11.patch
Normal file
@@ -0,0 +1,53 @@
|
||||
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
|
||||
13
dev-lang/php/files/php-fpm_at-simple.service
Normal file
13
dev-lang/php/files/php-fpm_at-simple.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=The PHP FastCGI Process Manager
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
PIDFile=/run/php-fpm/php-fpm-%I.pid
|
||||
ExecStart=/usr/libexec/php-fpm-launcher php%I -y /etc/php/fpm-php%I/php-fpm.conf --nodaemonize
|
||||
ExecReload=/bin/kill -USR2 $MAINPID
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
14
dev-lang/php/files/php-fpm_at.service
Normal file
14
dev-lang/php/files/php-fpm_at.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=The PHP FastCGI Process Manager
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
PIDFile=/run/php-fpm/php-fpm-%I.pid
|
||||
ExecStart=/usr/libexec/php-fpm-launcher php%I -y /etc/php/fpm-php%I/php-fpm.conf --nodaemonize
|
||||
ExecReload=/bin/kill -USR2 $MAINPID
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
14
dev-lang/php/files/php-iodbc-header-location.patch
Normal file
14
dev-lang/php/files/php-iodbc-header-location.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff -aurN a/ext/pdo_odbc/config.m4 b/ext/pdo_odbc/config.m4
|
||||
--- a/ext/pdo_odbc/config.m4 2019-11-26 15:13:39.000000000 -0500
|
||||
+++ b/ext/pdo_odbc/config.m4 2019-12-06 10:39:56.296658492 -0500
|
||||
@@ -85,6 +85,10 @@
|
||||
PDO_ODBC_LIBDIR="$pdo_odbc_def_libdir"
|
||||
fi
|
||||
|
||||
+ if test "$pdo_odbc_def_lib" = "iodbc" ; then
|
||||
+ PDO_ODBC_INCDIR="$PDO_ODBC_INCDIR/iodbc"
|
||||
+ fi
|
||||
+
|
||||
AC_MSG_RESULT([$pdo_odbc_flavour
|
||||
libs $PDO_ODBC_LIBDIR,
|
||||
headers $PDO_ODBC_INCDIR])
|
||||
Reference in New Issue
Block a user