mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 21:07:35 +00:00
Ports: Add PHP
This commit is contained in:
parent
e483de93ce
commit
280785f0fa
6 changed files with 67 additions and 0 deletions
11
Ports/php/patches/config.sub.patch
Normal file
11
Ports/php/patches/config.sub.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- 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.patch
Normal file
11
Ports/php/patches/configure.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- 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
|
11
Ports/php/patches/php_fopen_wrapper.c.patch
Normal file
11
Ports/php/patches/php_fopen_wrapper.c.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- 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;
|
10
Ports/php/patches/php_network.h.patch
Normal file
10
Ports/php/patches/php_network.h.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- php-8.0.6/main/php_network.h 2021-05-04 19:26:18.000000000 +0200
|
||||
+++ php-8.0.6-patched/main/php_network.h 2021-06-04 01:54:05.976580933 +0200
|
||||
@@ -63,6 +63,7 @@
|
||||
PHPAPI zend_string *php_socket_error_str(long err);
|
||||
END_EXTERN_C()
|
||||
|
||||
+#include <arpa/inet.h>
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
# include <netinet/in.h>
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue