summaryrefslogtreecommitdiffstats
path: root/abs/core/python2/mtime-workaround.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/python2/mtime-workaround.patch')
-rw-r--r--abs/core/python2/mtime-workaround.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/abs/core/python2/mtime-workaround.patch b/abs/core/python2/mtime-workaround.patch
new file mode 100644
index 0000000..4d3aaac
--- /dev/null
+++ b/abs/core/python2/mtime-workaround.patch
@@ -0,0 +1,10 @@
+--- Makefile.pre.in.orig 2020-03-21 08:40:27.031543502 +0800
++++ Makefile.pre.in 2020-03-21 08:47:27.277107917 +0800
+@@ -1137,6 +1137,7 @@
+ $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
+ $(DESTDIR)$(LIBDEST)/distutils/tests ; \
+ fi
++ find $(DESTDIR)$(LIBDEST) -exec touch -h -d @$(SOURCE_DATE_EPOCH) {} +
+ PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+ $(PYTHON_FOR_BUILD) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \
+ -d $(LIBDEST) -f \