diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2004-02-08 14:23:48 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2004-02-08 14:23:48 +0000 |
commit | de8677174b2ecb1c19daf40bd67defdb5b6810fe (patch) | |
tree | 2dde0e09bd47e923aa8c0b423c3d0f2243d12617 /sys-apps/kbd/files | |
parent | Fix creation of install dirs, bug #39405. Patch thanks to Ed Grimm (diff) | |
download | gentoo-2-de8677174b2ecb1c19daf40bd67defdb5b6810fe.tar.gz gentoo-2-de8677174b2ecb1c19daf40bd67defdb5b6810fe.tar.bz2 gentoo-2-de8677174b2ecb1c19daf40bd67defdb5b6810fe.zip |
Sparc have not yet fixed struct kbd_rate to use 'period' and not 'rate'. Patch
by Andries Brouwer <Andries.Brouwer@cwi.nl>.
Diffstat (limited to 'sys-apps/kbd/files')
-rw-r--r-- | sys-apps/kbd/files/digest-kbd-1.12-r1 | 1 | ||||
-rw-r--r-- | sys-apps/kbd/files/kbd-1.12-kbd_repeat.patch | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-apps/kbd/files/digest-kbd-1.12-r1 b/sys-apps/kbd/files/digest-kbd-1.12-r1 new file mode 100644 index 000000000000..b2e1581b948e --- /dev/null +++ b/sys-apps/kbd/files/digest-kbd-1.12-r1 @@ -0,0 +1 @@ +MD5 7892c7010512a9bc6697a295c921da25 kbd-1.12.tar.gz 884827 diff --git a/sys-apps/kbd/files/kbd-1.12-kbd_repeat.patch b/sys-apps/kbd/files/kbd-1.12-kbd_repeat.patch new file mode 100644 index 000000000000..abef25c84f00 --- /dev/null +++ b/sys-apps/kbd/files/kbd-1.12-kbd_repeat.patch @@ -0,0 +1,34 @@ +--- kbd-1.12/src/kbdrate.c Fri Jan 16 20:45:31 2004 ++++ kbd-1.12.kbdrate/src/kbdrate.c Sun Feb 8 14:52:04 2004 +@@ -84,11 +84,13 @@ + /* usually defined in <linux/kd.h> */ + #define KDKBDREP 0x4B52 /* set keyboard delay/repeat rate; + * actually used values are returned */ +-struct kbd_repeat { ++#endif ++ ++/* Equal to kernel version, but field names vary. */ ++struct my_kbd_repeat { + int delay; /* in msec; <= 0: don't change */ + int period; /* in msec; <= 0: don't change */ + }; +-#endif + + #include "nls.h" + #include "version.h" +@@ -104,9 +106,12 @@ + + static int + KDKBDREP_ioctl_ok(double rate, int delay, int silent) { +- /* This ioctl is defined in <linux/kd.h> but is not +- implemented anywhere - must be in some m68k patches. */ +- struct kbd_repeat kbdrep_s; ++ /* ++ * This ioctl is defined in <linux/kd.h> but is not ++ * implemented anywhere - must be in some m68k patches. ++ * Since 2.4.9 also on i386. ++ */ ++ struct my_kbd_repeat kbdrep_s; + + /* don't change, just test */ + kbdrep_s.period = -1; |