Accepting request 450637 from devel:languages:misc

1

OBS-URL: https://build.opensuse.org/request/show/450637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/guile1?expand=0&rev=16
This commit is contained in:
2017-01-17 13:37:55 +00:00
committed by Git OBS Bridge
3 changed files with 21 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 16 16:27:26 UTC 2017 - bwiedemann@suse.com
- Add reproducible.patch to allow for reproducible builds
-------------------------------------------------------------------
Mon Oct 17 13:36:19 UTC 2016 - pgajdos@suse.com

View File

@@ -36,6 +36,8 @@ Patch7: guile-socket-test.patch
# fix failures with texinfo 5.2
Patch8: guile-texinfo.patch
Patch9: guile1-CVE-2016-8605.patch
# PATCH-FIX-OPENSUSE (version is obsolete upstream / from 2010)
Patch10: reproducible.patch
BuildRequires: automake
BuildRequires: gc-devel
BuildRequires: gmp-devel
@@ -159,6 +161,7 @@ contains the files necessary to link against the guile libraries.
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
# guile-1.8.1: The code is not so good for -Werror (unused results of write()).
sed -i s/-Werror// configure.in configure

13
reproducible.patch Normal file
View File

@@ -0,0 +1,13 @@
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