summaryrefslogtreecommitdiffstats
path: root/169.patch
diff options
context:
space:
mode:
Diffstat (limited to '169.patch')
-rw-r--r--169.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/169.patch b/169.patch
new file mode 100644
index 0000000..1c28ac4
--- /dev/null
+++ b/169.patch
@@ -0,0 +1,25 @@
+From ca70e73c90e121b4f448a5dc102092215a04467c Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Wed, 15 Apr 2026 11:11:15 +0200
+Subject: [PATCH] add message about PECL deprecated by PIE
+
+---
+ scripts/pearcmd.php | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/scripts/pearcmd.php b/scripts/pearcmd.php
+index 290435333..4203a638d 100644
+--- a/scripts/pearcmd.php
++++ b/scripts/pearcmd.php
+@@ -360,6 +360,11 @@ function usage($error = null, $helpsubject = null)
+ "Type \"$progname help <command>\" to get the help ".
+ "for the specified command.";
+ }
++ if (PEAR_RUNTYPE === 'pecl'&& in_array($helpsubject, array(null, 'install', 'upgrade'))) {
++ $put .=
++ "\nNotice: PECL is now deprecated. " .
++ "PHP Installer for Extensions (PIE) is the replacement for PECL.";
++ }
+ fputs($stdout, "$put\n");
+ fclose($stdout);
+