diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2008-06-30 19:38:42 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2008-06-30 19:38:42 +0000 |
commit | 20e341ffb22e6efc7b83e30a12c1f1c2af473c18 (patch) | |
tree | 2e5ce409e0951ecefa1bf6a7f92439bb4707c936 /media-tv/ivtv | |
parent | stable amd64, bug 229843 (diff) | |
download | gentoo-2-20e341ffb22e6efc7b83e30a12c1f1c2af473c18.tar.gz gentoo-2-20e341ffb22e6efc7b83e30a12c1f1c2af473c18.tar.bz2 gentoo-2-20e341ffb22e6efc7b83e30a12c1f1c2af473c18.zip |
patch to fix videodev2.h include in v4l2-dbg
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r5 x86_64)
Diffstat (limited to 'media-tv/ivtv')
-rw-r--r-- | media-tv/ivtv/ChangeLog | 6 | ||||
-rw-r--r-- | media-tv/ivtv/files/ivtv-1.2.0-v4l2-dbg-include.patch | 11 | ||||
-rw-r--r-- | media-tv/ivtv/ivtv-1.2.0.ebuild | 9 |
3 files changed, 24 insertions, 2 deletions
diff --git a/media-tv/ivtv/ChangeLog b/media-tv/ivtv/ChangeLog index 4784b918f90a..87424f92f330 100644 --- a/media-tv/ivtv/ChangeLog +++ b/media-tv/ivtv/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-tv/ivtv # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ChangeLog,v 1.104 2008/06/27 16:40:21 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ChangeLog,v 1.105 2008/06/30 19:38:41 cardoe Exp $ + + 30 Jun 2008; Doug Goldstein <cardoe@gentoo.org> + +files/ivtv-1.2.0-v4l2-dbg-include.patch, ivtv-1.2.0.ebuild: + patch to fix videodev2.h include in v4l2-dbg *ivtv-1.2.0 (27 Jun 2008) *ivtv-1.1.0 (27 Jun 2008) diff --git a/media-tv/ivtv/files/ivtv-1.2.0-v4l2-dbg-include.patch b/media-tv/ivtv/files/ivtv-1.2.0-v4l2-dbg-include.patch new file mode 100644 index 000000000000..7e1685079f40 --- /dev/null +++ b/media-tv/ivtv/files/ivtv-1.2.0-v4l2-dbg-include.patch @@ -0,0 +1,11 @@ +--- ivtv/trunk/utils/v4l2-dbg.cpp 2007/07/25 21:05:17 3967 ++++ ivtv/trunk/utils/v4l2-dbg.cpp 2008/05/25 13:03:47 4126 +@@ -33,7 +33,7 @@ + #include <math.h> + #include <sys/klog.h> + +-#include "videodev2.h" ++#include <linux/videodev2.h> + + #include <list> + #include <vector> diff --git a/media-tv/ivtv/ivtv-1.2.0.ebuild b/media-tv/ivtv/ivtv-1.2.0.ebuild index fdcaf4283af8..15186f201073 100644 --- a/media-tv/ivtv/ivtv-1.2.0.ebuild +++ b/media-tv/ivtv/ivtv-1.2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ivtv-1.2.0.ebuild,v 1.1 2008/06/27 16:40:21 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ivtv-1.2.0.ebuild,v 1.2 2008/06/30 19:38:41 cardoe Exp $ inherit eutils linux-mod @@ -52,6 +52,13 @@ pkg_setup() { BUILD_PARAMS="KDIR=${KV_DIR}" } +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PN}-1.2.0-v4l2-dbg-include.patch +} + src_compile() { linux-mod_src_compile || die "failed to build driver" |