[Debian-med-packaging] Bug#777971: librcsb-core-wrapper: ftbfs with GCC-5

Matthias Klose doko at debian.org
Fri Jul 10 12:05:17 UTC 2015


Control: tags -1 + patch pending

attaching patch, and uploading to delayed.
-------------- next part --------------
diff -Nru librcsb-core-wrapper-1.005/debian/changelog librcsb-core-wrapper-1.005/debian/changelog
--- librcsb-core-wrapper-1.005/debian/changelog	2015-02-14 18:08:44.000000000 +0100
+++ librcsb-core-wrapper-1.005/debian/changelog	2015-07-10 13:47:21.000000000 +0200
@@ -1,3 +1,9 @@
+librcsb-core-wrapper (1.005-3.1) unstable; urgency=medium
+
+  * Fix GCC version detection. Closes: #777971.
+
+ -- Matthias Klose <doko at debian.org>  Fri, 10 Jul 2015 13:46:42 +0200
+
 librcsb-core-wrapper (1.005-3) unstable; urgency=medium
 
   * Patch for Henry Spencer regular expressions (regex) library contains
diff -Nru librcsb-core-wrapper-1.005/debian/patches/gcc5.diff librcsb-core-wrapper-1.005/debian/patches/gcc5.diff
--- librcsb-core-wrapper-1.005/debian/patches/gcc5.diff	1970-01-01 01:00:00.000000000 +0100
+++ librcsb-core-wrapper-1.005/debian/patches/gcc5.diff	2015-07-10 13:52:00.000000000 +0200
@@ -0,0 +1,13 @@
+Index: b/etc/platform.sh
+===================================================================
+--- a/etc/platform.sh
++++ b/etc/platform.sh
+@@ -67,7 +67,7 @@ case `uname -s` in
+ #   Check if it is a Linux platform
+     Linux)
+ #     Check if it is GCC version 4.x
+-      gcc_ver=`gcc --version | grep -e " 4\."`
++      gcc_ver=`gcc --version | grep -e " [456789]\."`
+       if [[ -z $gcc_ver ]]
+       then
+ #       It is not GCC version 4.x. Check if it is GCC version 3.x
diff -Nru librcsb-core-wrapper-1.005/debian/patches/series librcsb-core-wrapper-1.005/debian/patches/series
--- librcsb-core-wrapper-1.005/debian/patches/series	2015-02-14 17:44:47.000000000 +0100
+++ librcsb-core-wrapper-1.005/debian/patches/series	2015-07-10 13:45:51.000000000 +0200
@@ -12,3 +12,4 @@
 exit-in-shlib
 make_test_target
 regcomp_cert_fix.patch
+gcc5.diff


More information about the Debian-med-packaging mailing list