diff options
author | Tim Yamin <plasmaroo@gentoo.org> | 2004-01-28 20:56:35 +0000 |
---|---|---|
committer | Tim Yamin <plasmaroo@gentoo.org> | 2004-01-28 20:56:35 +0000 |
commit | 517ad95cdbaa36dd09607663557fd780429b29c8 (patch) | |
tree | efecc5660f31cd024473e9001f1b379e0e912a53 /media-libs/libgii | |
parent | marked stable on sparc (diff) | |
download | gentoo-2-517ad95cdbaa36dd09607663557fd780429b29c8.tar.gz gentoo-2-517ad95cdbaa36dd09607663557fd780429b29c8.tar.bz2 gentoo-2-517ad95cdbaa36dd09607663557fd780429b29c8.zip |
Added 2.6 kernel headers patch; closes bug #39580.
Diffstat (limited to 'media-libs/libgii')
-rw-r--r-- | media-libs/libgii/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/libgii/files/libgii-linux-headers-2.6.patch | 13 | ||||
-rw-r--r-- | media-libs/libgii/libgii-0.8.1.ebuild | 6 |
3 files changed, 22 insertions, 4 deletions
diff --git a/media-libs/libgii/ChangeLog b/media-libs/libgii/ChangeLog index 4668ba22b36a..b2dfde706114 100644 --- a/media-libs/libgii/ChangeLog +++ b/media-libs/libgii/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/libgii # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libgii/ChangeLog,v 1.7 2003/03/10 22:19:43 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libgii/ChangeLog,v 1.8 2004/01/28 20:56:35 plasmaroo Exp $ + + 28 Jan 2004; <plasmaroo@gentoo.org> libgii-0.8.1.ebuild, + files/libgii-linux-headers-2.6.patch: + Added a patch to get libgii to compile on 2.6 kernel headers. Thanks to James + Noble for filing bug #39580! 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/media-libs/libgii/files/libgii-linux-headers-2.6.patch b/media-libs/libgii/files/libgii-linux-headers-2.6.patch new file mode 100644 index 000000000000..71e210a68963 --- /dev/null +++ b/media-libs/libgii/files/libgii-linux-headers-2.6.patch @@ -0,0 +1,13 @@ +diff -ur libgii-0.8.1~old/input/linux_evdev/eventparse.c libgii-0.8.1/input/linux_evdev/eventparse.c +--- libgii-0.8.1~old/input/linux_evdev/eventparse.c 2004-01-27 18:41:18.656312744 +0000 ++++ libgii-0.8.1/input/linux_evdev/eventparse.c 2001-08-26 15:57:18.000000000 +0000 +@@ -28,6 +28,9 @@ + #include linux_evdev.h + #include <errno.h> + ++#ifndef EV_RST ++#define EV_RST EV_SYN ++#endif + + static gii_event_mask + dispatch_pmove(struct gii_input *inp, struct input_event *event, diff --git a/media-libs/libgii/libgii-0.8.1.ebuild b/media-libs/libgii/libgii-0.8.1.ebuild index 261701a7bcb8..b91ebf00d573 100644 --- a/media-libs/libgii/libgii-0.8.1.ebuild +++ b/media-libs/libgii/libgii-0.8.1.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libgii/libgii-0.8.1.ebuild,v 1.12 2003/07/18 21:55:44 tester Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libgii/libgii-0.8.1.ebuild,v 1.13 2004/01/28 20:56:35 plasmaroo Exp $ IUSE="X" - S=${WORKDIR}/${P} DESCRIPTION="Fast and safe graphics and drivers for about any graphics card to the Linux kernel (sometimes)" SRC_URI="http://www.ggi-project.org/ftp/ggi/v2.0/${P}.tar.bz2" @@ -22,6 +21,7 @@ src_compile() { use X || myconf="--without-x --disable-x --disable-xwin" + epatch ${FILESDIR}/libgii-linux-headers-2.6.patch econf ${myconf} || die emake || die |