mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 20:37:35 +00:00
Ports: Update php
port to version 8.1.1
This commit is contained in:
parent
3301b0b33d
commit
40737341a8
8 changed files with 31 additions and 39 deletions
|
@ -1,11 +0,0 @@
|
|||
--- php-8.0.6/build/config.sub 2021-05-04 19:26:18.000000000 +0200
|
||||
+++ php-8.0.6-patched/build/config.sub 2021-06-03 22:49:12.463974784 +0200
|
||||
@@ -1366,7 +1366,7 @@
|
||||
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
|
||||
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
||||
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
|
||||
- | nsk* | powerunix)
|
||||
+ | nsk* | powerunix | serenity*)
|
||||
# Remember, each alternative MUST END IN *, to match a version number.
|
||||
;;
|
||||
qnx*)
|
11
Ports/php/patches/configure-inet_aton.patch
Normal file
11
Ports/php/patches/configure-inet_aton.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- php-8.1.1/configure 2021-12-15 03:00:45.000000000 +0100
|
||||
+++ php-8.1.1-patched/configure 2022-01-07 23:44:20.361165350 +0100
|
||||
@@ -14229,7 +14229,7 @@
|
||||
then :
|
||||
found=yes
|
||||
else $as_nop
|
||||
- found=no
|
||||
+ found=yes
|
||||
fi
|
||||
|
||||
fi
|
|
@ -1,6 +1,6 @@
|
|||
--- php-8.0.6/configure 2021-06-04 20:36:10.053986191 +0200
|
||||
+++ php-8.0.6-patched/configure 2021-06-04 20:36:20.769935808 +0200
|
||||
@@ -91478,8 +91478,8 @@
|
||||
--- php-8.1.1/configure 2022-01-07 23:44:48.117187609 +0100
|
||||
+++ php-8.1.1-patched/configure 2022-01-07 23:47:02.228957328 +0100
|
||||
@@ -96803,8 +96803,8 @@
|
||||
CXXFLAGS="$CXXFLAGS $standard_libtool_flag \$(PROF_FLAGS)"
|
||||
|
||||
if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then
|
|
@ -1,11 +0,0 @@
|
|||
--- php-8.0.6/configure 2021-05-04 19:26:18.000000000 +0200
|
||||
+++ php-8.0.6-patched/configure 2021-06-03 23:48:41.087223727 +0200
|
||||
@@ -13587,7 +13587,7 @@
|
||||
if test "x$ac_cv_func___inet_aton" = xyes; then :
|
||||
found=yes
|
||||
else
|
||||
- found=no
|
||||
+ found=yes
|
||||
fi
|
||||
|
||||
fi
|
14
Ports/php/patches/fopen-getdtablesize.patch
Normal file
14
Ports/php/patches/fopen-getdtablesize.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- php-8.1.1/ext/standard/php_fopen_wrapper.c 2021-12-15 03:00:45.000000000 +0100
|
||||
+++ php-8.1.1-patched/ext/standard/php_fopen_wrapper.c 2022-01-07 23:45:58.357132436 +0100
|
||||
@@ -317,11 +317,7 @@
|
||||
return NULL;
|
||||
}
|
||||
|
||||
-#if HAVE_UNISTD_H
|
||||
- dtablesize = getdtablesize();
|
||||
-#else
|
||||
dtablesize = INT_MAX;
|
||||
-#endif
|
||||
|
||||
if (fildes_ori < 0 || fildes_ori >= dtablesize) {
|
||||
php_stream_wrapper_log_error(wrapper, options,
|
|
@ -1,11 +0,0 @@
|
|||
--- php-8.0.6/ext/standard/php_fopen_wrapper.c 2021-05-04 19:26:18.000000000 +0200
|
||||
+++ php-8.0.6-patched/ext/standard/php_fopen_wrapper.c 2021-06-04 01:04:07.104126109 +0200
|
||||
@@ -317,7 +317,7 @@
|
||||
return NULL;
|
||||
}
|
||||
|
||||
-#if HAVE_UNISTD_H
|
||||
+#if !HAVE_UNISTD_H
|
||||
dtablesize = getdtablesize();
|
||||
#else
|
||||
dtablesize = INT_MAX;
|
Loading…
Add table
Add a link
Reference in a new issue