Files
ports/devel/pecl-xdebug/files/patch-src_lib_usefulstuff.c
T
Muhammad Moinur Rahman 2a3fe68c47 devel/pecl-xdebug: Unbreak for php84
Approved by:	portmgr (blanket)
2024-08-03 16:13:56 +02:00

15 lines
328 B
C

--- src/lib/usefulstuff.c.orig 2024-08-03 13:55:22 UTC
+++ src/lib/usefulstuff.c
@@ -41,7 +41,11 @@
#include "usefulstuff.h"
#include "log.h"
+#if PHP_VERSION_ID <= 80300
#include "ext/standard/php_lcg.h"
+#else
+#include "ext/random/php_random.h"
+#endif
#include "ext/standard/flock_compat.h"
#include "main/php_ini.h"