git: 1678d8941811 - main - archivers/php-brotli: Update version 0.19.0=>0.20.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 12 Jul 2026 17:25:13 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1678d8941811e083e2ab8b0e3507f95f9c175af8

commit 1678d8941811e083e2ab8b0e3507f95f9c175af8
Author:     Paavo-Einari Kaipila <pkaipila@gmail.com>
AuthorDate: 2026-07-04 20:17:04 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-07-12 17:24:46 +0000

    archivers/php-brotli: Update version 0.19.0=>0.20.0
    
    Changelog:
    https://github.com/kjdev/php-ext-brotli/releases/tag/0.20.0
    
    Commit log:
    https://github.com/kjdev/php-ext-brotli/compare/0.19.0...0.20.0
    
    remove config.m4 patch, which has been upstreamed
    undo 63b6120db0b8290c6b7d0b91d16c94bfe617ebfe
    
    PR:             296523
    Approved by:    submitter is maintainer
---
 archivers/php-brotli/Makefile              |  3 +--
 archivers/php-brotli/distinfo              |  6 ++---
 archivers/php-brotli/files/patch-config.m4 | 37 ------------------------------
 3 files changed, 4 insertions(+), 42 deletions(-)

diff --git a/archivers/php-brotli/Makefile b/archivers/php-brotli/Makefile
index 7fa6d19b57d2..d71a6527c0cd 100644
--- a/archivers/php-brotli/Makefile
+++ b/archivers/php-brotli/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	brotli
-DISTVERSION=	0.19.0
+DISTVERSION=	0.20.0
 CATEGORIES=	archivers
 PKGNAMEPREFIX=	${PHP_PKGNAMEPREFIX}
 
@@ -13,7 +13,6 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 LIB_DEPENDS=	libbrotlienc.so:archivers/brotli
 
 USES=		php:ext pkgconfig
-IGNORE_WITH_PHP=	86
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	kjdev
diff --git a/archivers/php-brotli/distinfo b/archivers/php-brotli/distinfo
index 374defaf4d3b..0074ead36d66 100644
--- a/archivers/php-brotli/distinfo
+++ b/archivers/php-brotli/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1780640043
-SHA256 (kjdev-php-ext-brotli-0.19.0_GH0.tar.gz) = d5a75c4a022459fc413c43d1116335bef9b580e2fc2ac4d12930b7c5462d05b6
-SIZE (kjdev-php-ext-brotli-0.19.0_GH0.tar.gz) = 35738
+TIMESTAMP = 1783195881
+SHA256 (kjdev-php-ext-brotli-0.20.0_GH0.tar.gz) = 2902a1bc3ec16bf95e2d0e9ae7dc2f8be088d0ea1526fca5c2c5c4d3f01a9582
+SIZE (kjdev-php-ext-brotli-0.20.0_GH0.tar.gz) = 36801
diff --git a/archivers/php-brotli/files/patch-config.m4 b/archivers/php-brotli/files/patch-config.m4
deleted file mode 100644
index 9af10a1bc07b..000000000000
--- a/archivers/php-brotli/files/patch-config.m4
+++ /dev/null
@@ -1,37 +0,0 @@
---- config.m4.orig	2026-06-05 04:27:29 UTC
-+++ config.m4
-@@ -24,6 +24,9 @@ PHP_ARG_WITH(libbrotli, whether to use system brotli l
- PHP_ARG_WITH(libbrotli, whether to use system brotli library,
- [  --with-libbrotli        Use libbrotli], no, no)
- 
-+PHP_ARG_ENABLE(apcu, whether to enable APCu support,
-+[  --enable-apcu           Enable APCu support], auto, no)
-+
- if test "$PHP_BROTLI" != "no"; then
- 
-   BROTLI_MIN_VERSION=0.6
-@@ -132,12 +135,17 @@ if test "$PHP_BROTLI" != "no"; then
-     PHP_ADD_BUILD_DIR($ext_builddir/brotli/c/enc)
-   fi
- 
--  AC_MSG_CHECKING([for APCu includes])
--  if test -f "$phpincludedir/ext/apcu/apc_serializer.h"; then
--    apc_inc_path="$phpincludedir"
--    AC_MSG_RESULT([APCu in $apc_inc_path])
--    AC_DEFINE(HAVE_APCU_SUPPORT, 1, [Whether to enable APCu support])
--  else
--    AC_MSG_RESULT([not found])
-+  if test "$PHP_APCU" != "no"; then
-+    AC_MSG_CHECKING([for APCu includes])
-+    if test -f "$phpincludedir/ext/apcu/apc_serializer.h"; then
-+      apc_inc_path="$phpincludedir"
-+      AC_MSG_RESULT([APCu in $apc_inc_path])
-+      AC_DEFINE(HAVE_APCU_SUPPORT, 1, [Whether to enable APCu support])
-+    else
-+      if test "$PHP_APCU" != "auto"; then
-+        AC_MSG_ERROR([apc_serializer.h header not found])
-+      fi
-+      AC_MSG_RESULT([not found])
-+    fi
-   fi
- fi