[lierolibre] 08/10: Apply reproducible-build.patch and make the build reproducible.

Markus Koschany apo at moszumanska.debian.org
Wed Nov 22 23:00:03 UTC 2017


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository lierolibre.

commit dee0f73708f1da5db7142d52165121b1246e1d14
Author: Markus Koschany <apo at debian.org>
Date:   Wed Nov 22 23:36:53 2017 +0100

    Apply reproducible-build.patch and make the build reproducible.
    
    Thanks: Reiner Herrmann for the report and patch.
    Closes: #806452
---
 debian/patches/reproducible-build.patch | 22 ++++++++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch
new file mode 100644
index 0000000..add860d
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,22 @@
+From: Reiner Herrmann <reiner at reiner-h.de>
+Date: Wed, 22 Nov 2017 23:36:05 +0100
+Subject: reproducible build
+
+Bug-Debian: https://bugs.debian.org/806452
+---
+ scripts/lierolibre-packsounds | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/scripts/lierolibre-packsounds b/scripts/lierolibre-packsounds
+index 4f85818..af1fd7d 100755
+--- a/scripts/lierolibre-packsounds
++++ b/scripts/lierolibre-packsounds
+@@ -61,7 +61,7 @@ hash sox 2>&- || { echo >&2 "This script requires the "'"SoX"'" audio manipulato
+ inputdir="$1"
+ outputfile="$2"
+ names="SHOTGUN SHOT RIFLE BAZOOKA BLASTER THROW LARPA EXP3A EXP3B EXP2 EXP3 EXP4 EXP5 DIRT BUMP DEATH1 DEATH2 DEATH3 HURT1 HURT2 HURT3 ALIVE BEGIN DROPSHEL RELOADED MOVEUP MOVEDOWN SELECT BOING BURNER"
+-LANG=C # relying on english output from dd
++LC_ALL=C # relying on english output from dd
+ 
+ for i in $names; do
+ 	if [ ! -r "$inputdir"/"$i".wav ]; then
diff --git a/debian/patches/series b/debian/patches/series
index 1d0869c..986eb75 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ adapt-to-new-libconfig.patch
 0001-Use-unaligned-access-define-over-checking-arch.patch
 0002-At-least-try-building-for-other-archs-than-x86.patch
 0003-Remove-unknown-arch-warning.patch
+reproducible-build.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/lierolibre.git



More information about the Pkg-games-commits mailing list