[hamradio-commits] [dump1090-mutability] 04/04: debian/patches/: patchset updated
Raphael Geissert
geissert at moszumanska.debian.org
Fri Oct 6 10:00:13 UTC 2017
This is an automated email from the git hooks/post-receive script.
geissert pushed a commit to branch debian-packaging
in repository dump1090-mutability.
commit e752ddbd787ef39762b56d0bf3bcd88bf9030430
Author: Matteo F. Vescovi <mfv at debian.org>
Date: Thu Aug 10 22:38:58 2017 +0200
debian/patches/: patchset updated
- 03-gcc7.patch added to fix FTBFS on gcc7 compilation
---
debian/patches/03-gcc7.patch | 26 ++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 27 insertions(+)
diff --git a/debian/patches/03-gcc7.patch b/debian/patches/03-gcc7.patch
new file mode 100644
index 0000000..bbb5ebe
--- /dev/null
+++ b/debian/patches/03-gcc7.patch
@@ -0,0 +1,26 @@
+Author: Matteo F. Vescovi <mfv at debian.org>
+Description: Fix FTBFS against gcc7
+Forwarded: not-needed
+
+diff --git a/interactive.c b/interactive.c
+index 9137790..f906923 100644
+--- a/interactive.c
++++ b/interactive.c
+@@ -118,7 +118,7 @@ void interactiveShowData(void) {
+ || (((flags & (MODEAC_MSG_MODES_HIT | MODEAC_MSG_MODEC_OLD )) == 0 ) && (msgs > 127) )
+ ) {
+ char strSquawk[5] = " ";
+- char strFl[7] = " ";
++ char strFl[12] = " ";
+ char strTt[5] = " ";
+ char strGs[5] = " ";
+
+@@ -140,7 +140,7 @@ void interactiveShowData(void) {
+
+ if (Modes.interactive_rtl1090) { // RTL1090 display mode
+ if (trackDataValid(&a->altitude_valid)) {
+- snprintf(strFl,6,"F%03d",((a->altitude+50)/100));
++ snprintf(strFl,11,"F%03d",((a->altitude+50)/100));
+ }
+ printf("%06x %-8s %-4s %-3s %-3s %4s %-6d %-2.0f\n",
+ a->addr, a->callsign, strFl, strGs, strTt, strSquawk, msgs, (now - a->seen)/1000.0);
diff --git a/debian/patches/series b/debian/patches/series
index 2547f02..2fc95e9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
01-jquery.patch
02-excanvas.patch
+03-gcc7.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090-mutability.git
More information about the pkg-hamradio-commits
mailing list