diff options
Diffstat (limited to 'debian/patches/setup-modules.diff')
-rw-r--r-- | debian/patches/setup-modules.diff | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/debian/patches/setup-modules.diff b/debian/patches/setup-modules.diff index 6f80339..9a71a94 100644 --- a/debian/patches/setup-modules.diff +++ b/debian/patches/setup-modules.diff @@ -1,17 +1,15 @@ -# DP: Modules/Setup.dist: patches to build some extensions statically - ---- a/Modules/Setup.dist -+++ b/Modules/Setup.dist -@@ -178,7 +178,7 @@ _symtable symtablemodule.c - #_weakref _weakref.c # basic weak reference support +--- a/Modules/Setup ++++ b/Modules/Setup +@@ -175,7 +175,7 @@ _symtable symtablemodule.c #_testcapi _testcapimodule.c # Python C API test module + #_testinternalcapi _testinternalcapi.c -I$(srcdir)/Include/internal -DPy_BUILD_CORE_MODULE # Python internal C API test module #_random _randommodule.c # Random number generator -#_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c # elementtree accelerator +#_elementtree _elementtree.c -lexpat # elementtree accelerator #_pickle _pickle.c # pickle accelerator #_datetime _datetimemodule.c # datetime accelerator #_bisect _bisectmodule.c # Bisection algorithms -@@ -208,10 +208,7 @@ _symtable symtablemodule.c +@@ -207,10 +207,7 @@ _symtable symtablemodule.c # Socket module helper for SSL support; you must comment out the other # socket line above, and possibly edit the SSL variable: @@ -23,7 +21,7 @@ # The crypt module is now disabled by default because it breaks builds # on many systems (where -lcrypt is needed), e.g. Linux (I believe). -@@ -244,6 +241,7 @@ _symtable symtablemodule.c +@@ -243,6 +240,7 @@ _symtable symtablemodule.c #_md5 md5module.c @@ -31,7 +29,7 @@ # The _sha module implements the SHA checksum algorithms. # (NIST's Secure Hash Algorithms.) -@@ -331,6 +329,7 @@ _symtable symtablemodule.c +@@ -330,6 +328,7 @@ _symtable symtablemodule.c # Fred Drake's interface to the Python parser #parser parsermodule.c @@ -39,12 +37,12 @@ # Andrew Kuchling's zlib module. # This require zlib 1.1.3 (or later). -@@ -340,7 +339,7 @@ _symtable symtablemodule.c +@@ -339,7 +338,7 @@ _symtable symtablemodule.c # Interface to the Expat XML parser # More information on Expat can be found at www.libexpat.org. # -#pyexpat expat/xmlparse.c expat/xmlrole.c expat/xmltok.c pyexpat.c -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DXML_POOR_ENTROPY -DUSE_PYEXPAT_CAPI -+#pyexpat pyexpat.c -lexpat ++pyexpat pyexpat.c -lexpat # Hye-Shik Chang's CJKCodecs |