summaryrefslogtreecommitdiff
path: root/www/php4/patches
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-12-12 11:03:33 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-12-12 11:03:33 +0000
commit9b81fff133f04f94629b796b8100004939760e4f (patch)
treef0ff181e83479bf6ca6227c679c036404d7733d9 /www/php4/patches
parent1c217a3f540b77b6712ea23be7530f6e87815a1a (diff)
downloadpkgsrc-9b81fff133f04f94629b796b8100004939760e4f.tar.gz
completely ignore system php.ini for all pear-related operations; this
is necessary to avoid being subject to e.g. open_basedir or safe_mode settings
Diffstat (limited to 'www/php4/patches')
-rw-r--r--www/php4/patches/patch-al10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/php4/patches/patch-al b/www/php4/patches/patch-al
new file mode 100644
index 00000000000..cd7ca10e362
--- /dev/null
+++ b/www/php4/patches/patch-al
@@ -0,0 +1,10 @@
+$NetBSD: patch-al,v 1.1 2004/12/12 11:03:33 jdolecek Exp $
+
+--- pear/scripts/pear.sh.orig 2004-12-12 10:44:13.000000000 +0100
++++ pear/scripts/pear.sh 2004-12-12 10:44:21.000000000 +0100
+@@ -25,4 +25,4 @@
+ fi
+ fi
+
+-exec $PHP -C -q $INCARG -d output_buffering=1 $INCDIR/pearcmd.php "$@"
++exec $PHP -C -q $INCARG -d output_buffering=1 -n $INCDIR/pearcmd.php "$@"