www/phalcon: update to 5.9.0.

PR:		285333
Reported by:	maintainer
This commit is contained in:
Vanilla I. Shu 2025-03-17 11:44:43 +08:00
parent 098be7f711
commit 87a21eb478
3 changed files with 5 additions and 21 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= phalcon PORTNAME= phalcon
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
DISTVERSION= 5.8.0 DISTVERSION= 5.9.0
CATEGORIES= www CATEGORIES= www
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
@ -10,11 +10,10 @@ WWW= https://phalcon.io/
LICENSE= BSD3CLAUSE LICENSE= BSD3CLAUSE
USES= localbase php:build,ext USES= localbase php:ext
USE_GITHUB= yes USE_GITHUB= yes
GH_PROJECT= c${PORTNAME} GH_PROJECT= c${PORTNAME}
USE_PHP= mbstring pdo:build session:build USE_PHP= mbstring pdo:build session:build
IGNORE_WITH_PHP= 84
CONFIGURE_ARGS= --enable-phalcon CONFIGURE_ARGS= --enable-phalcon

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1720704714 TIMESTAMP = 1741620954
SHA256 (phalcon-cphalcon-v5.8.0_GH0.tar.gz) = c49cfc301209f4719de9d02979add21b906248b5a5b50376dbb831e711d6ec48 SHA256 (phalcon-cphalcon-v5.9.0_GH0.tar.gz) = 1d91a9d0ea53adf08e3b3f5c599dda7386ee5ae22580b8204fb6b9c21cb5d9a8
SIZE (phalcon-cphalcon-v5.8.0_GH0.tar.gz) = 6151691 SIZE (phalcon-cphalcon-v5.9.0_GH0.tar.gz) = 6161038

View file

@ -1,15 +0,0 @@
--- phalcon.zep.c.orig 2024-08-03 14:25:29 UTC
+++ phalcon.zep.c
@@ -62,8 +62,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY O
#include <ext/standard/info.h>
#include <ext/standard/file.h>
#include <ext/standard/php_filestat.h>
+#if PHP_VERSION_ID <= 80300
#include <ext/standard/php_rand.h>
#include <ext/standard/php_lcg.h>
+#else
+#include <ext/random/php_random.h>
+#endif
#include <ext/standard/php_math.h>
#include <ext/standard/php_array.h>
#include <ext/standard/php_var.h>