From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qtwebkit23/files/, dev-qt/qtwebkit23/
Date: Mon, 16 Mar 2015 16:34:25 +0000 (UTC) [thread overview]
Message-ID: <1426523644.020ea1d221e2956779d185f3bd9ff63d330ff8f8.kensington@gentoo> (raw)
commit: 020ea1d221e2956779d185f3bd9ff63d330ff8f8
Author: Enrico Tagliavini <enrico.tagliavini <AT> gmail <DOT> com>
AuthorDate: Sat Mar 7 16:14:04 2015 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 16:34:04 2015 +0000
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=020ea1d2
[dev-qt/qtwebkit23] add support for building with libxml2[icu]
Add a patch to let it build when libxml2 is compiled with icu support
enabled. This solves conflicts with, e.g., chromium depending on
libxml2[icu]
.../qtwebkit23-2.3.4-use-correct-typedef.patch | 40 ++++++++++++++++++++++
dev-qt/qtwebkit23/qtwebkit23-2.3.4.ebuild | 8 ++---
2 files changed, 44 insertions(+), 4 deletions(-)
diff --git a/dev-qt/qtwebkit23/files/qtwebkit23-2.3.4-use-correct-typedef.patch b/dev-qt/qtwebkit23/files/qtwebkit23-2.3.4-use-correct-typedef.patch
new file mode 100644
index 0000000..3e48162
--- /dev/null
+++ b/dev-qt/qtwebkit23/files/qtwebkit23-2.3.4-use-correct-typedef.patch
@@ -0,0 +1,40 @@
+From 916f00008b602ae1b260106e7fb1274d2282f61f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Kundr=C3=A1t?= <jkt@flaska.net>
+Date: Tue, 3 Sep 2013 16:59:35 +0200
+Subject: [PATCH] ICU has defined UChar32 to be an int32_t since 2002
+
+This fixes the build failure of qtwebkit23 on my Gentoo machine.
+---
+ Source/WTF/wtf/unicode/qt4/UnicodeQt4.h | 2 +-
+ Source/WTF/wtf/unicode/wchar/UnicodeWchar.h | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Source/WTF/wtf/unicode/qt4/UnicodeQt4.h b/Source/WTF/wtf/unicode/qt4/UnicodeQt4.h
+index a2d1ad4..392d2db 100644
+--- a/Source/WTF/wtf/unicode/qt4/UnicodeQt4.h
++++ b/Source/WTF/wtf/unicode/qt4/UnicodeQt4.h
+@@ -69,7 +69,7 @@ typedef uint16_t UChar;
+ #endif
+
+ #if !USE(ICU_UNICODE)
+-typedef uint32_t UChar32;
++typedef int32_t UChar32;
+ #endif
+
+ namespace WTF {
+diff --git a/Source/WTF/wtf/unicode/wchar/UnicodeWchar.h b/Source/WTF/wtf/unicode/wchar/UnicodeWchar.h
+index 10c2026..db8944e 100644
+--- a/Source/WTF/wtf/unicode/wchar/UnicodeWchar.h
++++ b/Source/WTF/wtf/unicode/wchar/UnicodeWchar.h
+@@ -31,7 +31,7 @@
+ #include <wtf/unicode/UnicodeMacrosFromICU.h>
+
+ typedef wchar_t UChar;
+-typedef uint32_t UChar32;
++typedef int32_t UChar32;
+
+ namespace WTF {
+ namespace Unicode {
+--
+1.7.1
+
diff --git a/dev-qt/qtwebkit23/qtwebkit23-2.3.4.ebuild b/dev-qt/qtwebkit23/qtwebkit23-2.3.4.ebuild
index 10d51a26..05e60bf 100644
--- a/dev-qt/qtwebkit23/qtwebkit23-2.3.4.ebuild
+++ b/dev-qt/qtwebkit23/qtwebkit23-2.3.4.ebuild
@@ -14,13 +14,11 @@ SRC_URI="http://dev.gentoo.org/~kensington/distfiles/qtwebkit23-2.3.4.tar.xz"
LICENSE="|| ( LGPL-2.1 GPL-3 )"
SLOT="4"
KEYWORDS="~amd64"
-
IUSE="+gstreamer"
-# libxml2[!icu] is needed for bugs 407315 and 411091
-# https://bugs.webkit.org/show_bug.cgi?id=82824
+
RDEPEND="
>=dev-db/sqlite-3.8.3:3
- dev-libs/libxml2:2[-icu]
+ dev-libs/libxml2:2
dev-libs/libxslt
dev-qt/qtcore:4[ssl]
dev-qt/qtdeclarative:4
@@ -62,6 +60,8 @@ src_prepare() {
sed -i -e '/SUBDIRS += examples/d' Source/QtWebKit.pro || die
sed -i -e "/QMAKE_CXXFLAGS_RELEASE/d" Source/WTF/WTF.pro Source/JavaScriptCore/Target.pri || die
+
+ epatch "${FILESDIR}"/${PN}-2.3.4-use-correct-typedef.patch
}
src_compile() {
next reply other threads:[~2015-03-16 16:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-16 16:34 Michael Palimaka [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-07-23 17:23 [gentoo-commits] proj/qt:master commit in: dev-qt/qtwebkit23/files/, dev-qt/qtwebkit23/ Davide Pesavento
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1426523644.020ea1d221e2956779d185f3bd9ff63d330ff8f8.kensington@gentoo \
--to=kensington@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox