[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[texinfo] 01/01: make makeinfo honor S_D_E (patch by Alexis Bienvenüe) (Closes: #826158)



This is an automated email from the git hooks/post-receive script.

preining pushed a commit to branch master
in repository texinfo.

commit c9c03c36394fa931968b544f9a12d336273b58b1
Author: Norbert Preining <preining@debian.org>
Date:   Fri Jun 3 20:49:46 2016 +0900

    make makeinfo honor S_D_E (patch by Alexis Bienvenüe) (Closes: #826158)
---
 debian/changelog                     |  6 ++++++
 debian/patches/reproducible-makeinfo | 17 +++++++++++++++++
 debian/patches/series                |  1 +
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 77620ed..5b725ab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+texinfo (6.1.0.dfsg.1-9) UNRELEASED; urgency=medium
+
+  * make makeinfo honor S_D_E (patch by Alexis Bienvenüe) (Closes: #826158)
+
+ -- Norbert Preining <preining@debian.org>  Fri, 03 Jun 2016 20:49:23 +0900
+
 texinfo (6.1.0.dfsg.1-8) unstable; urgency=medium
 
   * add missing dep on perlapi-* (Closes: #825116)
diff --git a/debian/patches/reproducible-makeinfo b/debian/patches/reproducible-makeinfo
new file mode 100644
index 0000000..720ad4a
--- /dev/null
+++ b/debian/patches/reproducible-makeinfo
@@ -0,0 +1,17 @@
+make makeinfo honor S_D_E
+patch by Alexis Bienvenüe (Closes: #826158)
+---
+ tp/Texinfo/Common.pm |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- texinfo.orig/tp/Texinfo/Common.pm
++++ texinfo/tp/Texinfo/Common.pm
+@@ -1218,7 +1218,7 @@
+     return {'text' => 'a sunny day'};
+   }
+   my($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst)
+-   = localtime(time);
++   = ($ENV{SOURCE_DATE_EPOCH} ? gmtime($ENV{SOURCE_DATE_EPOCH}) : localtime(time);
+   $year += ($year < 70) ? 2000 : 1900;
+   return $self->gdt('{month} {day}, {year}',
+           { 'month' => $self->gdt($MONTH_NAMES[$mon]),
diff --git a/debian/patches/series b/debian/patches/series
index d161062..a53a4f0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@ upstream-svn7032-info-match-nocase
 upstream-svn7041-fix-single-arg-macros
 fix-index
 upstream-fix-catcode
+reproducible-makeinfo

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/texinfo.git


Reply to: