Hello community, here is the log from the commit of package povray for openSUSE:Factory checked in at 2017-05-27 13:16:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/povray (Old) and /work/SRC/openSUSE:Factory/.povray.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "povray" Sat May 27 13:16:25 2017 rev:4 rq:497134 version:3.7.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/povray/povray.changes 2017-02-07 12:05:59.324220329 +0100 +++ /work/SRC/openSUSE:Factory/.povray.new/povray.changes 2017-05-27 13:16:25.899904818 +0200 @@ -1,0 +2,5 @@ +Mon May 22 04:25:02 UTC 2017 - [email protected] + +- Add reproducible.patch to sort input files to make build reproducible + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ povray.spec ++++++ --- /var/tmp/diff_new_pack.45yN2A/_old 2017-05-27 13:16:27.623661119 +0200 +++ /var/tmp/diff_new_pack.45yN2A/_new 2017-05-27 13:16:27.627660554 +0200 @@ -30,6 +30,8 @@ Patch2: povray-3.6.9.7-fix.patch # make boost link Patch4: povray-3.6.9.7-boost-link.patch +# PATCH-FIX-UPSTREAM bmwiedemann +Patch5: reproducible.patch BuildRequires: autoconf BuildRequires: automake %if 0%{?suse_version} > 1325 @@ -66,6 +68,7 @@ %patch1 %patch2 %patch4 +%patch5 -p1 # remove inline copies of shared libraries rm -rf libraries ++++++ reproducible.patch ++++++ From: "Bernhard M. Wiedemann" <[email protected]> Date: Mon, 22 May 2017 04:37:39 +0000 Subject: [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: povray-3.7.0.0/unix/prebuild.sh =================================================================== --- povray-3.7.0.0.orig/unix/prebuild.sh +++ povray-3.7.0.0/unix/prebuild.sh @@ -772,7 +772,7 @@ case "$1" in ;; *) - files=`find $dir -name "*.cpp" -or -name "*.h" | sed s,"$dir/",,g` + files=`find $dir -name "*.cpp" -or -name "*.h" | sed s,"$dir/",,g | sort` echo "Create $makefile.am" cat Makefile.header > $makefile.am @@ -1309,7 +1309,7 @@ case "$1" in *) # includes the vfe/unix/ files to avoid circular dependencies when linking - files=`find $dir $dir/unix -maxdepth 1 -name \*.cpp -or -name \*.h | sed s,"$dir/",,g` + files=`find $dir $dir/unix -maxdepth 1 -name \*.cpp -or -name \*.h | sed s,"$dir/",,g | sort` echo "Create $makefile.am" cat Makefile.header > $makefile.am
