wok diff syslinux/receipt @ rev 1353

iFix: dvdauthor BUILD_DEPENDS, needs libdvdread-dev to build.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Sep 06 15:07:21 2008 +0200 (2008-09-06)
parents 29ef7d8a4729
children e53e6a788414
line diff
     1.1 --- a/syslinux/receipt	Thu Jul 03 10:19:31 2008 +0000
     1.2 +++ b/syslinux/receipt	Sat Sep 06 15:07:21 2008 +0200
     1.3 @@ -22,6 +22,20 @@
     1.4          j=${j%.map.gz}.kbd
     1.5          ./keytab-lilo.pl /usr/share/kbd/keymaps/i386/qwerty/us.map.gz $i > $j
     1.6      done
     1.7 +    # patch kbdmap bug
     1.8 +    while read file offset; do
     1.9 +    	cp $file $file.unpatched
    1.10 +    	echo "Fix $file 3.70 kbdmap bug..."
    1.11 +	echo "0  90 90  |.." | hexdump -R | \
    1.12 +	dd conv=notrunc bs=1 count=2 seek=$(($offset)) of=$file 2> /dev/null
    1.13 +	echo "0  90 90  |.." | hexdump -R | \
    1.14 +	dd conv=notrunc bs=1 count=2 seek=$(($offset+5)) of=$file 2> /dev/null
    1.15 +    done <<EOT
    1.16 +core/isolinux.bin 0x1AC9
    1.17 +core/pxelinux.0 0x2098
    1.18 +linux/syslinux-nomtools 0x3CDD
    1.19 +extlinux/extlinux 0x4BBA
    1.20 +EOT
    1.21  }
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.