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>2020-10-14 12:54:17 -0600
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-10-14 21:12:52 +0200
commit43ef89e6d477f56dc2de32af0a56cb21cd9b8227 (patch)
treef86a106915b0a084427d03c570aabcb5465e5a4e /package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch
parente6b61e6d591d16908bc433c70df3b7400c149d2d (diff)
downloadbuildroot-43ef89e6d477f56dc2de32af0a56cb21cd9b8227.tar.gz
buildroot-43ef89e6d477f56dc2de32af0a56cb21cd9b8227.tar.bz2
package/python3: rebase patches with incorrect offsets for python 3.9.0
This rebases the remaining patches for python 3.9.0 not included in f26ce577605e843ebf0f5583242ee9ff3cd08ac3. 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 0ac5116213..24f369f87f 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 f5ed27c9b9efb4756630e5799be14fefdc3b2702 Mon Sep 17 00:00:00 2001
+From 61af65485f1dade4aa08d0cf2b24082aeda24c51 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 2d7cdf063f..cba150075c 100644
+index 1a9bd1200f..3cf7d6746e 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 2d7cdf063f..cba150075c 100644
# building python standard extensions
self.library_dirs.append('.')
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
-index b51629eb94..011a437bcd 100644
+index 37feae5df7..e9c3a27856 100644
--- a/Lib/distutils/sysconfig.py
+++ b/Lib/distutils/sysconfig.py
-@@ -18,10 +18,17 @@ from .errors import DistutilsPlatformError
- from .util import get_platform, get_host_platform
+@@ -17,10 +17,17 @@ import sys
+ from .errors import DistutilsPlatformError
# These are needed in a couple of spots, so just compute them once.
-PREFIX = os.path.normpath(sys.prefix)
@@ -63,5 +63,5 @@ index b51629eb94..011a437bcd 100644
# Path to the base directory of the project. On Windows the binary may
# live in project/PCbuild/win32 or project/PCbuild/amd64.
--
-2.20.1
+2.25.1