summaryrefslogtreecommitdiff
path: root/www/php4/patches
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2004-12-12 11:03:33 +0000
committerjdolecek <jdolecek>2004-12-12 11:03:33 +0000
commit87f97429b7742cb132602f6261746675484203aa (patch)
treef0ff181e83479bf6ca6227c679c036404d7733d9 /www/php4/patches
parent01082d03ef8f07d8482c148207a3f915e2ba1e0b (diff)
downloadpkgsrc-87f97429b7742cb132602f6261746675484203aa.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 "$@"