pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/qt4-libs Give unsigned char argument to toupper.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0346477d00f1
branches:  trunk
changeset: 399736:0346477d00f1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Sep 29 06:39:29 2009 +0000

description:
Give unsigned char argument to toupper.
Fixes coredumps in Sigil when pressing "CTRL" or "BACKSPACE".

Bump PKGREVISION.

diffstat:

 x11/qt4-libs/Makefile         |   4 ++--
 x11/qt4-libs/distinfo         |   3 ++-
 x11/qt4-libs/patches/patch-at |  13 +++++++++++++
 3 files changed, 17 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r 93bf2cc20914 -r 0346477d00f1 x11/qt4-libs/Makefile
--- a/x11/qt4-libs/Makefile     Tue Sep 29 04:41:16 2009 +0000
+++ b/x11/qt4-libs/Makefile     Tue Sep 29 06:39:29 2009 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.32 2009/08/26 19:56:38 sno Exp $
+# $NetBSD: Makefile,v 1.33 2009/09/29 06:39:29 wiz Exp $
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 .include "../../x11/qt4-libs/Makefile.common"
 
 PKGNAME=       qt4-libs-${QTVERSION}
-PKGREVISION=   1
+PKGREVISION=   2
 COMMENT=       C++ X GUI toolkit
 
 BUILD_TARGET=          sub-src
diff -r 93bf2cc20914 -r 0346477d00f1 x11/qt4-libs/distinfo
--- a/x11/qt4-libs/distinfo     Tue Sep 29 04:41:16 2009 +0000
+++ b/x11/qt4-libs/distinfo     Tue Sep 29 06:39:29 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.32 2009/07/24 10:56:46 drochner Exp $
+$NetBSD: distinfo,v 1.33 2009/09/29 06:39:30 wiz Exp $
 
 SHA1 (qt-x11-opensource-src-4.5.2.tar.bz2) = bf2dd175cade15f3f505fe6aac1401bdbfeb4e5b
 RMD160 (qt-x11-opensource-src-4.5.2.tar.bz2) = 1af31d7fe66665e718f0c728b41becea9996fba7
@@ -22,6 +22,7 @@
 SHA1 (patch-aq) = f6d48cad9461fd40f4c54669cc275e99cdbb7a34
 SHA1 (patch-ar) = 5bc9a1d384c9a888f1295b87968a09236b48af65
 SHA1 (patch-as) = 818c3d6eecab7706dde7f47b077c3c676e69d67b
+SHA1 (patch-at) = f9b090ead20dd1b664484237ac5777fdd03ea1ed
 SHA1 (patch-av) = f716b571ef0f8b5c7684378a0e3772c1680c6dcf
 SHA1 (patch-ax) = 2c895f23a49be32d4605557a74ce5af34cdfc061
 SHA1 (patch-ba) = 669bd9b71edfe861b2945d696cf5fa151d0d48af
diff -r 93bf2cc20914 -r 0346477d00f1 x11/qt4-libs/patches/patch-at
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-libs/patches/patch-at     Tue Sep 29 06:39:29 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-at,v 1.4 2009/09/29 06:39:30 wiz Exp $
+
+--- src/3rdparty/webkit/WebCore/platform/qt/PlatformKeyboardEventQt.cpp.orig   2009-06-20 04:57:56.000000000 +0000
++++ src/3rdparty/webkit/WebCore/platform/qt/PlatformKeyboardEventQt.cpp
+@@ -134,7 +134,7 @@ static String keyIdentifierForQtKeyCode(
+         case Qt::Key_Backtab:
+             return "U+0009";
+         default:
+-            return String::format("U+%04X", toupper(keyCode));
++            return String::format("U+%04X", toupper((unsigned char)keyCode));
+     }
+ }
+ 



Home | Main Index | Thread Index | Old Index