summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2012-11-19 10:52:23 +0000
committerryoon <ryoon@pkgsrc.org>2012-11-19 10:52:23 +0000
commitba977d5e983ddcd2d0f0b633f7c5bb9892038d29 (patch)
treeced0b28951edc32aed4c7b939924ef634839dc05 /x11
parent1624126a49e533d039d212782304c22c7f104930 (diff)
downloadpkgsrc-ba977d5e983ddcd2d0f0b633f7c5bb9892038d29.tar.gz
Add patch.
Diffstat (limited to 'x11')
-rw-r--r--x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_WebCore_platform_qt_PlatformKeyboardEventQt.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_WebCore_platform_qt_PlatformKeyboardEventQt.cpp b/x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_WebCore_platform_qt_PlatformKeyboardEventQt.cpp
new file mode 100644
index 00000000000..765cdd23854
--- /dev/null
+++ b/x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_WebCore_platform_qt_PlatformKeyboardEventQt.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_3rdparty_webkit_Source_WebCore_platform_qt_PlatformKeyboardEventQt.cpp,v 1.1 2012/11/19 10:52:23 ryoon Exp $
+
+--- src/3rdparty/webkit/Source/WebCore/platform/qt/PlatformKeyboardEventQt.cpp.orig 2012-09-11 01:36:47.000000000 +0000
++++ src/3rdparty/webkit/Source/WebCore/platform/qt/PlatformKeyboardEventQt.cpp
+@@ -133,7 +133,7 @@ String keyIdentifierForQtKeyCode(int key
+ case Qt::Key_Backtab:
+ return "U+0009";
+ default:
+- return String::format("U+%04X", toupper(keyCode));
++ return String::format("U+%04X", toupper((unsigned char)keyCode));
+ }
+ }
+