| 1 | diff -purN Python-2.7.2.orig/Lib/cgi.py Python-2.7.2/Lib/cgi.py |
| 2 | --- Python-2.7.2.orig/Lib/cgi.py 2011-11-02 18:01:39.000000000 +0100 |
| 3 | +++ Python-2.7.2/Lib/cgi.py 2011-11-02 18:01:59.000000000 +0100 |
| 4 | @@ -1,4 +1,4 @@ |
| 5 | -#! /usr/local/bin/python |
| 6 | +#! /usr/bin/python |
| 7 | |
| 8 | # NOTE: the above "/usr/local/bin/python" is NOT a mistake. It is |
| 9 | # intentionally NOT "/usr/bin/env python". On many systems |
| 10 | diff -purN Python-2.7.2.orig/Modules/Setup.dist Python-2.7.2/Modules/Setup.dist |
| 11 | --- Python-2.7.2.orig/Modules/Setup.dist 2011-11-02 18:01:42.000000000 +0100 |
| 12 | +++ Python-2.7.2/Modules/Setup.dist 2011-11-02 18:04:51.000000000 +0100 |
| 13 | @@ -34,7 +34,8 @@ |
| 14 | # |
| 15 | # which defines a Make variable definition inserted into Makefile.in |
| 16 | # |
| 17 | -# Finally, if a line contains just the word "*shared*" (without the |
| 18 | +# Finally, if a line contains just the word "* |
| 19 | +# shared*" (without the |
| 20 | # quotes but with the stars), then the following modules will not be |
| 21 | # built statically. The build process works like this: |
| 22 | # |
| 23 | @@ -153,7 +154,7 @@ GLHACK=-Dclear=__GLclear |
| 24 | # modules are to be built as shared libraries (see above for more |
| 25 | # detail; also note that *static* reverses this effect): |
| 26 | |
| 27 | -#*shared* |
| 28 | +*shared* |
| 29 | |
| 30 | # GNU readline. Unlike previous Python incarnations, GNU readline is |
| 31 | # now incorporated in an optional module, configured in the Setup file |
| 32 | @@ -390,7 +391,7 @@ GLHACK=-Dclear=__GLclear |
| 33 | # |
| 34 | # First, look at Setup.config; configure may have set this for you. |
| 35 | |
| 36 | -#dbm dbmmodule.c # dbm(3) may require -lndbm or similar |
| 37 | +dbm dbmmodule.c -DHAVE_NDBM_H -lgdbm_compat -lgdbm # dbm(3) may require -lndbm or similar |
| 38 | |
| 39 | # Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm: |
| 40 | # |