diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2016-05-05 23:08:38 +0200 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2016-05-05 23:08:38 +0200 |
commit | cb5d3fde5df3516c8775e376d4a96da5a7321184 (patch) | |
tree | e3a9424129a1ed72fdfa55955102d04a9f4a5da0 /media-tv/v4l-dvb-saa716x | |
parent | profiles: update mask for net-misc/asterisk-spandsp_codec_g726 for last rites (diff) | |
download | gentoo-cb5d3fde5df3516c8775e376d4a96da5a7321184.tar.gz gentoo-cb5d3fde5df3516c8775e376d4a96da5a7321184.tar.bz2 gentoo-cb5d3fde5df3516c8775e376d4a96da5a7321184.zip |
compile fix >=linux-4.5.2; thx to H.Broeken M.Dummer on wrt bug 581450
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-tv/v4l-dvb-saa716x')
-rw-r--r-- | media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.5.2-fix-compile.patch | 13 | ||||
-rw-r--r-- | media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20141109-r2.ebuild | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.5.2-fix-compile.patch b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.5.2-fix-compile.patch new file mode 100644 index 000000000000..ac499acdccbc --- /dev/null +++ b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.5.2-fix-compile.patch @@ -0,0 +1,13 @@ +fix compile with kernel >= 4.5.2 +wrt bug 581450 +Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> 2016/05/05 +--- a/linux/drivers/media/common/saa716x/saa716x_pci.c.old 2016-04-27 20:59:51.000000000 +0200 ++++ b/linux/drivers/media/common/saa716x/saa716x_pci.c 2016-04-27 21:19:03.117822874 +0200 +@@ -1,6 +1,7 @@ + #include <asm/atomic.h> + #include <linux/spinlock_types.h> + #include <asm/io.h> ++#include <asm/processor.h> + #include <asm/pgtable.h> + #include <asm/page.h> + #include <linux/kmod.h> diff --git a/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20141109-r2.ebuild b/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20141109-r2.ebuild index 7904dece5f36..626fe2e1c43f 100644 --- a/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20141109-r2.ebuild +++ b/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20141109-r2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 inherit linux-info linux-mod @@ -39,6 +39,7 @@ src_prepare() { epatch "${FILESDIR}/v4l-dvb-saa716x-Makefilepatch-2.diff" kernel_is ge 3 19 0 && epatch "${FILESDIR}/v4l-dvb-saa716x-3.19-set_gpio.patch" kernel_is ge 4 2 0 && epatch "${FILESDIR}/v4l-dvb-saa716x-4.2-fix-compile.patch" + kernel_is ge 4 5 2 && epatch "${FILESDIR}/v4l-dvb-saa716x-4.5.2-fix-compile.patch" } src_compile() { |