summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2003-12-31 17:20:46 +0000
committerTim Yamin <plasmaroo@gentoo.org>2003-12-31 17:20:46 +0000
commite93adcd140e37842b4cd6e2f10f9d68216fc70e8 (patch)
tree5b5a9b28920241532e311737685cd67cfcda683d /media-libs
parentback off of the games.eclass support (diff)
downloadgentoo-2-e93adcd140e37842b4cd6e2f10f9d68216fc70e8.tar.gz
gentoo-2-e93adcd140e37842b4cd6e2f10f9d68216fc70e8.tar.bz2
gentoo-2-e93adcd140e37842b4cd6e2f10f9d68216fc70e8.zip
Added a patch to get libdv to compile on 2.6 kernel headers.
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libdv/Manifest7
-rw-r--r--media-libs/libdv/files/libdv-0.99-2.6.patch17
-rw-r--r--media-libs/libdv/libdv-0.99-r1.ebuild3
3 files changed, 23 insertions, 4 deletions
diff --git a/media-libs/libdv/Manifest b/media-libs/libdv/Manifest
index 53fef8bb6aa2..4dd331d461da 100644
--- a/media-libs/libdv/Manifest
+++ b/media-libs/libdv/Manifest
@@ -1,9 +1,10 @@
MD5 7f076aeba7b45630e31a16b70e9a9f1f ChangeLog 3344
-MD5 55706adc4e35f4c4402d2b93bbe1379f libdv-0.9.5-r1.ebuild 805
MD5 566956e468611b9128eb25a187a11136 libdv-0.98.ebuild 1046
-MD5 06422d0f26c67c7d8d96b5a4a03bd74b libdv-0.99-r1.ebuild 1085
+MD5 fd1ddbaf8786f2acd4e4a0aafa102879 libdv-0.99-r1.ebuild 1125
MD5 2fdf7d119ea8a49fe28913e77b44dfc0 metadata.xml 333
+MD5 55706adc4e35f4c4402d2b93bbe1379f libdv-0.9.5-r1.ebuild 805
MD5 a880f41dce1a820076b48ca914ac5e8b files/digest-libdv-0.9.5-r1 63
-MD5 d79d611e171b21dfe5e1f5d1534576e5 files/digest-libdv-0.98 62
+MD5 592d600ce50f0a107ecd5b348d434f9f files/libdv-0.99-2.6.patch 439
MD5 3d3bbf2ecd039329fe6b73dc9ada38bf files/digest-libdv-0.99-r1 62
+MD5 d79d611e171b21dfe5e1f5d1534576e5 files/digest-libdv-0.98 62
MD5 db1c07312c8a5de3d64bc80c44b26d6e files/libdv-0.99-disablegtk.patch 3309
diff --git a/media-libs/libdv/files/libdv-0.99-2.6.patch b/media-libs/libdv/files/libdv-0.99-2.6.patch
new file mode 100644
index 000000000000..c2663be353d4
--- /dev/null
+++ b/media-libs/libdv/files/libdv-0.99-2.6.patch
@@ -0,0 +1,17 @@
+--- libdv-0.99/libdv/enc_input.c 2002-12-31 23:04:02.000000000 +0000
++++ libdv-0.99/libdv/enc_input.c.plasmaroo 2003-12-30 16:42:19.000000000 +0000
+@@ -48,13 +48,13 @@
+
+ #if HAVE_DEV_VIDEO
+ #include <sys/types.h>
+-#include <linux/videodev.h>
+ #include <sys/time.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #include <sys/mman.h>
++#include <linux/videodev.h>
+ #endif
+
+ // #define ARCH_X86 0
diff --git a/media-libs/libdv/libdv-0.99-r1.ebuild b/media-libs/libdv/libdv-0.99-r1.ebuild
index 1ee79683d321..30aff9336ea2 100644
--- a/media-libs/libdv/libdv-0.99-r1.ebuild
+++ b/media-libs/libdv/libdv-0.99-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/libdv-0.99-r1.ebuild,v 1.7 2003/12/20 15:06:52 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/libdv-0.99-r1.ebuild,v 1.8 2003/12/31 17:20:26 plasmaroo Exp $
DESCRIPTION="Software codec for dv-format video (camcorders etc)."
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
@@ -20,6 +20,7 @@ DEPEND="dev-libs/popt
src_unpack() {
unpack ${A} && cd "${S}"
epatch "${FILESDIR}/${P}-disablegtk.patch"
+ epatch "${FILESDIR}/${P}-2.6.patch"
}
src_compile() {