mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-20 02:02:58 +01:00
Update gperf
This commit is contained in:
parent
59e5a4341a
commit
e4689a9467
7 changed files with 35 additions and 13 deletions
19
steps/gperf-3.3/patches/reproducible-docs.patch
Normal file
19
steps/gperf-3.3/patches/reproducible-docs.patch
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
SPDX-FileCopyrightText: 2026 Samuel Tyler <samuel@samuelt.me>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
Make output of the vendored texi2html reproducible.
|
||||
|
||||
--- gperf-3.3/doc/texi2html 2026-01-15 21:18:39.886947132 +1100
|
||||
+++ gperf-3.3/doc/texi2html 2026-01-15 21:22:28.937926499 +1100
|
||||
@@ -1842,7 +1842,9 @@
|
||||
|
||||
@MoY = ('January', 'February', 'March', 'April', 'May', 'June',
|
||||
'July', 'August', 'September', 'October', 'November', 'December');
|
||||
- ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time);
|
||||
+ ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = defined($ENV{SOURCE_DATE_EPOCH}) ?
|
||||
+ gmtime($ENV{SOURCE_DATE_EPOCH}) :
|
||||
+ localtime(time);
|
||||
$year += ($year < 70) ? 2000 : 1900;
|
||||
return("$mday $MoY[$mon] $year");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue