summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/python-3-deterministic-build-info.patch
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-02-23 19:54:46 +0100
committerMarius Bakke <mbakke@fastmail.com>2019-02-23 20:44:36 +0100
commit4e3a7d84613e4caeca903a205f21707cff5819f7 (patch)
tree2f3d41b44278fcc2277f8d3e5ce517f53b041a2b /gnu/packages/patches/python-3-deterministic-build-info.patch
parentdb91596a78cf463056b7304b4fc9e2b19ba042fb (diff)
gnu: Python: Consolidate test patches.
While at it, adjust patches for -p1 patch flag. * gnu/packages/patches/python-fix-tests.patch: Delete file. Move contents ... * gnu/packages/patches/python-3-fix-tests.patch: ... here. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/python.scm (python-3.7)[source](patches): Remove obsolete. [source](patch-flags): Remove. * gnu/packages/patches/python-3-deterministic-build-info.patch, gnu/packages/patches/python-3-search-paths.patch: Adjust for `patch -p1`.
Diffstat (limited to 'gnu/packages/patches/python-3-deterministic-build-info.patch')
-rw-r--r--gnu/packages/patches/python-3-deterministic-build-info.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/patches/python-3-deterministic-build-info.patch b/gnu/packages/patches/python-3-deterministic-build-info.patch
index 22c372a0cf..25a079fe90 100644
--- a/gnu/packages/patches/python-3-deterministic-build-info.patch
+++ b/gnu/packages/patches/python-3-deterministic-build-info.patch
@@ -2,8 +2,8 @@ Always provide the same date and time in 'Py_GetBuildInfo'.
This is the information shown at the REPL and in 'sys.version'.
We cannot pass it in CPPFLAGS due to whitespace in the DATE string.
---- Modules/getbuildinfo.c
-+++ Modules/getbuildinfo.c
+--- a/Modules/getbuildinfo.c
++++ b/Modules/getbuildinfo.c
@@ -4,6 +4,10 @@
#include <stdio.h>
#endif