diff --git a/www/pecl-http/Makefile b/www/pecl-http/Makefile index 65d982f7dbb0..e2dcd2ff4b6b 100644 --- a/www/pecl-http/Makefile +++ b/www/pecl-http/Makefile @@ -21,7 +21,6 @@ RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf2@${PH USES= php:build,pecl USE_PHP= iconv:build zlib:build -IGNORE_WITH_PHP= 84 CONFIGURE_SHELL= ${LOCALBASE}/bin/bash diff --git a/www/pecl-http/files/patch-src_php__http__message__body.c b/www/pecl-http/files/patch-src_php__http__message__body.c new file mode 100644 index 000000000000..ae84c6f2e52f --- /dev/null +++ b/www/pecl-http/files/patch-src_php__http__message__body.c @@ -0,0 +1,14 @@ +--- src/php_http_message_body.c.orig 2024-08-03 15:37:59 UTC ++++ src/php_http_message_body.c +@@ -12,7 +12,11 @@ + + #include "php_http_api.h" + ++#if PHP_VERSION_ID <= 80300 + #include "ext/standard/php_lcg.h" ++#else ++#include "ext/random/php_random.h" ++#endif + + #define BOUNDARY_OPEN(body) \ + do {\ diff --git a/www/pecl-http/files/patch-src_php__http__misc.c b/www/pecl-http/files/patch-src_php__http__misc.c new file mode 100644 index 000000000000..2686d6e30ba3 --- /dev/null +++ b/www/pecl-http/files/patch-src_php__http__misc.c @@ -0,0 +1,14 @@ +--- src/php_http_misc.c.orig 2024-08-03 15:35:31 UTC ++++ src/php_http_misc.c +@@ -12,7 +12,11 @@ + + #include "php_http_api.h" + ++#if PHP_VERSION_ID <= 80300 + #include "ext/standard/php_lcg.h" ++#else ++#include "ext/random/php_random.h" ++#endif + #include "zend_exceptions.h" + + /* SLEEP */