Hello community,

here is the log from the commit of package ladspa-caps for openSUSE:Factory 
checked in at 2017-05-22 18:08:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ladspa-caps (Old)
 and      /work/SRC/openSUSE:Factory/.ladspa-caps.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ladspa-caps"

Mon May 22 18:08:27 2017 rev:3 rq:497139 version:0.4.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/ladspa-caps/ladspa-caps.changes  2014-03-04 
13:36:27.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ladspa-caps.new/ladspa-caps.changes     
2017-05-22 18:08:28.349652004 +0200
@@ -1,0 +2,5 @@
+Mon May 22 03:55:14 UTC 2017 - [email protected]
+
+- Add reproducible.patch to sort input files to make build more reproducible
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ladspa-caps.spec ++++++
--- /var/tmp/diff_new_pack.TWIQ90/_old  2017-05-22 18:08:29.157538127 +0200
+++ /var/tmp/diff_new_pack.TWIQ90/_new  2017-05-22 18:08:29.161537563 +0200
@@ -25,6 +25,8 @@
 Url:            http://quitte.de/dsp/
 Source:         http://quitte.de/dsp/caps_%{version}.tar.gz
 Patch1:         caps-fix-double-free.diff
+# PATCH-FIX-UPSTREAM bmwiedemann -- ToDo
+Patch2:         reproducible.patch
 BuildRequires:  gcc-c++
 Supplements:    ladspa
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -38,6 +40,7 @@
 %prep
 %setup -q -n caps-%{version}
 %patch1 -p1
+%patch2 -p1
 
 %build
 # This package failed when testing with -Wl,-as-needed being default.

++++++ reproducible.patch ++++++
Make build reproducible

when linking binaries with g++, order of input files
influences ordering of functions in the output

See https://reproducible-builds.org/ for why this matters.

Index: caps-0.4.4/Makefile
===================================================================
--- caps-0.4.4.orig/Makefile
+++ caps-0.4.4/Makefile
@@ -17,7 +17,7 @@ LDFLAGS = $(_LDFLAGS) $(CFLAGS)
 PLUG = caps
 VERSION = 0.4.4
 
-SOURCES = $(wildcard *.cc)
+SOURCES = $(sort $(wildcard *.cc))
 OBJECTS        = $(SOURCES:.cc=.o) 
 HEADERS = $(wildcard *.h) $(wildcard dsp/*.h) $(wildcard util/*.h) $(wildcard 
dsp/tonestack/*.h)
 

Reply via email to