summaryrefslogtreecommitdiffstats
path: root/103.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-30 16:42:46 +0200
committerRemi Collet <remi@remirepo.net>2020-03-30 16:42:46 +0200
commitfb719003943a81f5b8ffbda671f772aac717fcf0 (patch)
tree27f53bdd39cb17a69d236959344293288b888530 /103.patch
parent791eb72e0fc5ea987f89e8def58c5adb91342a9b (diff)
add patch for PEAR and PHP 7.4 from
https://github.com/pear/pear-core/pull/103
Diffstat (limited to '103.patch')
-rw-r--r--103.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/103.patch b/103.patch
new file mode 100644
index 0000000..c5e9666
--- /dev/null
+++ b/103.patch
@@ -0,0 +1,25 @@
+From 76e3fae5072624639045a15fbe88d22e198ad649 Mon Sep 17 00:00:00 2001
+From: Damon <damon.tu@outlook.com>
+Date: Fri, 29 Nov 2019 10:44:05 +0800
+Subject: [PATCH] Fix undefined constant name
+
+---
+ PEAR/Builder.php | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/PEAR/Builder.php b/PEAR/Builder.php
+index a7b464341..bfc2ca221 100644
+--- a/PEAR/Builder.php
++++ b/PEAR/Builder.php
+@@ -402,9 +402,9 @@ function build($descfile, $callback = null)
+ }
+ if (substr($option['name'], 0, 5) === 'with-' &&
+ ($response === 'yes' || $response === 'autodetect')) {
+- $configure_command .= " --{$option[name]}";
++ $configure_command .= " --{$option['name']}";
+ } else {
+- $configure_command .= " --{$option[name]}=".trim($response);
++ $configure_command .= " --{$option['name']}=".trim($response);
+ }
+ }
+ }