keytab-lilo.patch (629B)
1[syslinux] [PATCH] keytab-lilo: update to support kbd 2.0.3 format 2https://www.syslinux.org/archives/2015-December/024690.html 3https://repo.or.cz/syslinux.git/commit/138e850fab106b5235178848b3e0d33e25f4d3a2 4 5--- keytab-lilo.pl 6+++ keytab-lilo.pl 7@@ -44,9 +44,9 @@ sub load_map 8 $empty = 1; 9 while (<FILE>) { 10 chop; 11- if (/^(static\s+)?u_short\s+(\S+)_map\[\S*\]\s+=\s+{\s*$/) { 12+ if (/^(static\s+)?(u_|unsigned )short\s+(\S+)_map\[\S*\]\s+=\s+{\s*$/) { 13 die "active at beginning of map" if defined $current; 14- $current = $pfx.":".$2; 15+ $current = $pfx.":".$3; 16 next; 17 } 18 undef $current if /^};\s*$/;