CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
x11vnc: Initial import (verified compilation).
[attic/ports/opt-cross.git] / python / python-2.6.patch
1 diff -Nru Python-2.6.orig/Lib/cgi.py Python-2.6/Lib/cgi.py
2 --- Python-2.6.orig/Lib/cgi.py 2008-09-03 13:30:35.000000000 +0200
3 +++ Python-2.6/Lib/cgi.py 2008-09-03 13:32:35.000000000 +0200
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 -Nru Python-2.6.orig/Modules/Setup.dist Python-2.6/Modules/Setup.dist
11 --- Python-2.6.orig/Modules/Setup.dist 2008-09-03 13:30:34.000000000 +0200
12 +++ Python-2.6/Modules/Setup.dist 2008-09-03 13:32:35.000000000 +0200
13 @@ -152,7 +152,7 @@
14 # modules are to be built as shared libraries (see above for more
15 # detail; also note that *static* reverses this effect):
16
17 -#*shared*
18 +*shared*
19
20 # GNU readline. Unlike previous Python incarnations, GNU readline is
21 # now incorporated in an optional module, configured in the Setup file
22 @@ -385,7 +385,7 @@
23 #
24 # First, look at Setup.config; configure may have set this for you.
25
26 -#dbm dbmmodule.c # dbm(3) may require -lndbm or similar
27 +dbm dbmmodule.c -DHAVE_NDBM_H -lgdbm_compat -lgdbm # dbm(3) may require -lndbm or similar
28
29 # Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm:
30 #