mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
Import cmdpad from oldpackages, add copyright, pkg info
Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
15
utils/cmdpad/patches/120-kernel26-compat.patch
Normal file
15
utils/cmdpad/patches/120-kernel26-compat.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
--- cmdpad-0.0.3/src/parse.orig 2008-01-05 23:55:32.000000000 +0100
|
||||
+++ cmdpad-0.0.3/src/parse.c 2008-01-05 23:56:07.000000000 +0100
|
||||
@@ -289,6 +289,12 @@
|
||||
pchEventDevice = strdup( pchValue) ;
|
||||
return 1 ;
|
||||
}
|
||||
+ if( (pchValue != NULL) &&
|
||||
+ (strncmp( pchValue, "/dev/event", 6) == 0) )
|
||||
+ {
|
||||
+ pchEventDevice = strdup( pchValue) ;
|
||||
+ return 1 ;
|
||||
+ }
|
||||
printf( "Option 'device' expects a /dev/input/eventX argument\n");
|
||||
return -1 ;
|
||||
}
|
||||
Reference in New Issue
Block a user