git » freerdp.git » commit 164de74

upd

author Sergej Pupykin
2013-09-25 13:56:29 UTC
committer Sergej Pupykin
2013-09-25 13:56:29 UTC
parent c4dfe491d15454fa0f235f8a5d1aaf9d98d9c971

upd

PKGBUILD +6 -3
patch_numblock.patch +12 -0

diff --git a/PKGBUILD b/PKGBUILD
index 4a77ba3..816d8d8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=freerdp
 pkgver=1.0.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Free RDP client"
 arch=('i686' 'x86_64')
 url="http://freerdp.sourceforge.net"
@@ -15,13 +15,16 @@ conflicts=('freerdp-git')
 changelog=${pkgname}.changelog
 options=('!libtool')
 source=($pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/FreeRDP/archive/$pkgver.tar.gz
-        ffmpeg2.0.patch)
+        ffmpeg2.0.patch
+        patch_numblock.patch)
 md5sums=('c260051a94caff590def5caa4fcf59d6'
-         '1260eecf01ea5212e2db8ac9c5e7fa6d')
+         '1260eecf01ea5212e2db8ac9c5e7fa6d'
+         'ac581d445ded7cdbd59082a48d9c28ac')
 
 prepare() {
   cd $srcdir/FreeRDP-$pkgver
   patch -Np1 -i ../ffmpeg2.0.patch
+  patch -Np1 -i ../patch_numblock.patch
 }
 
 build() {
diff --git a/patch_numblock.patch b/patch_numblock.patch
new file mode 100644
index 0000000..62a23d5
--- /dev/null
+++ b/patch_numblock.patch
@@ -0,0 +1,12 @@
+diff -u -r -N old/include/freerdp/kbd/vkcodes.h new/include/freerdp/kbd/vkcodes.h
+--- old/include/freerdp/kbd/vkcodes.h	2013-09-19 12:46:07.124339712 +0200
++++ new/include/freerdp/kbd/vkcodes.h	2013-09-19 12:45:51.621005583 +0200
+@@ -434,7 +434,7 @@
+ 	{ 0x00, 0, "VK_SEPARATOR"        , NULL   },
+ 	{ 0x4A, 0, "VK_SUBTRACT"         , "KPSU" },
+ 	{ 0x53, 0, "VK_DECIMAL"          , "KPDL" },
+-	{ 0x35, 0, "VK_DIVIDE"           , "KPDV" },
++	{ 0x35, 1, "VK_DIVIDE"           , "KPDV" },
+ 	{ 0x3B, 0, "VK_F1"               , "FK01" },
+ 	{ 0x3C, 0, "VK_F2"               , "FK02" },
+ 	{ 0x3D, 0, "VK_F3"               , "FK03" },