/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.
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... :/
Added your patch to CVS; should hit rsync within an hour! Thanks!
Created attachment 26995 [details] patch for key.c
Created attachment 26996 [details] new ebuild whith patch for key.c
Created attachment 26997 [details] RE: patch for key.c whith right minetype
Roberto: Updated, thanks.