commit:     07dbc93e4e7f7f70711ebead2195a9315f99591a
Author:     Chris Reffett <creffett <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  4 16:06:14 2018 +0000
Commit:     Chris Reffett <creffett <AT> gentoo <DOT> org>
CommitDate: Thu Jan  4 16:06:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07dbc93e

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

 media-tv/dvbtune/dvbtune-0.5-r1.ebuild          |  3 ++-
 media-tv/dvbtune/files/dvbtune-0.5-stdint.patch | 10 ++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/media-tv/dvbtune/dvbtune-0.5-r1.ebuild 
b/media-tv/dvbtune/dvbtune-0.5-r1.ebuild
index 6aeb9ff922f..a626f6b5435 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 00000000000..b87ed7cf609
--- /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>

Reply via email to