diff options
author | Sam James <sam@gentoo.org> | 2020-11-01 03:19:48 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-11-01 03:19:48 +0000 |
commit | 147c971aa4733fcbe450ee768a08204603b191f2 (patch) | |
tree | e1d68a165fd3981e3ee1d7afac27dc8e90a72024 /media-tv | |
parent | media-gfx/cellwriter: fix build with gcc 10 (diff) | |
download | gentoo-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')
-rw-r--r-- | media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20140321-gcc10.patch | 11 | ||||
-rw-r--r-- | media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321-r1.ebuild | 3 |
2 files changed, 13 insertions, 1 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 diff --git a/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321-r1.ebuild b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321-r1.ebuild index e0dddee3f36c..821333cff38e 100644 --- a/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321-r1.ebuild +++ b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321-r1.ebuild @@ -38,6 +38,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.1.1.20100223-perl526.patch "${FILESDIR}"/${PN}-no-ca_set_pid.patch "${FILESDIR}"/${PN}-glibc-2.31.patch + "${FILESDIR}"/${PN}-1.1.1.20140321-gcc10.patch ) src_prepare() { @@ -89,5 +90,5 @@ src_install() { } pkg_postinst() { - elog "/usr/bin/scan has been installed as scan-dvb." + elog "${EPREFIX}/usr/bin/scan has been installed as scan-dvb." } |