1 |
commit: 07dbc93e4e7f7f70711ebead2195a9315f99591a |
2 |
Author: Chris Reffett <creffett <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 4 16:06:14 2018 +0000 |
4 |
Commit: Chris Reffett <creffett <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 4 16:06:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07dbc93e |
7 |
|
8 |
media-tv/dvbtune: Fix-in-place missing implicit include from kernel |
9 |
4.13. No bump since it's only a build failure. |
10 |
|
11 |
Closes: https://bugs.gentoo.org/578180 |
12 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
13 |
|
14 |
media-tv/dvbtune/dvbtune-0.5-r1.ebuild | 3 ++- |
15 |
media-tv/dvbtune/files/dvbtune-0.5-stdint.patch | 10 ++++++++++ |
16 |
2 files changed, 12 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/media-tv/dvbtune/dvbtune-0.5-r1.ebuild b/media-tv/dvbtune/dvbtune-0.5-r1.ebuild |
19 |
index 6aeb9ff922f..a626f6b5435 100644 |
20 |
--- a/media-tv/dvbtune/dvbtune-0.5-r1.ebuild |
21 |
+++ b/media-tv/dvbtune/dvbtune-0.5-r1.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2013 Gentoo Foundation |
24 |
+# Copyright 1999-2018 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=5 |
28 |
@@ -20,6 +20,7 @@ DEPEND="${RDEPEND} |
29 |
|
30 |
src_prepare() { |
31 |
epatch "${FILESDIR}"/${PF}-gentoo.diff |
32 |
+ epatch "${FILESDIR}"/${PN}-0.5-stdint.patch |
33 |
} |
34 |
|
35 |
src_compile() { |
36 |
|
37 |
diff --git a/media-tv/dvbtune/files/dvbtune-0.5-stdint.patch b/media-tv/dvbtune/files/dvbtune-0.5-stdint.patch |
38 |
new file mode 100644 |
39 |
index 00000000000..b87ed7cf609 |
40 |
--- /dev/null |
41 |
+++ b/media-tv/dvbtune/files/dvbtune-0.5-stdint.patch |
42 |
@@ -0,0 +1,10 @@ |
43 |
+--- dvbtune-0.5/dvbtune.c 2017-12-03 12:24:12.222743908 +0100 |
44 |
++++ dvbtune-0.5/dvbtune.c 2017-12-03 12:24:37.951429997 +0100 |
45 |
+@@ -37,6 +37,7 @@ |
46 |
+ */ |
47 |
+ |
48 |
+ // Linux includes: |
49 |
++#include <stdint.h> |
50 |
+ #include <stdio.h> |
51 |
+ #include <stdlib.h> |
52 |
+ #include <string.h> |