diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-12-28 21:54:52 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-01-02 19:29:53 +0100 |
commit | 144e21f203cf88c1768488d08e201e9579db857e (patch) | |
tree | b8240274bb41fdbe401a5a8baa42c8f185a33f48 /package/python3/python3-003-sysconfigdata-install-location.patch | |
parent | 8fb574fdc88e6b83f7a51d215602c9dbf08a30a3 (diff) | |
download | buildroot-144e21f203cf88c1768488d08e201e9579db857e.tar.gz buildroot-144e21f203cf88c1768488d08e201e9579db857e.zip |
python3: bump to 3.4.2
This commit bumps python3 to Python 3.4.2. Two patches had to be
changed slightly to fix some minor conflicts.
PYTHON3_LIBTOOL_PATH = NO was added to prevent Buildroot from trying
to patch a version of libtool for which we don't have matching
patches, which isn't a problem since we're anyway not using the part
of the Python sources that uses libtool (it's the built-in copy of
libffi, and we use the external libffi).
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'package/python3/python3-003-sysconfigdata-install-location.patch')
-rw-r--r-- | package/python3/python3-003-sysconfigdata-install-location.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/package/python3/python3-003-sysconfigdata-install-location.patch b/package/python3/python3-003-sysconfigdata-install-location.patch index 1f230d4b86..dfcadf5af4 100644 --- a/package/python3/python3-003-sysconfigdata-install-location.patch +++ b/package/python3/python3-003-sysconfigdata-install-location.patch @@ -21,17 +21,17 @@ Index: b/Makefile.pre.in =================================================================== --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -543,6 +543,9 @@ - # sys.path fixup -- see Modules/getpath.c. - pybuilddir.txt: $(BUILDPYTHON) - $(RUNSHARED) $(PYTHON_FOR_BUILD) -S -m sysconfig --generate-posix-vars +@@ -558,6 +558,9 @@ + rm -f ./pybuilddir.txt ; \ + exit 1 ; \ + fi + echo `cat pybuilddir.txt`/sysconfigdata > pysysconfigdatadir.txt + mkdir -p `cat pysysconfigdatadir.txt` + cp `cat pybuilddir.txt`/_sysconfigdata.py `cat pysysconfigdatadir.txt` # Build the shared modules # Under GNU make, MAKEFLAGS are sorted and normalized; the 's' for -@@ -1181,7 +1184,7 @@ +@@ -1196,7 +1199,7 @@ else true; \ fi; \ done @@ -40,7 +40,7 @@ Index: b/Makefile.pre.in do \ if test -x $$i; then \ $(INSTALL_SCRIPT) $$i $(DESTDIR)$(LIBDEST); \ -@@ -1191,6 +1194,11 @@ +@@ -1206,6 +1209,11 @@ echo $(INSTALL_DATA) $$i $(LIBDEST); \ fi; \ done @@ -52,7 +52,7 @@ Index: b/Makefile.pre.in @for d in $(LIBSUBDIRS); \ do \ a=$(srcdir)/Lib/$$d; \ -@@ -1514,7 +1522,7 @@ +@@ -1529,7 +1537,7 @@ find build -name 'fficonfig.h' -exec rm -f {} ';' || true find build -name '*.py' -exec rm -f {} ';' || true find build -name '*.py[co]' -exec rm -f {} ';' || true @@ -65,7 +65,7 @@ Index: b/configure.ac =================================================================== --- a/configure.ac +++ b/configure.ac -@@ -67,7 +67,7 @@ +@@ -70,7 +70,7 @@ AC_MSG_ERROR([python$PACKAGE_VERSION interpreter not found]) fi AC_MSG_RESULT($interp) |