mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
www/pecl-http: Unbreak for php84
This commit is contained in:
parent
5c8fed7b1d
commit
20b76c543e
@ -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
|
||||
|
||||
|
14
www/pecl-http/files/patch-src_php__http__message__body.c
Normal file
14
www/pecl-http/files/patch-src_php__http__message__body.c
Normal file
@ -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 {\
|
14
www/pecl-http/files/patch-src_php__http__misc.c
Normal file
14
www/pecl-http/files/patch-src_php__http__misc.c
Normal file
@ -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 */
|
Loading…
Reference in New Issue
Block a user