From 7be14e8a2d638f53fc2f2084a9c61934a2a57993 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 1 Oct 2024 12:17:35 +0200 Subject: fix PHP 8.4 build using patch from https://github.com/laruence/yaf/pull/594 --- 0002-relax-test-expectations-for-8.4.patch | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 0002-relax-test-expectations-for-8.4.patch (limited to '0002-relax-test-expectations-for-8.4.patch') diff --git a/0002-relax-test-expectations-for-8.4.patch b/0002-relax-test-expectations-for-8.4.patch new file mode 100644 index 0000000..977d26d --- /dev/null +++ b/0002-relax-test-expectations-for-8.4.patch @@ -0,0 +1,34 @@ +From 5ddaa82f4c43eeac372b8c1ebe606ebff43829a8 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Tue, 1 Oct 2024 12:04:15 +0200 +Subject: [PATCH 2/2] relax test expectations for 8.4 + +--- + tests/038.phpt | 2 +- + tests/039.phpt | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tests/038.phpt b/tests/038.phpt +index 0a28166..603a75e 100755 +--- a/tests/038.phpt ++++ b/tests/038.phpt +@@ -34,4 +34,4 @@ require "build.inc"; + shutdown(); + ?> + --EXPECTF-- +-Parse error: syntax error, unexpected %s}%c in %sfoo.phtml on line %d +\ No newline at end of file ++Parse error: syntax error, unexpected %s in %sfoo.phtml on line %d +diff --git a/tests/039.phpt b/tests/039.phpt +index bac421d..2564aa9 100755 +--- a/tests/039.phpt ++++ b/tests/039.phpt +@@ -45,4 +45,4 @@ require "build.inc"; + shutdown(); + ?> + --EXPECTF-- +-syntax error, unexpected %s}%c ++syntax error, unexpected %s +-- +2.46.2 + -- cgit