Control: tags 853338 + patch

Dear maintainer,

This particular build failure has an easy fix available in Upstream's git 
repository, 
https://github.com/shumatech/BOSSA/commit/3ace00ee9a5a1372c321f4b97b941eb7c040ef80

I've prepared a minimal NMU and will be looking for a sponsor.

You might want to consider updating to a more recent release though, version 
1.8 has been released in May this year.

Kind regards,
   Andreas

-- 
PGP-encrypted mails preferred
PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624
diff -Nru bossa-1.3~20120408/debian/changelog bossa-1.3~20120408/debian/changelog
--- bossa-1.3~20120408/debian/changelog	2014-06-16 03:12:37.000000000 +0200
+++ bossa-1.3~20120408/debian/changelog	2017-09-30 12:42:31.000000000 +0200
@@ -1,3 +1,10 @@
+bossa (1.3~20120408-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Apply patch from upstream git to fix FTBFS with GCC7 (Closes: #853338)
+
+ -- Andreas Moog <andreas.m...@warperbbs.de>  Sat, 30 Sep 2017 12:42:31 +0200
+
 bossa (1.3~20120408-5) unstable; urgency=low
 
   [ Olly Betts ]
diff -Nru bossa-1.3~20120408/debian/patches/fix-FTBFS-GCC7.patch bossa-1.3~20120408/debian/patches/fix-FTBFS-GCC7.patch
--- bossa-1.3~20120408/debian/patches/fix-FTBFS-GCC7.patch	1970-01-01 01:00:00.000000000 +0100
+++ bossa-1.3~20120408/debian/patches/fix-FTBFS-GCC7.patch	2017-09-30 12:42:31.000000000 +0200
@@ -0,0 +1,27 @@
+Description: Compare the data, not the pointer.
+Author: Scott Shumate <sc...@esquilo.io>
+Bug: https://github.com/shumatech/BOSSA/issues/37
+Bug-Debian: https://bugs.debian.org/853338
+Origin: upstream, https://github.com/shumatech/BOSSA/commit/3ace00ee9a5a1372c321f4b97b941eb7c040ef80.patch
+Last-Update: 2017-09-30
+
+--- bossa-1.3~20120408.orig/src/Command.cpp
++++ bossa-1.3~20120408/src/Command.cpp
+@@ -707,7 +707,7 @@ CommandMwb::invoke(char* argv[], int arg
+             char* input = readline("? ");
+             if (!input)
+                 return;
+-            if (input == '\0' ||
++            if (*input == '\0' ||
+                 !argUint32(input, &value))
+             {
+                 free(input);
+@@ -810,7 +810,7 @@ CommandMww::invoke(char* argv[], int arg
+             char* input = readline("? ");
+             if (!input)
+                 return;
+-            if (input == '\0' ||
++            if (*input == '\0' ||
+                 !argUint32(input, &value))
+             {
+                 free(input);
diff -Nru bossa-1.3~20120408/debian/patches/series bossa-1.3~20120408/debian/patches/series
--- bossa-1.3~20120408/debian/patches/series	2014-06-16 02:51:34.000000000 +0200
+++ bossa-1.3~20120408/debian/patches/series	2017-09-30 12:42:31.000000000 +0200
@@ -7,3 +7,4 @@
 add-kfreebsd-platform-support.patch
 no_X11_link.patch
 wx3.0-compat.patch
+fix-FTBFS-GCC7.patch

Attachment: signature.asc
Description: PGP signature

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to