[med-svn] [libzstd] 01/01: Add patch for reproducibility

Kevin Murray daube-guest at moszumanska.debian.org
Wed Feb 3 09:28:06 UTC 2016


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

daube-guest pushed a commit to branch master
in repository libzstd.

commit 48b3564e01b0e31874ff4adb6d15ac962050a63f
Author: Kevin Murray <spam at kdmurray.id.au>
Date:   Wed Feb 3 11:25:06 2016 +0200

    Add patch for reproducibility
    
    Removes hardcoded date
---
 debian/changelog                                    |  3 ++-
 ...-hard-coded-date-from-zstd-welcome-message.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 3 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 1a21d11..82e8aed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
 libzstd (0.4.7-1) unstable; urgency=low
 
   * New upstream version
+  * Remove build date encoding to enable reproducible build
 
- -- Kevin Murray <spam at kdmurray.id.au>  Tue, 02 Feb 2016 01:21:19 +0200
+ -- Kevin Murray <spam at kdmurray.id.au>  Wed, 03 Feb 2016 11:26:21 +0200
 
 libzstd (0.4.5-1) unstable; urgency=low
 
diff --git a/debian/patches/0006-Remove-hard-coded-date-from-zstd-welcome-message.patch b/debian/patches/0006-Remove-hard-coded-date-from-zstd-welcome-message.patch
new file mode 100644
index 0000000..a418a0c
--- /dev/null
+++ b/debian/patches/0006-Remove-hard-coded-date-from-zstd-welcome-message.patch
@@ -0,0 +1,21 @@
+From: Kevin Murray <spam at kdmurray.id.au>
+Date: Wed, 3 Feb 2016 11:24:22 +0200
+Subject: Remove hard-coded date from zstd welcome message
+
+---
+ programs/zstdcli.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/programs/zstdcli.c b/programs/zstdcli.c
+index 564686c..46f1072 100644
+--- a/programs/zstdcli.c
++++ b/programs/zstdcli.c
+@@ -78,7 +78,7 @@
+ #  define ZSTD_VERSION "v" EXPAND_AND_QUOTE(ZSTD_VERSION_MAJOR) "." EXPAND_AND_QUOTE(ZSTD_VERSION_MINOR) "." EXPAND_AND_QUOTE(ZSTD_VERSION_RELEASE)
+ #endif
+ #define AUTHOR "Yann Collet"
+-#define WELCOME_MESSAGE "*** %s %i-bits %s, by %s (%s) ***\n", COMPRESSOR_NAME, (int)(sizeof(void*)*8), ZSTD_VERSION, AUTHOR, __DATE__
++#define WELCOME_MESSAGE "*** %s %i-bits %s, by %s ***\n", COMPRESSOR_NAME, (int)(sizeof(void*)*8), ZSTD_VERSION, AUTHOR
+ #define ZSTD_EXTENSION ".zst"
+ #define ZSTD_CAT "zstdcat"
+ #define ZSTD_UNZSTD "unzstd"
diff --git a/debian/patches/series b/debian/patches/series
index 90eb33e..77b0f2a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 0003-Use-prefix-of-usr-not-usr-local.patch
 0004-Add-symlinks-for-extra-manpages.patch
 0005-Append-to-CPPFLAGS-don-t-overwrite.patch
+0006-Remove-hard-coded-date-from-zstd-welcome-message.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libzstd.git



More information about the debian-med-commit mailing list