summaryrefslogtreecommitdiff
path: root/x11/qt4-libs
diff options
context:
space:
mode:
authorryoon <ryoon>2012-11-19 10:52:23 +0000
committerryoon <ryoon>2012-11-19 10:52:23 +0000
commit92354fe74ceae29a7f3f4857694c997cc5b8b93f (patch)
treeced0b28951edc32aed4c7b939924ef634839dc05 /x11/qt4-libs
parent9462f2c182492751748cb1875eba10d25b4e4578 (diff)
downloadpkgsrc-92354fe74ceae29a7f3f4857694c997cc5b8b93f.tar.gz
Add patch.
Diffstat (limited to 'x11/qt4-libs')
-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));
+ }
+ }
+