diff options
| author | Remi Collet <remi@remirepo.net> | 2026-05-16 15:38:33 +0200 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-05-16 15:38:33 +0200 |
| commit | 8243434f684a373cac5226d684c6e168c8e3a45e (patch) | |
| tree | c0d546f41fd08e076e330a5cfa7d88f6e8f95fe1 /2.patch | |
open https://github.com/iliaal/fastchart/pull/1 fix test, ensure searching in the right place
open https://github.com/iliaal/fastchart/pull/2 Fix undefined $ext_builddir
open https://github.com/iliaal/fastchart/pull/3 fix tests, more font paths
Diffstat (limited to '2.patch')
| -rw-r--r-- | 2.patch | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -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 |
