media-tv/dvbtune: Fix-in-place missing implicit include from kernel
authorChris Reffett <creffett@gentoo.org>
Thu, 4 Jan 2018 16:06:14 +0000 (11:06 -0500)
committerChris Reffett <creffett@gentoo.org>
Thu, 4 Jan 2018 16:06:14 +0000 (11:06 -0500)
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
media-tv/dvbtune/files/dvbtune-0.5-stdint.patch [new file with mode: 0644]

index 6aeb9ff922ffff86c0b1c1048581309aa943280a..a626f6b543572ec24c194d5b2d201a8c0914f089 100644 (file)
@@ -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 (file)
index 0000000..b87ed7c
--- /dev/null
@@ -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>