58785e1d3b
Add reproducible.patch to allow for reproducible builds OBS-URL: https://build.opensuse.org/request/show/450552 OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guile1?expand=0&rev=30
14 lines
619 B
Diff
14 lines
619 B
Diff
Index: guile-1.8.8/libguile/Makefile.am
|
|
===================================================================
|
|
--- guile-1.8.8.orig/libguile/Makefile.am
|
|
+++ guile-1.8.8/libguile/Makefile.am
|
|
@@ -265,7 +265,7 @@ libpath.h: $(srcdir)/Makefile.in $(top_
|
|
>> libpath.tmp
|
|
@echo ' { "LIBS", "@GUILE_LIBS@" }, \' >> libpath.tmp
|
|
@echo ' { "CFLAGS", "@GUILE_CFLAGS@" }, \' >> libpath.tmp
|
|
- @echo ' { "buildstamp", "'"`date`"'" }, \' >> libpath.tmp
|
|
+ @echo ' { "buildstamp", "'"`date -u -d \"@$${SOURCE_DATE_EPOCH:-$$(date +%s)}\" `"'" }, \' >> libpath.tmp
|
|
@echo '}' >> libpath.tmp
|
|
@mv libpath.tmp libpath.h
|
|
|