[performous] 02/05: Add reproducible-build.patch

Markus Koschany apo-guest at moszumanska.debian.org
Sun Nov 8 20:42:26 UTC 2015


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

apo-guest pushed a commit to branch master
in repository performous.

commit 3cf3237153abbb5cf763ef91951b0c74db679fb7
Author: Markus Koschany <apo at debian.org>
Date:   Sun Nov 8 21:15:26 2015 +0100

    Add reproducible-build.patch
    
    and make the build reproducible by removing the __DATE__ macro.
---
 debian/patches/ffmpeg_2.9.patch         | 16 +++++++++++-----
 debian/patches/reproducible-build.patch | 20 ++++++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 32 insertions(+), 5 deletions(-)

diff --git a/debian/patches/ffmpeg_2.9.patch b/debian/patches/ffmpeg_2.9.patch
index 3a6d2d0..16fd618 100644
--- a/debian/patches/ffmpeg_2.9.patch
+++ b/debian/patches/ffmpeg_2.9.patch
@@ -1,9 +1,15 @@
-Description: Replace deprecated FFmpeg API
-Author: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
-Last-Update: <2015-11-02>
+From: Andreas Cadhalpun <andreas.cadhalpun at googlemail.com>
+Date: Sun, 8 Nov 2015 21:13:34 +0100
+Subject: ffmpeg_2.9
 
---- performous-1.0+git150721.orig/game/ffmpeg.cc
-+++ performous-1.0+git150721/game/ffmpeg.cc
+---
+ game/ffmpeg.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/game/ffmpeg.cc b/game/ffmpeg.cc
+index 45bb343..fc4ca44 100644
+--- a/game/ffmpeg.cc
++++ b/game/ffmpeg.cc
 @@ -116,7 +116,7 @@ void FFmpeg::open() {
  		height = cc->height;
  		m_swsContext = sws_getContext(
diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch
new file mode 100644
index 0000000..b5608da
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,20 @@
+From: Markus Koschany <apo at debian.org>
+Date: Sun, 8 Nov 2015 21:14:31 +0100
+Subject: reproducible build
+
+---
+ game/main.cc | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/game/main.cc b/game/main.cc
+index 93c015d..deb051f 100644
+--- a/game/main.cc
++++ b/game/main.cc
+@@ -404,7 +404,6 @@ int main(int argc, char** argv) try {
+ 
+ void outputOptionalFeatureStatus() {
+ 	std::clog << "core/notice: " PACKAGE " " VERSION " starting..."
+-	  << "\n  Build date:           " __DATE__
+ 	  << "\n  Internationalization: " << (Gettext::enabled() ? "Enabled" : "Disabled")
+ 	  << "\n  MIDI Hardware I/O:    " << (input::Hardware::midiEnabled() ? "Enabled" : "Disabled")
+ 	  << "\n  Webcam support:       " << (Webcam::enabled() ? "Enabled" : "Disabled")
diff --git a/debian/patches/series b/debian/patches/series
index a827249..951d8ce 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 ffmpeg_2.9.patch
+reproducible-build.patch

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



More information about the Pkg-games-commits mailing list