From 424a50000a78fff715de4417dba9b4498aeeee4c Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Fri, 29 Sep 2017 13:40:02 +0300 Subject: Imported python3.5 3.5.4-4 --- debian/patches/reproducible-buildinfo.diff | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 debian/patches/reproducible-buildinfo.diff (limited to 'debian/patches/reproducible-buildinfo.diff') diff --git a/debian/patches/reproducible-buildinfo.diff b/debian/patches/reproducible-buildinfo.diff new file mode 100644 index 0000000..a0b20f9 --- /dev/null +++ b/debian/patches/reproducible-buildinfo.diff @@ -0,0 +1,15 @@ +# DP: Build getbuildinfo.o with DATE/TIME values when defined + +Index: b/Makefile.pre.in +=================================================================== +--- a/Makefile.pre.in ++++ b/Makefile.pre.in +@@ -731,6 +731,8 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \ + -DGITVERSION="\"`LC_ALL=C $(GITVERSION)`\"" \ + -DGITTAG="\"`LC_ALL=C $(GITTAG)`\"" \ + -DGITBRANCH="\"`LC_ALL=C $(GITBRANCH)`\"" \ ++ $(if $(BUILD_DATE),-DDATE='"$(BUILD_DATE)"') \ ++ $(if $(BUILD_TIME),-DTIME='"$(BUILD_TIME)"') \ + -o $@ $(srcdir)/Modules/getbuildinfo.c + + Modules/getpath.o: $(srcdir)/Modules/getpath.c Makefile -- cgit v1.2.3