From cfc4a9c05ac8a53ecbe9f7b0bc79db15a3b796a7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 29 Mar 2017 12:11:33 +0200 Subject: add upstream patch for PHP 7.1.4RC1, fix FTBFS detected by Koschei --- 0aa5b47574a6c4e6a034bfdb41a91f4a0699fb9d.patch | 44 ++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 0aa5b47574a6c4e6a034bfdb41a91f4a0699fb9d.patch (limited to '0aa5b47574a6c4e6a034bfdb41a91f4a0699fb9d.patch') diff --git a/0aa5b47574a6c4e6a034bfdb41a91f4a0699fb9d.patch b/0aa5b47574a6c4e6a034bfdb41a91f4a0699fb9d.patch new file mode 100644 index 0000000..062543e --- /dev/null +++ b/0aa5b47574a6c4e6a034bfdb41a91f4a0699fb9d.patch @@ -0,0 +1,44 @@ +From 0aa5b47574a6c4e6a034bfdb41a91f4a0699fb9d Mon Sep 17 00:00:00 2001 +From: Nikita Popov +Date: Fri, 17 Mar 2017 18:20:25 +0100 +Subject: [PATCH] Fix ast_dump_with_linenos.phpt test + +--- + tests/ast_dump_with_linenos.phpt | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +diff --git a/tests/ast_dump_with_linenos.phpt b/tests/ast_dump_with_linenos.phpt +index 2b7c67a..abba57a 100644 +--- a/tests/ast_dump_with_linenos.phpt ++++ b/tests/ast_dump_with_linenos.phpt +@@ -1,7 +1,11 @@ + --TEST-- + ast_dump() with AST_DUMP_LINENOS + --SKIPIF-- +- ++= 70000 && PHP_VERSION_ID < 70018) print "skip buggy PHP version"; ++if (PHP_VERSION_ID >= 70100 && PHP_VERSION_ID < 70104) print "skip buggy PHP version"; ++?> + --FILE-- + + --EXPECT-- + AST_STMT_LIST @ 1 +@@ -37,7 +39,7 @@ AST_STMT_LIST @ 1 + expr: AST_NAME @ 6 + flags: NAME_NOT_FQ (1) + name: "var_dump" +- args: AST_ARG_LIST @ 8 ++ args: AST_ARG_LIST @ 7 + 0: AST_VAR @ 7 + name: "foo" + returnType: null -- cgit