git: 7d7edcb1947a - main - devel/pecl-excimer: Unbreak for php84
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Aug 2024 14:41:27 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7d7edcb1947ad61c5866c874c0975574e90ebbd6
commit 7d7edcb1947ad61c5866c874c0975574e90ebbd6
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-08-03 14:39:53 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-08-03 14:41:09 +0000
devel/pecl-excimer: Unbreak for php84
Approved by: portmgr (blanket)
---
devel/pecl-excimer/Makefile | 1 -
devel/pecl-excimer/files/patch-excimer.c | 13 +++++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/devel/pecl-excimer/Makefile b/devel/pecl-excimer/Makefile
index 2b4ac6c49eab..8ea98fd92cd3 100644
--- a/devel/pecl-excimer/Makefile
+++ b/devel/pecl-excimer/Makefile
@@ -10,6 +10,5 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php:pecl
-IGNORE_WITH_PHP= 84
.include <bsd.port.mk>
diff --git a/devel/pecl-excimer/files/patch-excimer.c b/devel/pecl-excimer/files/patch-excimer.c
new file mode 100644
index 000000000000..0a558c47fdaa
--- /dev/null
+++ b/devel/pecl-excimer/files/patch-excimer.c
@@ -0,0 +1,13 @@
+--- excimer.c.orig 2024-08-03 14:37:54 UTC
++++ excimer.c
+@@ -23,7 +23,10 @@
+ #include "zend_exceptions.h"
+ #include "zend_interfaces.h"
+ #include "ext/spl/spl_exceptions.h"
++#if PHP_VERSION_ID <= 80300
+ #include "ext/standard/php_mt_rand.h"
++#include "ext/random/php_random.h"
++#endif
+ #include "ext/standard/info.h"
+
+ #if PHP_VERSION_ID < 70200