Gentoo Archives: gentoo-commits

From: "Davide Pesavento (pesa)" <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-qt/qtwebkit/files: 4.10.4-use-correct-icu-typedef.patch
Date: Thu, 23 Jul 2015 20:36:47
Message-Id: 20150723203644.A466AC2@oystercatcher.gentoo.org
1 pesa 15/07/23 20:36:44
2
3 Added: 4.10.4-use-correct-icu-typedef.patch
4 Log:
5 Import qtwebkit23-2.3.4 from qt overlay as qtwebkit-4.10.4 (version of the installed library). See bug 388207.
6
7 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)
8
9 Revision Changes Path
10 1.1 dev-qt/qtwebkit/files/4.10.4-use-correct-icu-typedef.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qtwebkit/files/4.10.4-use-correct-icu-typedef.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qtwebkit/files/4.10.4-use-correct-icu-typedef.patch?rev=1.1&content-type=text/plain
14
15 Index: 4.10.4-use-correct-icu-typedef.patch
16 ===================================================================
17 From 916f00008b602ae1b260106e7fb1274d2282f61f Mon Sep 17 00:00:00 2001
18 From: =?UTF-8?q?Jan=20Kundr=C3=A1t?= <jkt@××××××.net>
19 Date: Tue, 3 Sep 2013 16:59:35 +0200
20 Subject: [PATCH] ICU has defined UChar32 to be an int32_t since 2002
21
22 This fixes the build failure of qtwebkit23 on my Gentoo machine.
23 ---
24 Source/WTF/wtf/unicode/qt4/UnicodeQt4.h | 2 +-
25 Source/WTF/wtf/unicode/wchar/UnicodeWchar.h | 2 +-
26 2 files changed, 2 insertions(+), 2 deletions(-)
27
28 diff --git a/Source/WTF/wtf/unicode/qt4/UnicodeQt4.h b/Source/WTF/wtf/unicode/qt4/UnicodeQt4.h
29 index a2d1ad4..392d2db 100644
30 --- a/Source/WTF/wtf/unicode/qt4/UnicodeQt4.h
31 +++ b/Source/WTF/wtf/unicode/qt4/UnicodeQt4.h
32 @@ -69,7 +69,7 @@ typedef uint16_t UChar;
33 #endif
34
35 #if !USE(ICU_UNICODE)
36 -typedef uint32_t UChar32;
37 +typedef int32_t UChar32;
38 #endif
39
40 namespace WTF {
41 diff --git a/Source/WTF/wtf/unicode/wchar/UnicodeWchar.h b/Source/WTF/wtf/unicode/wchar/UnicodeWchar.h
42 index 10c2026..db8944e 100644
43 --- a/Source/WTF/wtf/unicode/wchar/UnicodeWchar.h
44 +++ b/Source/WTF/wtf/unicode/wchar/UnicodeWchar.h
45 @@ -31,7 +31,7 @@
46 #include <wtf/unicode/UnicodeMacrosFromICU.h>
47
48 typedef wchar_t UChar;
49 -typedef uint32_t UChar32;
50 +typedef int32_t UChar32;
51
52 namespace WTF {
53 namespace Unicode {
54 --
55 1.7.1