0530-msys-mingw-prefer-unix-sep-if-MSYSTEM.patch
0535-msys-cygwin-semi-native-build-sysconfig.patch
Add a bug-fix from Arch Linux mingw-w64-python 2.7.6
for a memory stomp.
Fix python{3.3m}-config.sh to return correct values.
Tidy up the PKGBUILD files.
27 lines
1.0 KiB
Diff
27 lines
1.0 KiB
Diff
diff -urN a/Lib/plat-generic/regen b/Lib/plat-generic/regen
|
|
--- a/Lib/plat-generic/regen 2014-01-22 20:57:25.778874205 +0000
|
|
+++ b/Lib/plat-generic/regen 2014-01-22 20:57:26.218880984 +0000
|
|
@@ -1,3 +1,9 @@
|
|
#! /bin/sh
|
|
set -v
|
|
-eval $PYTHON_FOR_BUILD ../../Tools/scripts/h2py.py -i "'(u_long)'" /usr/include/netinet/in.h
|
|
+if [ -n "$1" ]; then
|
|
+ CCINSTALL=$($1 -print-search-dirs | head -1 | cut -d' ' -f2)
|
|
+ REGENHEADER=${CCINSTALL//\\//}include/stddef.h
|
|
+else
|
|
+ REGENHEADER=/usr/include/netinet/in.h
|
|
+fi
|
|
+eval $PYTHON_FOR_BUILD ../../Tools/scripts/h2py.py -i "'(u_long)'" $REGENHEADER
|
|
diff -urN a/Makefile.pre.in b/Makefile.pre.in
|
|
--- a/Makefile.pre.in 2014-01-22 20:57:25.762207300 +0000
|
|
+++ b/Makefile.pre.in 2014-01-22 20:57:26.218880984 +0000
|
|
@@ -1049,7 +1049,7 @@
|
|
else \
|
|
PYTHON_FOR_BUILD="$(PYTHON_FOR_BUILD)"; \
|
|
fi; \
|
|
- cd $(srcdir)/Lib/$(PLATDIR); $(RUNSHARED) ./regen
|
|
+ cd $(srcdir)/Lib/$(PLATDIR); $(RUNSHARED) ./regen "$(CC)"
|
|
|
|
python-config: $(srcdir)/Misc/python-config.in
|
|
# Substitution happens here, as the completely-expanded BINDIR
|