summaryrefslogtreecommitdiffstats
path: root/2.patch
diff options
context:
space:
mode:
Diffstat (limited to '2.patch')
-rw-r--r--2.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/2.patch b/2.patch
new file mode 100644
index 0000000..63f4652
--- /dev/null
+++ b/2.patch
@@ -0,0 +1,35 @@
+From 19a83ee7a605ffd82816ff6c990d9e4ff5d1da5c Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Sat, 16 May 2026 14:42:49 +0200
+Subject: [PATCH] Fix undefined $ext_builddir
+
+---
+ config.m4 | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/config.m4 b/config.m4
+index 4e2be0a..b4985c2 100644
+--- a/config.m4
++++ b/config.m4
+@@ -193,6 +193,11 @@ if test "$PHP_FASTCHART" != "no"; then
+ FASTCHART_CFLAGS="$FASTCHART_CFLAGS -Werror -Wstrict-prototypes"
+ fi
+
++ PHP_NEW_EXTENSION(fastchart,
++ $WRAPPER_SOURCES,
++ $ext_shared,,
++ $FASTCHART_CFLAGS)
++
+ PHP_ADD_INCLUDE([$ext_srcdir])
+ dnl Vendor include paths. Uses $abs_srcdir (autoconf-standard, always
+ dnl populated before this macro fires) so VPATH / out-of-tree builds
+@@ -208,9 +213,4 @@ if test "$PHP_FASTCHART" != "no"; then
+ PHP_ADD_BUILD_DIR([$ext_builddir/vendor/qrcodegen])
+ PHP_ADD_BUILD_DIR([$ext_builddir/vendor/plutovg/source])
+ PHP_ADD_BUILD_DIR([$ext_builddir/vendor/plutosvg/source])
+-
+- PHP_NEW_EXTENSION(fastchart,
+- $WRAPPER_SOURCES,
+- $ext_shared,,
+- $FASTCHART_CFLAGS)
+ fi