summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-12-24 00:44:59 +0000
committerMike Frysinger <vapier@gentoo.org>2003-12-24 00:44:59 +0000
commit6212704db205b8b603922934beb75d5c427b6119 (patch)
treede322076d5538046a1ed7c3990274278ebfc300d /dev-libs/DirectFB
parentfilter -fprefetch-loop-arrays for gcc-3.2.x too (diff)
downloadhistorical-6212704db205b8b603922934beb75d5c427b6119.tar.gz
historical-6212704db205b8b603922934beb75d5c427b6119.tar.bz2
historical-6212704db205b8b603922934beb75d5c427b6119.zip
linux 2.6 headers support
Diffstat (limited to 'dev-libs/DirectFB')
-rw-r--r--dev-libs/DirectFB/ChangeLog9
-rw-r--r--dev-libs/DirectFB/DirectFB-0.9.20.ebuild10
-rw-r--r--dev-libs/DirectFB/files/0.9.20-linux-2.6.patch10
3 files changed, 25 insertions, 4 deletions
diff --git a/dev-libs/DirectFB/ChangeLog b/dev-libs/DirectFB/ChangeLog
index 870e64d04d70..c21747cad833 100644
--- a/dev-libs/DirectFB/ChangeLog
+++ b/dev-libs/DirectFB/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/DirectFB
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.34 2003/12/16 15:55:48 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.35 2003/12/24 00:44:59 vapier Exp $
+
+*DirectFB-0.9.20 (28 Oct 2003)
+
+ 23 Dec 2003; Mike Frysinger <vapier@gentoo.org> :
+ Add small patch to make this stuff work with linux 2.6 headers.
16 Dec 2003; Jason Wever <weeve@gentoo.org> DirectFB-0.9.12.ebuild:
Changed sparc keyword to ~sparc as quicktime dependency previous had no
@@ -9,8 +14,6 @@
23 Nov 2003; Aron Griffis <agriffis@gentoo.org> DirectFB-0.9.20.ebuild:
Stable on alpha
-*DirectFB-0.9.20 (28 Oct 2003)
-
28 Oct 2003; Mike Frysinger <vapier@gentoo.org> :
Version bump #32207.
diff --git a/dev-libs/DirectFB/DirectFB-0.9.20.ebuild b/dev-libs/DirectFB/DirectFB-0.9.20.ebuild
index fd589379e4df..6643d9e83d70 100644
--- a/dev-libs/DirectFB/DirectFB-0.9.20.ebuild
+++ b/dev-libs/DirectFB/DirectFB-0.9.20.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.20.ebuild,v 1.5 2003/11/23 13:36:51 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.20.ebuild,v 1.6 2003/12/24 00:44:59 vapier Exp $
+
+inherit eutils
IUSE_VIDEO_CARDS="ati128 cle266 cyber5k i810 matrox neomagic nsc nvidia radeon savage tdfx"
@@ -28,6 +30,12 @@ pkg_setup() {
fi
}
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-linux-2.6.patch
+}
+
src_compile() {
local vidcards
[ -z "${VIDEO_CARDS}" ] \
diff --git a/dev-libs/DirectFB/files/0.9.20-linux-2.6.patch b/dev-libs/DirectFB/files/0.9.20-linux-2.6.patch
new file mode 100644
index 000000000000..ecd9632fe336
--- /dev/null
+++ b/dev-libs/DirectFB/files/0.9.20-linux-2.6.patch
@@ -0,0 +1,10 @@
+--- interfaces/IDirectFBVideoProvider/idirectfbvideoprovider_v4l.c.orig 2003-12-23 19:23:58.346966040 -0500
++++ interfaces/IDirectFBVideoProvider/idirectfbvideoprovider_v4l.c 2003-12-23 19:24:26.624667176 -0500
+@@ -27,6 +27,7 @@
+ #if defined(__dietlibc__) && !defined(_BSD_SOURCE)
+ #define _BSD_SOURCE
+ #endif
++#define _LINUX_TIME_H
+
+ #include <stdio.h>
+ #include <stdlib.h>