kbd - sparc

Ken Moffat ken at linuxfromscratch.org
Mon Oct 17 15:00:49 PDT 2005

On Mon, 17 Oct 2005, jaca wrote:

> Hello
> I've obtained the following errorc while compiling Kbd-1.12
> gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -DDATADIR=\"/usr/share
> /kbd\" kbdrate.c
> kbdrate.c: In function 'KIOCSRATE_ioctl_ok':
> kbdrate.c:167: error: 'struct kbd_rate' has no member named 'period'

> also the patch: patch -Np1 -i ../kbd-1.12-sparc_kbdrate-1.patch
> has been rejected:
> root:/sources/kbd-1.12$ patch -Np1 -i ../kbd-1.12-sparc_kbdrate-1.patch
> patching file src/psffontop.c
> Reversed (or previously applied) patch detected!  Skipping patch.

  You've got the wrong patch!  src/psffontop.c is in the gcc4_fixes 
patch, the sparc_kbdrate patch alters src/kbdrate.c to use 

  das eine Mal als Tragödie, das andere Mal als Farce

More information about the lfs-dev mailing list