Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39580 - media-libs/libgii doesn't compile with linux-headers-2.6.0
Summary: media-libs/libgii doesn't compile with linux-headers-2.6.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-27 10:36 UTC by ferret
Modified: 2004-03-07 15:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libgii-linux-headers-2.6.patch (libgii-linux-headers-2.6.patch,480 bytes, patch)
2004-01-27 11:56 UTC, ferret
Details | Diff
patch for key.c (libgii-key.patch,433 bytes, text/x-patch)
2004-03-07 11:42 UTC, Roberto Griso
Details
new ebuild whith patch for key.c (libgii-0.8.1.ebuild,1.02 KB, text/plain)
2004-03-07 11:44 UTC, Roberto Griso
Details
RE: patch for key.c whith right minetype (libgii-key.patch,433 bytes, text/plain)
2004-03-07 11:46 UTC, Roberto Griso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ferret 2004-01-27 10:36:15 UTC
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include     -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -mfpmath=387,sse -D_REENTRANT -D_THREAD_SAFE -g -Wall -c eventparse.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -mfpmath=387,sse -D_REENTRANT -D_THREAD_SAFE -g -Wall -c eventparse.c  -fPIC -DPIC -o eventparse.lo
eventparse.c: In function `dispatch_event':
eventparse.c:206: error: `EV_RST' undeclared (first use in this function)
eventparse.c:206: error: (Each undeclared identifier is reported only once
eventparse.c:206: error: for each function it appears in.)
make: *** [eventparse.lo] Error 1

In 2.4 headers, linux/input.h has:
#define EV_RST 0x00

In 2.6 headers, it isn't defined.
Comment 1 ferret 2004-01-27 11:56:22 UTC
Created attachment 24496 [details, diff]
libgii-linux-headers-2.6.patch

This patch defined EV_RST as EV_SYN if EV_RST not already defined. Since in
linux-headers-2.6.0 EV_SYN gets the same value as EV_RST did in 2.4.*, I'm
assuming that this value is the one that's actually wanted. This may not be the
case, of course... :/
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-01-28 12:57:17 UTC
Added your patch to CVS; should hit rsync within an hour! Thanks!
Comment 3 Roberto Griso 2004-03-07 11:42:40 UTC
Created attachment 26995 [details]
patch for key.c
Comment 4 Roberto Griso 2004-03-07 11:44:02 UTC
Created attachment 26996 [details]
new ebuild whith patch for key.c
Comment 5 Roberto Griso 2004-03-07 11:46:25 UTC
Created attachment 26997 [details]
RE: patch for key.c whith right minetype
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2004-03-07 15:16:48 UTC
Roberto: Updated, thanks.