diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-06-17 12:58:10 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-06-17 12:58:10 (GMT) |
commit | 9ae8564dc229b96113c5ffb395d4adf73aa207f4 (patch) | |
tree | 7d2420d05c6e8fe9a340e6a71c3548dd18d35a39 /abs/core/kbd/fix-keymap-loading-1.15.5.patch | |
parent | afcaa7a3496ec2449d9de7ab6115b8a8eabacdf5 (diff) | |
download | linhes_pkgbuild-9ae8564dc229b96113c5ffb395d4adf73aa207f4.zip linhes_pkgbuild-9ae8564dc229b96113c5ffb395d4adf73aa207f4.tar.gz linhes_pkgbuild-9ae8564dc229b96113c5ffb395d4adf73aa207f4.tar.bz2 |
kbd: update to 2.0.3
Diffstat (limited to 'abs/core/kbd/fix-keymap-loading-1.15.5.patch')
-rw-r--r-- | abs/core/kbd/fix-keymap-loading-1.15.5.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/abs/core/kbd/fix-keymap-loading-1.15.5.patch b/abs/core/kbd/fix-keymap-loading-1.15.5.patch new file mode 100644 index 0000000..ae179d8 --- /dev/null +++ b/abs/core/kbd/fix-keymap-loading-1.15.5.patch @@ -0,0 +1,47 @@ +commit 7e06e56157e8431d02e1377cdc44230944203d88 +Author: Alexey Gladkov <gladkov.alexey@gmail.com> +Date: Tue Dec 11 14:24:44 2012 +0400 + + Fix regression in 16117ce6ab + + Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com> + +diff --git a/src/loadkeys.analyze.l b/src/loadkeys.analyze.l +index c18dcea..f817c78 100644 +--- a/src/loadkeys.analyze.l ++++ b/src/loadkeys.analyze.l +@@ -307,8 +307,10 @@ To to|To|TO + char *s = xstrndup(yytext+1, strlen(yytext)-2); + /* use static pathname to store *s ? */ + open_include(s); +- yy_pop_state(); +- state_ptr--; ++ while (state_ptr > 0) { ++ yy_pop_state(); ++ state_ptr--; ++ } + } + <INCLSTR>[^"]|\"\"|\"[^"\n]*{Eol} { + yyerror(_("expected filename between quotes")); +@@ -323,7 +325,7 @@ To to|To|TO + } + {Eol} { + line_nr++; +- if (state_ptr > 0) { ++ while (state_ptr > 0) { + yy_pop_state(); + state_ptr--; + } +@@ -428,8 +430,10 @@ To to|To|TO + } + <STR>\" { + *p = '\0'; +- yy_pop_state(); +- state_ptr--; ++ while (state_ptr > 0) { ++ yy_pop_state(); ++ state_ptr--; ++ } + return(STRLITERAL); + } + . { |