[springlobby] 05/07: Add reproducible-build.patch.
Markus Koschany
apo-guest at moszumanska.debian.org
Fri May 1 11:57:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository springlobby.
commit 3c1648fa033eb7933f1b2ddc4881bba8eb36f2f0
Author: Markus Koschany <apo at gambaru.de>
Date: Fri May 1 13:12:56 2015 +0200
Add reproducible-build.patch.
Remove __DATE__ and __TIME__ macros and make the build reproducible.
---
debian/patches/reproducible-build.patch | 58 +++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 59 insertions(+)
diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch
new file mode 100644
index 0000000..4c9cf68
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,58 @@
+From: Markus Koschany <apo at gambaru.de>
+Date: Fri, 1 May 2015 13:12:35 +0200
+Subject: reproducible build
+
+---
+ src/downloader/lib/src/Version.cpp | 2 +-
+ src/downloader/lib/src/Version.h | 2 +-
+ src/lsl/lib/cimg/CImg.h | 4 ++--
+ 3 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/downloader/lib/src/Version.cpp b/src/downloader/lib/src/Version.cpp
+index 5fe87fb..5ea995d 100644
+--- a/src/downloader/lib/src/Version.cpp
++++ b/src/downloader/lib/src/Version.cpp
+@@ -1,7 +1,7 @@
+ /* This file is part of pr-downloader (GPL v2 or later), see the LICENSE file */
+
+ #ifndef PR_DOWNLOADER_VERSION
+-#define QUOTEDVERSION "dev-" __DATE__
++#define QUOTEDVERSION "dev-"
+ #else
+
+ #define QUOTEME_(x) #x
+diff --git a/src/downloader/lib/src/Version.h b/src/downloader/lib/src/Version.h
+index cc80570..64a6a8d 100644
+--- a/src/downloader/lib/src/Version.h
++++ b/src/downloader/lib/src/Version.h
+@@ -8,7 +8,7 @@
+
+ #undef PR_DOWNLOADER_VERSION
+ #ifndef PR_DOWNLOADER_VERSION
+-#define QUOTEDVERSION "dev-" __DATE__
++#define QUOTEDVERSION "dev-"
+ #else
+
+ #define QUOTEME_(x) #x
+diff --git a/src/lsl/lib/cimg/CImg.h b/src/lsl/lib/cimg/CImg.h
+index d14482b..40b486a 100644
+--- a/src/lsl/lib/cimg/CImg.h
++++ b/src/lsl/lib/cimg/CImg.h
+@@ -5368,7 +5368,7 @@ namespace cimg_library_suffixed {
+ if (usage) {
+ std::fprintf(cimg::output(),"\n %s%s%s",cimg::t_red,cimg::basename(argv[0]),cimg::t_normal);
+ std::fprintf(cimg::output(),": %s",usage);
+- std::fprintf(cimg::output()," (%s, %s)\n\n",__DATE__,__TIME__);
++ std::fprintf(cimg::output()," (%s, %s)\n\n");
+ }
+ if (defaut) std::fprintf(cimg::output(),"%s\n",defaut);
+ }
+@@ -5461,7 +5461,7 @@ namespace cimg_library_suffixed {
+ char tmp[1024] = { 0 };
+ std::fprintf(cimg::output(),"\n %s%sCImg Library %u.%u.%u%s, compiled %s ( %s ) with the following flags:\n\n",
+ cimg::t_red,cimg::t_bold,cimg_version/100,(cimg_version/10)%10,cimg_version%10,
+- cimg::t_normal,__DATE__,__TIME__);
++ cimg::t_normal);
+
+ std::fprintf(cimg::output()," > Operating System: %s%-13s%s %s('cimg_OS'=%d)%s\n",
+ cimg::t_bold,
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..55077d0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+reproducible-build.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/springlobby.git
More information about the Pkg-games-commits
mailing list