summaryrefslogtreecommitdiff
path: root/debian/patches/manmakefile.-patch-to-use-the-system-hel.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/manmakefile.-patch-to-use-the-system-hel.patch')
-rw-r--r--debian/patches/manmakefile.-patch-to-use-the-system-hel.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/debian/patches/manmakefile.-patch-to-use-the-system-hel.patch b/debian/patches/manmakefile.-patch-to-use-the-system-hel.patch
new file mode 100644
index 0000000..f755d56
--- /dev/null
+++ b/debian/patches/manmakefile.-patch-to-use-the-system-hel.patch
@@ -0,0 +1,44 @@
+From: Vagrant Cascadian <vagrant@reproducible-builds.org>
+Date: Tue, 29 Dec 2020 07:34:39 +0000
+X-Dgit-Generated: 1:4.14-6 caa3b2561bb2d5aece28e7e35d8f6095b8314bd9
+Subject: man/Makefile.*: Patch to use the system help2man. (Closes: #978609, #971819)
+
+The embedded copy of help2man embeds the build time.
+
+https://tests.reproducible-builds.org/debian/issues/bullseye/timestamps_in_manpages_generated_by_help2man_issue.html
+
+---
+
+--- a2ps-4.14.orig/man/Makefile.am
++++ a2ps-4.14/man/Makefile.am
+@@ -9,7 +9,7 @@ texi2dvi4a2ps.1: $(top_srcdir)/contrib/t
+ EXTRA_DIST = $(man_MANS) $(HELP2MAN) $(man_aux) \
+ Makefile.maint GNUmakefile common.x
+ PERL = @PERL@
+-HELP2MAN = help2man
++HELP2MAN = /usr/bin/help2man
+ MAINTAINERCLEANFILES = $(man_MANS)
+
+ # For additional rules usually of interest only to the maintainer,
+--- a2ps-4.14.orig/man/Makefile.in
++++ a2ps-4.14/man/Makefile.in
+@@ -260,7 +260,7 @@ irregular_men = a2ps.1 texi2dvi4a2ps.1
+ EXTRA_DIST = $(man_MANS) $(HELP2MAN) $(man_aux) \
+ Makefile.maint GNUmakefile common.x
+
+-HELP2MAN = help2man
++HELP2MAN = /usr/bin/help2man
+ MAINTAINERCLEANFILES = $(man_MANS)
+ all: all-am
+
+--- a2ps-4.14.orig/man/Makefile.maint
++++ a2ps-4.14/man/Makefile.maint
+@@ -1,7 +1,7 @@
+ # This -*- Makefile -*- uses features of GNU make.
+ # It is included via GNUmakefile.
+
+-HELP2MAN-run = $(PERL) -w -- $(srcdir)/$(HELP2MAN)
++HELP2MAN-run = /usr/bin/help2man
+
+ # Depend on configure.in to get version number changes.
+ $(man_MANS): $(top_srcdir)/configure.in common.x