[berkeley-abc] 01/01: Apply reproducibility patch

Ruben Undheim rubund-guest at moszumanska.debian.org
Tue Mar 31 14:16:18 UTC 2015


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

rubund-guest pushed a commit to branch master
in repository berkeley-abc.

commit bab90a85cf32e7e4c797631738cc6311b0107412
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Tue Mar 31 16:12:43 2015 +0200

    Apply reproducibility patch
---
 debian/changelog                     |  6 ++++--
 debian/patches/reproducibility.patch | 29 +++++++++++++++++++++++++++++
 debian/patches/series                |  1 +
 3 files changed, 34 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e2399bb..01da386 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,11 @@
 berkeley-abc (1.01+20141105hg5b5af75+dfsg-2) unstable; urgency=medium
 
   * Patch for memory alignment issue - already applied upstream
-    - 04_memory_alignment_fix.patch
+    - debian/patches/04_memory_alignment_fix.patch
+  * Patch for reproducibility (Closes: #780449)
+    - debian/patches/reproducibility.patch
 
- -- Ruben Undheim <ruben.undheim at gmail.com>  Tue, 10 Feb 2015 23:29:51 +0100
+ -- Ruben Undheim <ruben.undheim at gmail.com>  Tue, 31 Mar 2015 16:12:51 +0200
 
 berkeley-abc (1.01+20141105hg5b5af75+dfsg-1) unstable; urgency=medium
 
diff --git a/debian/patches/reproducibility.patch b/debian/patches/reproducibility.patch
new file mode 100644
index 0000000..3041f1d
--- /dev/null
+++ b/debian/patches/reproducibility.patch
@@ -0,0 +1,29 @@
+Description: Remove the __TIME__ etc macros
+ Otherwise the debian package checking complains...
+Author: Johann Klammer <klammerj at a1.net>
+Index: berkeley-abc/src/base/cmd/cmdUtils.c
+===================================================================
+--- berkeley-abc.orig/src/base/cmd/cmdUtils.c	2015-03-31 16:07:23.502493594 +0200
++++ berkeley-abc/src/base/cmd/cmdUtils.c	2015-03-31 16:07:23.494493594 +0200
+@@ -589,7 +589,7 @@
+     nColumns = 79 / (LenghtMax + 2);
+ 
+     // print the starting message 
+-    fprintf( pAbc->Out, "      Welcome to ABC compiled on %s %s!", __DATE__, __TIME__ );
++    fprintf( pAbc->Out, "      Welcome to ABC!");
+ 
+     // print the command by group
+     sGroupCur = NULL;
+Index: berkeley-abc/src/base/main/mainUtils.c
+===================================================================
+--- berkeley-abc.orig/src/base/main/mainUtils.c	2015-03-31 16:07:23.502493594 +0200
++++ berkeley-abc/src/base/main/mainUtils.c	2015-03-31 16:07:23.498493594 +0200
+@@ -52,7 +52,7 @@
+ char * Abc_UtilsGetVersion( Abc_Frame_t * pAbc )
+ {
+     static char Version[1000];
+-    sprintf(Version, "%s (compiled %s %s)", ABC_VERSION, __DATE__, __TIME__);
++    sprintf(Version, "%s", ABC_VERSION);
+     return Version;
+ }
+ 
diff --git a/debian/patches/series b/debian/patches/series
index bbd701c..e23a0cd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ remove_bzlib_convenience.patch
 remove_zlib_convenience.patch
 cflags_ldflags.patch
 04_memory_alignment_fix.patch
+reproducibility.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/berkeley-abc.git



More information about the debian-science-commits mailing list