patch for 2.4.21 and later

Joseph C. Lininger jbahm at pcdesk.net
Wed Oct 29 03:14:35 EST 2003


Hi all,
I've noticed that there has been quite a bit of confusion reguarding the
failed patching of miscdevice.h on kernels 2.4.21 and later. (this is only
true in the 2.4 series) I don't know if this will be helpful to anyone, but
below is a patch that will cause speakup to install with no failed hunks on
these kernels. Simply apply this patch to speakup 1.5 before you run
./install. If you simply copy this entire message to the speakup 1.5
subdirectory on your system, then run patch -p1 < [name of file containing
patch] it should patch your speakup source just fine. Patch is smart enough
to skip the other text of this message and only process the patch. Note,
once you apply this patch, you can't use that copy of speakup to install to
any 2.4 series kernel earlier than 2.4.21. Only apply this patch if you have
2.4.21 or later.

diff -u -r speakup-1.5.old/speakup/patchlist-v24
speakup-1.5/speakup/patchlist-v24
--- speakup-1.5.old/speakup/patchlist-v24 2003-04-14
10:07:44.000000000 -0600
+++ speakup-1.5/speakup/patchlist-v24 2003-10-29 01:08:34.000000000 -0700
@@ -14,7 +14,6 @@
 1,/usr/src/linux/drivers/char/selection.c
 1,/usr/src/linux/fs/proc/root.c
 1,/usr/src/linux/include/linux/keyboard.h
-1,/usr/src/linux/include/linux/miscdevice.h
 1,/usr/src/linux/include/linux/proc_fs.h
 1,/usr/src/linux/init/main.c
 0,/usr/src/linux/Documentation/speakup/DefaultKeyAssignments

If this helps anyone, great. If not, sorry for the wasted bandwidth.
--
Joseph C. Lininger
jbahm at pcdesk.net





More information about the Speakup mailing list