Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2024 17:22:23 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 407c0cc19b0d - main - devel/pecl-ast: Fix build with php84
Message-ID:  <202408041722.474HMNwE063926@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=407c0cc19b0d433d36c43f37202d7384524de650

commit 407c0cc19b0d433d36c43f37202d7384524de650
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 17:07:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 17:14:01 +0000

    devel/pecl-ast: Fix build with php84
    
    Reference:      https://pkg-status.freebsd.org/beefy22/data/140amd64-default/347ebda28a1f/logs/php84-pecl-ast-1.1.1.log
---
 devel/pecl-ast/files/patch-php84 | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/devel/pecl-ast/files/patch-php84 b/devel/pecl-ast/files/patch-php84
new file mode 100644
index 000000000000..ac7b520e4a28
--- /dev/null
+++ b/devel/pecl-ast/files/patch-php84
@@ -0,0 +1,11 @@
+--- ast.c.orig	2023-11-12 11:25:48 UTC
++++ ast.c
+@@ -89,7 +89,7 @@
+ # define ZEND_BIND_REF 1
+ #endif
+ 
+-#if PHP_VERSION_ID < 70400
++#if PHP_VERSION_ID < 70400 || PHP_VERSION_ID >= 80400
+ # define ZEND_DIM_ALTERNATIVE_SYNTAX (1<<1)
+ # define ZEND_PARENTHESIZED_CONDITIONAL 1
+ #endif


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408041722.474HMNwE063926>