summaryrefslogtreecommitdiffstats
path: root/packaging/macosx/ports/lang/python26/files/patch-Lib-cgi.py.diff
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2014-08-21 13:44:13 +0000
committer~suv <suv-sf@users.sourceforge.net>2014-08-21 13:44:13 +0000
commit5e862dd1f6841b0714505b129a514a1a2cff926b (patch)
treeeab4d4c0e1b9acf853fff681448b5c0fe009bdef /packaging/macosx/ports/lang/python26/files/patch-Lib-cgi.py.diff
parentRemove unused directory in Resources (diff)
downloadinkscape-5e862dd1f6841b0714505b129a514a1a2cff926b.tar.gz
inkscape-5e862dd1f6841b0714505b129a514a1a2cff926b.zip
add custom ports for Inkscape.app (Python 2.6.1 to be used on Leopard and SL, UniConvertor 1.1.5)
(bzr r13506.1.39)
Diffstat (limited to 'packaging/macosx/ports/lang/python26/files/patch-Lib-cgi.py.diff')
-rw-r--r--packaging/macosx/ports/lang/python26/files/patch-Lib-cgi.py.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/packaging/macosx/ports/lang/python26/files/patch-Lib-cgi.py.diff b/packaging/macosx/ports/lang/python26/files/patch-Lib-cgi.py.diff
new file mode 100644
index 000000000..fb861bc82
--- /dev/null
+++ b/packaging/macosx/ports/lang/python26/files/patch-Lib-cgi.py.diff
@@ -0,0 +1,18 @@
+--- Lib/cgi.py.orig 2006-08-10 19:41:07.000000000 +0200
++++ Lib/cgi.py 2007-08-21 15:36:54.000000000 +0200
+@@ -1,13 +1,6 @@
+-#! /usr/local/bin/python
++#! @@PREFIX@@/bin/python2.6
+
+-# NOTE: the above "/usr/local/bin/python" is NOT a mistake. It is
+-# intentionally NOT "/usr/bin/env python". On many systems
+-# (e.g. Solaris), /usr/local/bin is not in $PATH as passed to CGI
+-# scripts, and /usr/local/bin is the default directory where Python is
+-# installed, so /usr/bin/env would be unable to find python. Granted,
+-# binary installations by Linux vendors often install Python in
+-# /usr/bin. So let those vendors patch cgi.py to match their choice
+-# of installation.
++# NOTE: /usr/local/bin/python patched for MacPorts installation
+
+ """Support module for CGI (Common Gateway Interface) scripts.
+