[mupen64plus-video-glide64mk2] 45/60: Don't include the build date in the binary

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:16:16 UTC 2015


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

ecsv-guest pushed a commit to branch armhf_test
in repository mupen64plus-video-glide64mk2.

commit 10a12b9c0c406e613f8db882136c54247de00e9b
Author: Sven Eckelmann <sven at narfation.org>
Date:   Mon Feb 9 11:24:48 2015 +0100

    Don't include the build date in the binary
---
 debian/changelog                         |  2 ++
 debian/patches/reproducible_nodate.patch | 26 ++++++++++++++++++++++++++
 debian/patches/series                    |  1 +
 3 files changed, 29 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ce9835c..42bbe26 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ mupen64plus-video-glide64mk2 (2.0-4) UNRELEASED; urgency=medium
 
   * Upgraded to policy 3.9.6, no changes required
   * Update years in debian/copyright
+  * debian/patches:
+    - Add reproducible_nodate.patch, Don't include the build date in the binary
 
  -- Sven Eckelmann <sven at narfation.org>  Sat, 20 Sep 2014 11:04:52 +0200
 
diff --git a/debian/patches/reproducible_nodate.patch b/debian/patches/reproducible_nodate.patch
new file mode 100644
index 0000000..2365e61
--- /dev/null
+++ b/debian/patches/reproducible_nodate.patch
@@ -0,0 +1,26 @@
+Description: Don't include the build date in the binary
+ Embedding the date or time in a build breaks reproducible builds.
+Author: Sven Eckelmann <sven at narfation.org>
+
+---
+diff --git a/src/Glide64/Main.cpp b/src/Glide64/Main.cpp
+index 2fbdca40aaf8d392672da348814f776ad52dd04b..ba76b65d5818a8d539b9e1883acea771530b5034 100644
+--- a/src/Glide64/Main.cpp
++++ b/src/Glide64/Main.cpp
+@@ -69,7 +69,6 @@ int  ghq_dmptex_toggle_key = 0;
+ #endif
+ 
+ #define G64_VERSION "G64 Mk2"
+-#define RELTIME "Date: " __DATE__// " Time: " __TIME__
+ 
+ #ifdef EXT_LOGGING
+ std::ofstream extlog;
+@@ -1612,7 +1611,7 @@ void CALL GetDllInfo ( PLUGIN_INFO * PluginInfo )
+   VLOG ("GetDllInfo ()\n");
+   PluginInfo->Version = 0x0103;     // Set to 0x0103
+   PluginInfo->Type  = PLUGIN_TYPE_GFX;  // Set to PLUGIN_TYPE_GFX
+-  sprintf (PluginInfo->Name, "Glide64mk2 " G64_VERSION RELTIME);  // Name of the DLL
++  sprintf (PluginInfo->Name, "Glide64mk2 " G64_VERSION);  // Name of the DLL
+ 
+   // If DLL supports memory these memory options then set them to TRUE or FALSE
+   //  if it does not support it
diff --git a/debian/patches/series b/debian/patches/series
index 3dd96b7..6f41fb5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ path_max_war.patch
 shader_reset.patch
 empty_dlist.patch
 old_glgethandlearb_program_object.patch
+reproducible_nodate.patch

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



More information about the Pkg-games-commits mailing list