Package: m4
Severity: normal
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

The .html documentation generated for the m4-doc package includes the
date in the comments, and the .info pages generated for the m4 package
also include the date of the build.

Attached is a patch which removes the date from the generated
documentation and info files.

Thanks for maintaining m4!

live well,
  vagrant
From d08756df93f65d0cdcdf21f110522268dbf2a5db Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Sat, 1 Feb 2020 03:40:52 -0800
Subject: [PATCH] Patch to remove date from makeinfo generated documentation,
 enabling reproducible builds regardless of build date.

---
 ...date-from-m4-texinfo-file-to-ensure-.patch | 26 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 27 insertions(+)
 create mode 100644 debian/patches/03-Patch-to-remove-date-from-m4-texinfo-file-to-ensure-.patch

diff --git a/debian/patches/03-Patch-to-remove-date-from-m4-texinfo-file-to-ensure-.patch b/debian/patches/03-Patch-to-remove-date-from-m4-texinfo-file-to-ensure-.patch
new file mode 100644
index 0000000..ecf6f8d
--- /dev/null
+++ b/debian/patches/03-Patch-to-remove-date-from-m4-texinfo-file-to-ensure-.patch
@@ -0,0 +1,26 @@
+From 8650983dc04ddc719897293bc174962e8537dff1 Mon Sep 17 00:00:00 2001
+From: Vagrant Cascadian <[email protected]>
+Date: Sat, 1 Feb 2020 03:14:26 -0800
+Subject: [PATCH] Patch to remove date from m4 texinfo file to ensure
+ reproducible builds regardless of when it is built.
+
+---
+ doc/m4.texi | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/m4.texi b/doc/m4.texi
+index aa95e9f..a1a2c88 100644
+--- a/doc/m4.texi
++++ b/doc/m4.texi
+@@ -37,7 +37,7 @@
+ 
+ @copying
+ 
+-This manual (@value{UPDATED}) is for GNU M4 (version
++This manual is for GNU M4 (version
+ @value{VERSION}), a package containing an implementation of the m4 macro
+ language.
+ 
+-- 
+2.20.1
+
diff --git a/debian/patches/series b/debian/patches/series
index fa320f5..903352e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01-fix-ftbfs-with-glibc-2.28.patch
 02-documentencoding.patch
+03-Patch-to-remove-date-from-m4-texinfo-file-to-ensure-.patch
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature

Reply via email to