summaryrefslogtreecommitdiff
path: root/debian/patches/deb-setup.diff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-12-01 17:44:24 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-12-01 17:44:24 +0300
commitc089c4500b0b78acf03ee5405ad250a84b0dfa66 (patch)
tree23870848d194569aff6e0e4e41bc7907960b1af1 /debian/patches/deb-setup.diff
parent377002e7300431b68f3548d9fd2c7f99cf883939 (diff)
downloadpython3.7-debian.tar.gz
Import python3.7 (3.7.5-2)debian/3.7.5-2debian
Diffstat (limited to 'debian/patches/deb-setup.diff')
-rw-r--r--debian/patches/deb-setup.diff8
1 files changed, 3 insertions, 5 deletions
diff --git a/debian/patches/deb-setup.diff b/debian/patches/deb-setup.diff
index 08ce316..748085d 100644
--- a/debian/patches/deb-setup.diff
+++ b/debian/patches/deb-setup.diff
@@ -1,10 +1,8 @@
# DP: Don't include /usr/local/include and /usr/local/lib as gcc search paths
-Index: b/setup.py
-===================================================================
--- a/setup.py
+++ b/setup.py
-@@ -262,8 +262,10 @@ class PyBuildExt(build_ext):
+@@ -337,8 +337,10 @@ class PyBuildExt(build_ext):
# unfortunately, distutils doesn't let us provide separate C and C++
# compilers
if compiler is not None:
@@ -17,8 +15,8 @@ Index: b/setup.py
self.compiler.set_executables(**args)
build_ext.build_extensions(self)
-@@ -487,12 +489,7 @@ class PyBuildExt(build_ext):
- return ['m']
+@@ -576,12 +578,7 @@ class PyBuildExt(build_ext):
+ os.unlink(tmpfile)
def detect_modules(self):
- # Ensure that /usr/local is always used, but the local build