summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Reffett <creffett@gentoo.org>2018-01-04 11:06:14 -0500
committerChris Reffett <creffett@gentoo.org>2018-01-04 11:06:14 -0500
commit07dbc93e4e7f7f70711ebead2195a9315f99591a (patch)
treecee861ee3fb4ff95f872880fd1ea5cf9e98282b4 /media-tv/dvbtune
parentsci-visualization/gle: fix removing Qt4 gui (diff)
downloadgentoo-07dbc93e4e7f7f70711ebead2195a9315f99591a.tar.gz
gentoo-07dbc93e4e7f7f70711ebead2195a9315f99591a.tar.bz2
gentoo-07dbc93e4e7f7f70711ebead2195a9315f99591a.zip
media-tv/dvbtune: Fix-in-place missing implicit include from kernel
4.13. No bump since it's only a build failure. Closes: https://bugs.gentoo.org/578180 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-tv/dvbtune')
-rw-r--r--media-tv/dvbtune/dvbtune-0.5-r1.ebuild3
-rw-r--r--media-tv/dvbtune/files/dvbtune-0.5-stdint.patch10
2 files changed, 12 insertions, 1 deletions
diff --git a/media-tv/dvbtune/dvbtune-0.5-r1.ebuild b/media-tv/dvbtune/dvbtune-0.5-r1.ebuild
index 6aeb9ff922ff..a626f6b54357 100644
--- a/media-tv/dvbtune/dvbtune-0.5-r1.ebuild
+++ b/media-tv/dvbtune/dvbtune-0.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -20,6 +20,7 @@ DEPEND="${RDEPEND}
src_prepare() {
epatch "${FILESDIR}"/${PF}-gentoo.diff
+ epatch "${FILESDIR}"/${PN}-0.5-stdint.patch
}
src_compile() {
diff --git a/media-tv/dvbtune/files/dvbtune-0.5-stdint.patch b/media-tv/dvbtune/files/dvbtune-0.5-stdint.patch
new file mode 100644
index 000000000000..b87ed7cf6096
--- /dev/null
+++ b/media-tv/dvbtune/files/dvbtune-0.5-stdint.patch
@@ -0,0 +1,10 @@
+--- dvbtune-0.5/dvbtune.c 2017-12-03 12:24:12.222743908 +0100
++++ dvbtune-0.5/dvbtune.c 2017-12-03 12:24:37.951429997 +0100
+@@ -37,6 +37,7 @@
+ */
+
+ // Linux includes:
++#include <stdint.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>