summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>