git: 20b76c543ecb - main - www/pecl-http: Unbreak for php84
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Aug 2024 17:58:55 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=20b76c543ecb72175ad68d9434dda3de6817c5e5 commit 20b76c543ecb72175ad68d9434dda3de6817c5e5 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-08-03 17:38:35 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-08-03 17:55:44 +0000 www/pecl-http: Unbreak for php84 --- www/pecl-http/Makefile | 1 - www/pecl-http/files/patch-src_php__http__message__body.c | 14 ++++++++++++++ www/pecl-http/files/patch-src_php__http__misc.c | 14 ++++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) 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 */