[arch-commits] Commit in kbd/repos (18 files)
Tobias Powalowski
tpowa at archlinux.org
Fri Jan 27 06:59:49 UTC 2017
Date: Friday, January 27, 2017 @ 06:59:48
Author: tpowa
Revision: 287572
db-move: moved kbd from [testing] to [core] (i686, x86_64)
Added:
kbd/repos/core-i686/PKGBUILD
(from rev 287571, kbd/repos/testing-i686/PKGBUILD)
kbd/repos/core-i686/fix-dvorak-es.patch
(from rev 287571, kbd/repos/testing-i686/fix-dvorak-es.patch)
kbd/repos/core-i686/fix-euro2.patch
(from rev 287571, kbd/repos/testing-i686/fix-euro2.patch)
kbd/repos/core-i686/fix-keymap-loading-1.15.5.patch
(from rev 287571, kbd/repos/testing-i686/fix-keymap-loading-1.15.5.patch)
kbd/repos/core-x86_64/PKGBUILD
(from rev 287571, kbd/repos/testing-x86_64/PKGBUILD)
kbd/repos/core-x86_64/fix-dvorak-es.patch
(from rev 287571, kbd/repos/testing-x86_64/fix-dvorak-es.patch)
kbd/repos/core-x86_64/fix-euro2.patch
(from rev 287571, kbd/repos/testing-x86_64/fix-euro2.patch)
kbd/repos/core-x86_64/fix-keymap-loading-1.15.5.patch
(from rev 287571, kbd/repos/testing-x86_64/fix-keymap-loading-1.15.5.patch)
Deleted:
kbd/repos/core-i686/PKGBUILD
kbd/repos/core-i686/fix-dvorak-es.patch
kbd/repos/core-i686/fix-euro2.patch
kbd/repos/core-i686/fix-keymap-loading-1.15.5.patch
kbd/repos/core-x86_64/PKGBUILD
kbd/repos/core-x86_64/fix-dvorak-es.patch
kbd/repos/core-x86_64/fix-euro2.patch
kbd/repos/core-x86_64/fix-keymap-loading-1.15.5.patch
kbd/repos/testing-i686/
kbd/repos/testing-x86_64/
---------------------------------------------+
/PKGBUILD | 102 ++++++++++++++++++++++++++
/fix-dvorak-es.patch | 22 +++++
/fix-euro2.patch | 18 ++++
/fix-keymap-loading-1.15.5.patch | 94 +++++++++++++++++++++++
core-i686/PKGBUILD | 46 -----------
core-i686/fix-dvorak-es.patch | 11 --
core-i686/fix-euro2.patch | 9 --
core-i686/fix-keymap-loading-1.15.5.patch | 47 -----------
core-x86_64/PKGBUILD | 46 -----------
core-x86_64/fix-dvorak-es.patch | 11 --
core-x86_64/fix-euro2.patch | 9 --
core-x86_64/fix-keymap-loading-1.15.5.patch | 47 -----------
12 files changed, 236 insertions(+), 226 deletions(-)
Deleted: core-i686/PKGBUILD
===================================================================
--- core-i686/PKGBUILD 2017-01-27 06:59:45 UTC (rev 287571)
+++ core-i686/PKGBUILD 2017-01-27 06:59:48 UTC (rev 287572)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=kbd
-pkgver=2.0.3
-pkgrel=1
-pkgdesc="Keytable files and keyboard utilities"
-arch=('i686' 'x86_64')
-url="http://www.kbd-project.org"
-license=('GPL')
-depends=('glibc' 'pam')
-makedepends=('check')
-source=(ftp://ftp.altlinux.org/pub/people/legion/kbd/${pkgname}-${pkgver}.tar.gz
- 'fix-euro2.patch')
-provides=('vlock')
-conflicts=('vlock')
-replaces=('vlock')
-md5sums=('d636ee56f35233b5cd6f855c08372489'
- 'd869200acbc0aab6a9cafa43cb140d4e')
-
-prepare() {
- cd ${srcdir}/${pkgname}-${pkgver}
- # rename keymap files with the same names
- # this is needed because when only name of keymap is specified
- # loadkeys loads the first keymap it can find, which is bad (see FS#13837)
- # this should be removed when upstream adopts the change
- mv data/keymaps/i386/qwertz/cz{,-qwertz}.map
- mv data/keymaps/i386/olpc/es{,-olpc}.map
- mv data/keymaps/i386/olpc/pt{,-olpc}.map
- mv data/keymaps/i386/dvorak/no{,-dvorak}.map
- mv data/keymaps/i386/fgGIod/trf{,-fgGIod}.map
- mv data/keymaps/i386/colemak/{en-latin9,colemak}.map
- # fix euro2 #28213
- patch -Np1 -i ../fix-euro2.patch
-}
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --datadir=/usr/share/kbd --mandir=/usr/share/man
- make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes DESTDIR=${pkgdir} install
-}
Copied: kbd/repos/core-i686/PKGBUILD (from rev 287571, kbd/repos/testing-i686/PKGBUILD)
===================================================================
--- core-i686/PKGBUILD (rev 0)
+++ core-i686/PKGBUILD 2017-01-27 06:59:48 UTC (rev 287572)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=kbd
+pkgver=2.0.4
+pkgrel=1
+pkgdesc="Keytable files and keyboard utilities"
+arch=('i686' 'x86_64')
+url="http://www.kbd-project.org"
+license=('GPL')
+depends=('glibc' 'pam')
+makedepends=('check')
+source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ftp://ftp.kernel.org/pub/linux/utils/kbd/${pkgname}-${pkgver}.tar.sign
+ 'fix-euro2.patch')
+provides=('vlock')
+conflicts=('vlock')
+replaces=('vlock')
+validpgpkeys=(
+ '7F2A3D07298149A0793C9A4EA45ABA544CFFD434' #Alexey Gladkov
+ )
+
+prepare() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ # rename keymap files with the same names
+ # this is needed because when only name of keymap is specified
+ # loadkeys loads the first keymap it can find, which is bad (see FS#13837)
+ # this should be removed when upstream adopts the change
+ mv data/keymaps/i386/qwertz/cz{,-qwertz}.map
+ mv data/keymaps/i386/olpc/es{,-olpc}.map
+ mv data/keymaps/i386/olpc/pt{,-olpc}.map
+ mv data/keymaps/i386/dvorak/no{,-dvorak}.map
+ mv data/keymaps/i386/fgGIod/trf{,-fgGIod}.map
+ mv data/keymaps/i386/colemak/{en-latin9,colemak}.map
+ # fix euro2 #28213
+ patch -Np1 -i ../fix-euro2.patch
+}
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --datadir=/usr/share/kbd --mandir=/usr/share/man
+ make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes DESTDIR=${pkgdir} install
+}
+md5sums=('c69fce737a5fd0fa686cbfc4f611a220'
+ 'SKIP'
+ 'd869200acbc0aab6a9cafa43cb140d4e')
Deleted: core-i686/fix-dvorak-es.patch
===================================================================
--- core-i686/fix-dvorak-es.patch 2017-01-27 06:59:45 UTC (rev 287571)
+++ core-i686/fix-dvorak-es.patch 2017-01-27 06:59:48 UTC (rev 287572)
@@ -1,11 +0,0 @@
---- kbd-1.15.5/data/keymaps/i386/dvorak/dvorak-es.map.old 2013-05-08 14:58:03.393349828 +0200
-+++ kbd-1.15.5/data/keymaps/i386/dvorak/dvorak-es.map 2013-05-08 14:58:20.206415053 +0200
-@@ -4,7 +4,7 @@
-
- keymaps 0-2,4,5,6,8-10,12,14
- include "linux-with-alt-and-altgr"
--include "euro"
-+include "euro.map"
- strings as usual
-
- keycode 1 = Escape
Copied: kbd/repos/core-i686/fix-dvorak-es.patch (from rev 287571, kbd/repos/testing-i686/fix-dvorak-es.patch)
===================================================================
--- core-i686/fix-dvorak-es.patch (rev 0)
+++ core-i686/fix-dvorak-es.patch 2017-01-27 06:59:48 UTC (rev 287572)
@@ -0,0 +1,11 @@
+--- kbd-1.15.5/data/keymaps/i386/dvorak/dvorak-es.map.old 2013-05-08 14:58:03.393349828 +0200
++++ kbd-1.15.5/data/keymaps/i386/dvorak/dvorak-es.map 2013-05-08 14:58:20.206415053 +0200
+@@ -4,7 +4,7 @@
+
+ keymaps 0-2,4,5,6,8-10,12,14
+ include "linux-with-alt-and-altgr"
+-include "euro"
++include "euro.map"
+ strings as usual
+
+ keycode 1 = Escape
Deleted: core-i686/fix-euro2.patch
===================================================================
--- core-i686/fix-euro2.patch 2017-01-27 06:59:45 UTC (rev 287571)
+++ core-i686/fix-euro2.patch 2017-01-27 06:59:48 UTC (rev 287572)
@@ -1,9 +0,0 @@
---- kbd-1.15.5/data/keymaps/i386/include/euro2.map.old 2013-05-08 15:00:25.917752313 +0200
-+++ kbd-1.15.5/data/keymaps/i386/include/euro2.map 2013-05-08 15:00:54.943957367 +0200
-@@ -2,5 +2,5 @@
- # [Say: "loadkeys euro2" to get Euro and cent with AltGr (right alt)
- # on the positions where many keyboards have E and C.
- # To get it displayed, use a latin0 (i.e., latin9) font.]
--altgr keycode 18 = currency
-+altgr keycode 18 = euro
- altgr keycode 46 = cent
Copied: kbd/repos/core-i686/fix-euro2.patch (from rev 287571, kbd/repos/testing-i686/fix-euro2.patch)
===================================================================
--- core-i686/fix-euro2.patch (rev 0)
+++ core-i686/fix-euro2.patch 2017-01-27 06:59:48 UTC (rev 287572)
@@ -0,0 +1,9 @@
+--- kbd-1.15.5/data/keymaps/i386/include/euro2.map.old 2013-05-08 15:00:25.917752313 +0200
++++ kbd-1.15.5/data/keymaps/i386/include/euro2.map 2013-05-08 15:00:54.943957367 +0200
+@@ -2,5 +2,5 @@
+ # [Say: "loadkeys euro2" to get Euro and cent with AltGr (right alt)
+ # on the positions where many keyboards have E and C.
+ # To get it displayed, use a latin0 (i.e., latin9) font.]
+-altgr keycode 18 = currency
++altgr keycode 18 = euro
+ altgr keycode 46 = cent
Deleted: core-i686/fix-keymap-loading-1.15.5.patch
===================================================================
--- core-i686/fix-keymap-loading-1.15.5.patch 2017-01-27 06:59:45 UTC (rev 287571)
+++ core-i686/fix-keymap-loading-1.15.5.patch 2017-01-27 06:59:48 UTC (rev 287572)
@@ -1,47 +0,0 @@
-commit 7e06e56157e8431d02e1377cdc44230944203d88
-Author: Alexey Gladkov <gladkov.alexey at gmail.com>
-Date: Tue Dec 11 14:24:44 2012 +0400
-
- Fix regression in 16117ce6ab
-
- Signed-off-by: Alexey Gladkov <gladkov.alexey at 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);
- }
- . {
Copied: kbd/repos/core-i686/fix-keymap-loading-1.15.5.patch (from rev 287571, kbd/repos/testing-i686/fix-keymap-loading-1.15.5.patch)
===================================================================
--- core-i686/fix-keymap-loading-1.15.5.patch (rev 0)
+++ core-i686/fix-keymap-loading-1.15.5.patch 2017-01-27 06:59:48 UTC (rev 287572)
@@ -0,0 +1,47 @@
+commit 7e06e56157e8431d02e1377cdc44230944203d88
+Author: Alexey Gladkov <gladkov.alexey at gmail.com>
+Date: Tue Dec 11 14:24:44 2012 +0400
+
+ Fix regression in 16117ce6ab
+
+ Signed-off-by: Alexey Gladkov <gladkov.alexey at 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);
+ }
+ . {
Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD 2017-01-27 06:59:45 UTC (rev 287571)
+++ core-x86_64/PKGBUILD 2017-01-27 06:59:48 UTC (rev 287572)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=kbd
-pkgver=2.0.3
-pkgrel=1
-pkgdesc="Keytable files and keyboard utilities"
-arch=('i686' 'x86_64')
-url="http://www.kbd-project.org"
-license=('GPL')
-depends=('glibc' 'pam')
-makedepends=('check')
-source=(ftp://ftp.altlinux.org/pub/people/legion/kbd/${pkgname}-${pkgver}.tar.gz
- 'fix-euro2.patch')
-provides=('vlock')
-conflicts=('vlock')
-replaces=('vlock')
-md5sums=('d636ee56f35233b5cd6f855c08372489'
- 'd869200acbc0aab6a9cafa43cb140d4e')
-
-prepare() {
- cd ${srcdir}/${pkgname}-${pkgver}
- # rename keymap files with the same names
- # this is needed because when only name of keymap is specified
- # loadkeys loads the first keymap it can find, which is bad (see FS#13837)
- # this should be removed when upstream adopts the change
- mv data/keymaps/i386/qwertz/cz{,-qwertz}.map
- mv data/keymaps/i386/olpc/es{,-olpc}.map
- mv data/keymaps/i386/olpc/pt{,-olpc}.map
- mv data/keymaps/i386/dvorak/no{,-dvorak}.map
- mv data/keymaps/i386/fgGIod/trf{,-fgGIod}.map
- mv data/keymaps/i386/colemak/{en-latin9,colemak}.map
- # fix euro2 #28213
- patch -Np1 -i ../fix-euro2.patch
-}
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --datadir=/usr/share/kbd --mandir=/usr/share/man
- make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes DESTDIR=${pkgdir} install
-}
Copied: kbd/repos/core-x86_64/PKGBUILD (from rev 287571, kbd/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD (rev 0)
+++ core-x86_64/PKGBUILD 2017-01-27 06:59:48 UTC (rev 287572)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=kbd
+pkgver=2.0.4
+pkgrel=1
+pkgdesc="Keytable files and keyboard utilities"
+arch=('i686' 'x86_64')
+url="http://www.kbd-project.org"
+license=('GPL')
+depends=('glibc' 'pam')
+makedepends=('check')
+source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ftp://ftp.kernel.org/pub/linux/utils/kbd/${pkgname}-${pkgver}.tar.sign
+ 'fix-euro2.patch')
+provides=('vlock')
+conflicts=('vlock')
+replaces=('vlock')
+validpgpkeys=(
+ '7F2A3D07298149A0793C9A4EA45ABA544CFFD434' #Alexey Gladkov
+ )
+
+prepare() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ # rename keymap files with the same names
+ # this is needed because when only name of keymap is specified
+ # loadkeys loads the first keymap it can find, which is bad (see FS#13837)
+ # this should be removed when upstream adopts the change
+ mv data/keymaps/i386/qwertz/cz{,-qwertz}.map
+ mv data/keymaps/i386/olpc/es{,-olpc}.map
+ mv data/keymaps/i386/olpc/pt{,-olpc}.map
+ mv data/keymaps/i386/dvorak/no{,-dvorak}.map
+ mv data/keymaps/i386/fgGIod/trf{,-fgGIod}.map
+ mv data/keymaps/i386/colemak/{en-latin9,colemak}.map
+ # fix euro2 #28213
+ patch -Np1 -i ../fix-euro2.patch
+}
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --datadir=/usr/share/kbd --mandir=/usr/share/man
+ make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes DESTDIR=${pkgdir} install
+}
+md5sums=('c69fce737a5fd0fa686cbfc4f611a220'
+ 'SKIP'
+ 'd869200acbc0aab6a9cafa43cb140d4e')
Deleted: core-x86_64/fix-dvorak-es.patch
===================================================================
--- core-x86_64/fix-dvorak-es.patch 2017-01-27 06:59:45 UTC (rev 287571)
+++ core-x86_64/fix-dvorak-es.patch 2017-01-27 06:59:48 UTC (rev 287572)
@@ -1,11 +0,0 @@
---- kbd-1.15.5/data/keymaps/i386/dvorak/dvorak-es.map.old 2013-05-08 14:58:03.393349828 +0200
-+++ kbd-1.15.5/data/keymaps/i386/dvorak/dvorak-es.map 2013-05-08 14:58:20.206415053 +0200
-@@ -4,7 +4,7 @@
-
- keymaps 0-2,4,5,6,8-10,12,14
- include "linux-with-alt-and-altgr"
--include "euro"
-+include "euro.map"
- strings as usual
-
- keycode 1 = Escape
Copied: kbd/repos/core-x86_64/fix-dvorak-es.patch (from rev 287571, kbd/repos/testing-x86_64/fix-dvorak-es.patch)
===================================================================
--- core-x86_64/fix-dvorak-es.patch (rev 0)
+++ core-x86_64/fix-dvorak-es.patch 2017-01-27 06:59:48 UTC (rev 287572)
@@ -0,0 +1,11 @@
+--- kbd-1.15.5/data/keymaps/i386/dvorak/dvorak-es.map.old 2013-05-08 14:58:03.393349828 +0200
++++ kbd-1.15.5/data/keymaps/i386/dvorak/dvorak-es.map 2013-05-08 14:58:20.206415053 +0200
+@@ -4,7 +4,7 @@
+
+ keymaps 0-2,4,5,6,8-10,12,14
+ include "linux-with-alt-and-altgr"
+-include "euro"
++include "euro.map"
+ strings as usual
+
+ keycode 1 = Escape
Deleted: core-x86_64/fix-euro2.patch
===================================================================
--- core-x86_64/fix-euro2.patch 2017-01-27 06:59:45 UTC (rev 287571)
+++ core-x86_64/fix-euro2.patch 2017-01-27 06:59:48 UTC (rev 287572)
@@ -1,9 +0,0 @@
---- kbd-1.15.5/data/keymaps/i386/include/euro2.map.old 2013-05-08 15:00:25.917752313 +0200
-+++ kbd-1.15.5/data/keymaps/i386/include/euro2.map 2013-05-08 15:00:54.943957367 +0200
-@@ -2,5 +2,5 @@
- # [Say: "loadkeys euro2" to get Euro and cent with AltGr (right alt)
- # on the positions where many keyboards have E and C.
- # To get it displayed, use a latin0 (i.e., latin9) font.]
--altgr keycode 18 = currency
-+altgr keycode 18 = euro
- altgr keycode 46 = cent
Copied: kbd/repos/core-x86_64/fix-euro2.patch (from rev 287571, kbd/repos/testing-x86_64/fix-euro2.patch)
===================================================================
--- core-x86_64/fix-euro2.patch (rev 0)
+++ core-x86_64/fix-euro2.patch 2017-01-27 06:59:48 UTC (rev 287572)
@@ -0,0 +1,9 @@
+--- kbd-1.15.5/data/keymaps/i386/include/euro2.map.old 2013-05-08 15:00:25.917752313 +0200
++++ kbd-1.15.5/data/keymaps/i386/include/euro2.map 2013-05-08 15:00:54.943957367 +0200
+@@ -2,5 +2,5 @@
+ # [Say: "loadkeys euro2" to get Euro and cent with AltGr (right alt)
+ # on the positions where many keyboards have E and C.
+ # To get it displayed, use a latin0 (i.e., latin9) font.]
+-altgr keycode 18 = currency
++altgr keycode 18 = euro
+ altgr keycode 46 = cent
Deleted: core-x86_64/fix-keymap-loading-1.15.5.patch
===================================================================
--- core-x86_64/fix-keymap-loading-1.15.5.patch 2017-01-27 06:59:45 UTC (rev 287571)
+++ core-x86_64/fix-keymap-loading-1.15.5.patch 2017-01-27 06:59:48 UTC (rev 287572)
@@ -1,47 +0,0 @@
-commit 7e06e56157e8431d02e1377cdc44230944203d88
-Author: Alexey Gladkov <gladkov.alexey at gmail.com>
-Date: Tue Dec 11 14:24:44 2012 +0400
-
- Fix regression in 16117ce6ab
-
- Signed-off-by: Alexey Gladkov <gladkov.alexey at 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);
- }
- . {
Copied: kbd/repos/core-x86_64/fix-keymap-loading-1.15.5.patch (from rev 287571, kbd/repos/testing-x86_64/fix-keymap-loading-1.15.5.patch)
===================================================================
--- core-x86_64/fix-keymap-loading-1.15.5.patch (rev 0)
+++ core-x86_64/fix-keymap-loading-1.15.5.patch 2017-01-27 06:59:48 UTC (rev 287572)
@@ -0,0 +1,47 @@
+commit 7e06e56157e8431d02e1377cdc44230944203d88
+Author: Alexey Gladkov <gladkov.alexey at gmail.com>
+Date: Tue Dec 11 14:24:44 2012 +0400
+
+ Fix regression in 16117ce6ab
+
+ Signed-off-by: Alexey Gladkov <gladkov.alexey at 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);
+ }
+ . {
More information about the arch-commits
mailing list