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 @@ -1,15 +1,14 @@ PORTNAME= excimer DISTVERSION= 1.2.1 CATEGORIES= devel MAINTAINER= 000.fbsd@quip.cz COMMENT= Interrupting timer and a low-overhead sampling profiler WWW= https://pecl.php.net/package/excimer LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:pecl -IGNORE_WITH_PHP= 84 .include 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