[med-svn] [jellyfish] 02/06: Make sure reproducible patch will not break test suite

Andreas Tille tille at debian.org
Mon Aug 28 13:23:06 UTC 2017


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

tille pushed a commit to branch master
in repository jellyfish.

commit dc67ff0b4b4ba305ef801081fc81c1cce238d14b
Author: Andreas Tille <tille at debian.org>
Date:   Mon Aug 28 14:10:09 2017 +0200

    Make sure reproducible patch will not break test suite
---
 debian/patches/reproducible.patch | 2 +-
 debian/patches/series             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/patches/reproducible.patch b/debian/patches/reproducible.patch
index 122a8c1..58f6829 100644
--- a/debian/patches/reproducible.patch
+++ b/debian/patches/reproducible.patch
@@ -11,7 +11,7 @@ Description: Enable reproducible build by avoiding the current
  protected:
    std::string get_hostname() const {
 +    if(std::getenv("SOURCE_DATE_EPOCH"))
-+      return "";
++      return "hostname";
      struct utsname buf;
      if(uname(&buf) == -1)
        return "";
diff --git a/debian/patches/series b/debian/patches/series
index 1911757..952957c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,5 +4,5 @@ modern-g++
 spelling
 rename-python-module-to-dna_jellyfish.patch 
 gcc-7.patch
+reproducible.patch
 # portability.patch
-# reproducible.patch

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



More information about the debian-med-commit mailing list