summaryrefslogtreecommitdiff
path: root/user/gambit-c/reproducibility.patch
blob: 1fa480e7814e364de3c97c64e2006664240a31a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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 ''))