From ccc6f007025073137c2f136fcfb1abab726b2566 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Tue, 28 Jun 2011 17:15:38 +0000 Subject: [PATCH] Add a workaround for a few keys to make them match with the FreeBSD keymap. Submitted by: Kuan-Chung Chiu PR: ports/157914 Approved by: maintainer --- textproc/ibus/Makefile | 1 + textproc/ibus/files/patch-data-keymaps-common | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 textproc/ibus/files/patch-data-keymaps-common diff --git a/textproc/ibus/Makefile b/textproc/ibus/Makefile index 81143b4fa3a9..36146f83dc1c 100644 --- a/textproc/ibus/Makefile +++ b/textproc/ibus/Makefile @@ -7,6 +7,7 @@ PORTNAME= ibus PORTVERSION= 1.3.9 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} diff --git a/textproc/ibus/files/patch-data-keymaps-common b/textproc/ibus/files/patch-data-keymaps-common new file mode 100644 index 000000000000..a927b8b05734 --- /dev/null +++ b/textproc/ibus/files/patch-data-keymaps-common @@ -0,0 +1,28 @@ +--- data/keymaps/common.orig 2010-10-20 19:27:43.000000000 +0800 ++++ data/keymaps/common 2011-06-16 05:39:55.000000000 +0800 +@@ -85,14 +85,14 @@ + shift altgr keycode 86 = brokenbar + keycode 87 = F11 + keycode 88 = F12 +-keycode 98 = KP_Divide +-keycode 102 = Home +-keycode 103 = Up +-keycode 104 = Page_Up +-keycode 105 = Left +-keycode 106 = Right +-keycode 107 = End +-keycode 108 = Down +-keycode 109 = Page_Down +-keycode 110 = Insert +-keycode 111 = Delete ++keycode 89 = Home ++keycode 90 = Up ++keycode 91 = Page_Up ++keycode 92 = Left ++keycode 94 = Right ++keycode 95 = End ++keycode 96 = Down ++keycode 97 = Page_Down ++keycode 98 = Insert ++keycode 99 = Delete ++keycode 104 = KP_Divide