summaryrefslogtreecommitdiff
path: root/user/gambit-c/reproducibility.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-12-01 11:09:15 -0600
committerZach van Rijn <me@zv.io>2022-12-01 22:31:02 +0000
commit3fe3b6f911534b724e98653d21b287e6f5503280 (patch)
treea0716275bbdc92b8eef75b8cbba35192a3274c8e /user/gambit-c/reproducibility.patch
parent7d36744638d6fdd845e3a548c49c64896b094d57 (diff)
downloadpackages-3fe3b6f911534b724e98653d21b287e6f5503280.tar.gz
packages-3fe3b6f911534b724e98653d21b287e6f5503280.tar.bz2
packages-3fe3b6f911534b724e98653d21b287e6f5503280.tar.xz
packages-3fe3b6f911534b724e98653d21b287e6f5503280.zip
user/gambit-c: new package.
Diffstat (limited to 'user/gambit-c/reproducibility.patch')
-rw-r--r--user/gambit-c/reproducibility.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/user/gambit-c/reproducibility.patch b/user/gambit-c/reproducibility.patch
new file mode 100644
index 000000000..1fa480e78
--- /dev/null
+++ b/user/gambit-c/reproducibility.patch
@@ -0,0 +1,52 @@
+https://salsa.debian.org/abdelq/gambc/-/blob/ca233c8bd3c8279e755e34287417aafe3c649629/debian/patches/reproducibility.patch
+
+Workaround for reproducibility issues
+--- a/doc/makefile.in
++++ b/doc/makefile.in
+@@ -70,7 +70,7 @@
+
+ MAKEINFO = makeinfo
+ TEXI2DVI = texi2dvi
+-TEXI2HTML = ./texi2html
++TEXI2HTML = PERL_HASH_SEED=0 ./texi2html
+ PDF2PS = pdf2ps
+
+ .SUFFIXES:
+--- a/doc/texi2html
++++ b/doc/texi2html
+@@ -2520,7 +2520,7 @@
+ print $fh <<EOT;
+ $DOCTYPE
+ <html>
+-$Texi2HTML::THISDOC{'copying_comment'}<!-- Created on $Texi2HTML::THISDOC{today} by $Texi2HTML::THISDOC{program}
++$Texi2HTML::THISDOC{'copying_comment'}<!-- Created by $Texi2HTML::THISDOC{program}
+ $Texi2HTML::THISDOC{program_authors}-->
+ <head>
+ <title>$longtitle</title>
+@@ -2543,7 +2543,7 @@
+ sub T2H_DEFAULT_program_string()
+ {
+ my $user = $Texi2HTML::THISDOC{'user'};
+- my $date = $Texi2HTML::THISDOC{'today'};
++ #my $date = $Texi2HTML::THISDOC{'today'};
+ $user = '' if (!defined($user));
+ $date = '' if (!defined($date));
+ if (($user ne '') and ($date ne ''))
+@@ -3137,7 +3137,7 @@
+ print $fh <<EOT;
+ $DOCTYPE
+ <html>
+-<!-- Created on $Texi2HTML::THISDOC{'today'} by $Texi2HTML::THISDOC{'program'} -->
++<!-- Created by $Texi2HTML::THISDOC{'program'} -->
+ <!--
+ $Texi2HTML::THISDOC{'program_authors'}
+ -->
+@@ -7403,7 +7403,7 @@
+ sub t2h_default_address($$)
+ {
+ my $user = shift;
+- my $date = shift;
++ #my $date = shift;
+ $user = '' if (!defined($user));
+ $date = '' if (!defined($date));
+ if (($user ne '') and ($date ne ''))