aboutsummaryrefslogtreecommitdiff
path: root/package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch
diff options
context:
space:
mode:
authorGravatar James Hilliard <james.hilliard1@gmail.com>2019-10-16 16:38:34 -0600
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-10-17 09:49:32 +0200
commitd77014a5a37275d4b95ae5396e73faea69621877 (patch)
tree5b4f73ce6e41e8d834c1790e8b4626130f1f1393 /package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch
parent7f3782ba6d2dccfb4851b01c157c36b078885d48 (diff)
downloadbuildroot-d77014a5a37275d4b95ae5396e73faea69621877.tar.gz
buildroot-d77014a5a37275d4b95ae5396e73faea69621877.tar.bz2
package/python3: bump to version 3.8.0
Rebased patches on 3.8.0 Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch')
-rw-r--r--package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch b/package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch
index b3a0e53289..0ac5116213 100644
--- a/package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch
+++ b/package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch
@@ -1,4 +1,4 @@
-From e359a7a3c4f9e70360a068bef19c95938fdacede Mon Sep 17 00:00:00 2001
+From f5ed27c9b9efb4756630e5799be14fefdc3b2702 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Wed, 23 Dec 2015 11:33:14 +0100
Subject: [PATCH] Adjust library/header paths for cross-compilation
@@ -21,7 +21,7 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
-index 74de782d8a..d0c847b365 100644
+index 2d7cdf063f..cba150075c 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -234,7 +234,10 @@ class build_ext(Command):
@@ -37,11 +37,11 @@ index 74de782d8a..d0c847b365 100644
# building python standard extensions
self.library_dirs.append('.')
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
-index 2bcd1dd288..422c13fa4f 100644
+index b51629eb94..011a437bcd 100644
--- a/Lib/distutils/sysconfig.py
+++ b/Lib/distutils/sysconfig.py
-@@ -17,10 +17,17 @@ import sys
- from .errors import DistutilsPlatformError
+@@ -18,10 +18,17 @@ from .errors import DistutilsPlatformError
+ from .util import get_platform, get_host_platform
# These are needed in a couple of spots, so just compute them once.
-PREFIX = os.path.normpath(sys.prefix)
@@ -63,5 +63,5 @@ index 2bcd1dd288..422c13fa4f 100644
# Path to the base directory of the project. On Windows the binary may
# live in project/PCbuild/win32 or project/PCbuild/amd64.
--
-2.13.5
+2.20.1