summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-11-01 03:19:48 +0000
committerSam James <sam@gentoo.org>2020-11-01 03:19:48 +0000
commit147c971aa4733fcbe450ee768a08204603b191f2 (patch)
treee1d68a165fd3981e3ee1d7afac27dc8e90a72024 /media-tv/linuxtv-dvb-apps/files
parentmedia-gfx/cellwriter: fix build with gcc 10 (diff)
downloadgentoo-147c971aa4733fcbe450ee768a08204603b191f2.tar.gz
gentoo-147c971aa4733fcbe450ee768a08204603b191f2.tar.bz2
gentoo-147c971aa4733fcbe450ee768a08204603b191f2.zip
media-tv/linuxtv-dvb-apps: fix gcc 10 build
Thanks-to: Nico R <n-roeser@gmx.net> Closes: https://bugs.gentoo.org/723420 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-tv/linuxtv-dvb-apps/files')
-rw-r--r--media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20140321-gcc10.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20140321-gcc10.patch b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20140321-gcc10.patch
new file mode 100644
index 000000000000..d218183be147
--- /dev/null
+++ b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20140321-gcc10.patch
@@ -0,0 +1,11 @@
+https://723420.bugs.gentoo.org/attachment.cgi?id=639692
+--- a/util/alevt/vbi.c
++++ b/util/alevt/vbi.c
+@@ -35,7 +35,6 @@
+
+ static u8 *rawbuf; // one common buffer for raw vbi data
+ static int rawbuf_size; // its current size
+-u_int16_t sid;
+ static char *vbi_names[]
+ = { "/dev/vbi", "/dev/vbi0", "/dev/video0", "/dev/dvb/adapter0/demux0",
+ NULL }; // default device names if none was given at the command line