ghostscript/reproducible.patch
Dirk Mueller ed0cd398de - Add reproducible.patch to not embed timestamp in .h file
- Add 2010_add_build_timestamp_setting.patch to allow overriding timestamp in generated pdf (boo#1236773)

OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=186
2025-02-05 10:42:48 +00:00

21 lines
770 B
Diff

Date: 2024-09-20
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Drop build date from generated .h file
so that openSUSE's ghostscript-debugsource package
does not vary between builds.
Index: ghostscript-10.03.1/base/pack_ps.c
===================================================================
--- ghostscript-10.03.1.orig/base/pack_ps.c
+++ ghostscript-10.03.1/base/pack_ps.c
@@ -344,7 +344,7 @@ main(int argc, char *argv[])
if (!buildtime) {
buildtime = time(NULL);
}
- fprintf(outfile,"/* Auto-generated from PostScript file \"%s\" at time %ld */\n", infilename, (long)buildtime);
+ fprintf(outfile,"/* Auto-generated from PostScript file \"%s\" */\n", infilename);
while (readline(infile, inputline, INPUT_LINE_LENGTH_MAX)) {