diff options
author | Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | 2020-10-26 18:04:25 +0100 |
---|---|---|
committer | Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | 2020-10-26 18:04:25 +0100 |
commit | 677ce39831c7170e242dca1a874f2420523e2b5e (patch) | |
tree | 651c38d51870827abbc0e6f236e3bb2e64e40a69 /gnu | |
parent | 5319f716cf575321bef4c501d7aebdc7220d69cf (diff) | |
download | guix-677ce39831c7170e242dca1a874f2420523e2b5e.tar guix-677ce39831c7170e242dca1a874f2420523e2b5e.tar.gz |
gnu: python: Add missing patch.
This is a follow-up to commit 5319f716cf575321bef4c501d7aebdc7220d69cf.
Reported by efraim via IRC.
* gnu/packages/patches/python-3-hurd-configure.patch: New file.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/patches/python-3-hurd-configure.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/patches/python-3-hurd-configure.patch b/gnu/packages/patches/python-3-hurd-configure.patch new file mode 100644 index 0000000000..aa25a401c5 --- /dev/null +++ b/gnu/packages/patches/python-3-hurd-configure.patch @@ -0,0 +1,27 @@ +Upstream status: Not upstreamed. + +The build system refuses to cross-compile for unknown targets +even though it works fine. Add GNU/Hurd target. + +--- Python-3.8.5/configure.orig 2020-10-26 14:06:09.665423525 +0100 ++++ Python-3.8.5/configure 2020-10-26 14:08:30.987765738 +0100 +@@ -3278,6 +3278,9 @@ + *-*-vxworks*) + ac_sys_system=VxWorks + ;; ++ *-*-gnu) ++ ac_sys_system=GNU ++ ;; + *) + # for now, limit cross builds to known configurations + MACHDEP="unknown" +@@ -3328,6 +3331,9 @@ + *-*-vxworks*) + _host_cpu=$host_cpu + ;; ++ *-*-gnu) ++ _host_cpu=$host_cpu ++ ;; + *) + # for now, limit cross builds to known configurations + MACHDEP="unknown" |