[SCM] jackd2/master: Fix FTBFS with gcc 6
fsateler at users.alioth.debian.org
fsateler at users.alioth.debian.org
Mon Jul 25 03:25:22 UTC 2016
The following commit has been merged in the master branch:
commit 81acd11e589c3a2b525bc3dbc56c81c7c8e4a7bc
Author: Felipe Sateler <fsateler at debian.org>
Date: Sun Jul 24 23:17:36 2016 -0400
Fix FTBFS with gcc 6
diff --git a/debian/patches/gcc6-ftbfs.patch b/debian/patches/gcc6-ftbfs.patch
new file mode 100644
index 0000000..896ef03
--- /dev/null
+++ b/debian/patches/gcc6-ftbfs.patch
@@ -0,0 +1,13 @@
+--- a/tests/iodelay.cpp
++++ b/tests/iodelay.cpp
+@@ -167,8 +167,8 @@ static jack_client_t *jack_handle;
+ static jack_port_t *jack_capt;
+ static jack_port_t *jack_play;
+
+-jack_latency_range_t capture_latency = {-1, -1};
+-jack_latency_range_t playback_latency = {-1, -1};
++jack_latency_range_t capture_latency = {(jack_nframes_t)-1, (jack_nframes_t)-1};
++jack_latency_range_t playback_latency = {(jack_nframes_t)-1, (jack_nframes_t)-1};
+
+ void
+ latency_cb (jack_latency_callback_mode_t mode, void *arg)
diff --git a/debian/patches/series b/debian/patches/series
index 55077d0..4302b43 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
reproducible-build.patch
+gcc6-ftbfs.patch
--
jackd2 packaging
More information about the pkg-multimedia-commits
mailing list