Fix the build with new icu 50

This commit is contained in:
Kalev Lember 2013-01-27 18:08:26 +01:00
parent eed06aceb0
commit b422f3ee76
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From eb2ec2d5b8f1e941fcf7a35523d65589882a92f9 Mon Sep 17 00:00:00 2001
From: Kalev Lember <kalevlember@gmail.com>
Date: Sun, 27 Jan 2013 15:53:24 +0100
Subject: [PATCH] [GTK] Pass ICU cppflags to libWebCoreSVG.la build
---
Source/WebCore/GNUmakefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Source/WebCore/GNUmakefile.am b/Source/WebCore/GNUmakefile.am
index 0319a6f..2f24764 100644
--- a/Source/WebCore/GNUmakefile.am
+++ b/Source/WebCore/GNUmakefile.am
@@ -566,7 +566,8 @@ libWebCoreSVG_la_CPPFLAGS = \
$(javascriptcore_cppflags) \
-fno-strict-aliasing \
$(CAIRO_CFLAGS) \
- $(LIBSOUP_CFLAGS)
+ $(LIBSOUP_CFLAGS) \
+ $(UNICODE_CFLAGS)
FEATURE_DEFINES += ENABLE_SVG=1
webcore_cppflags += -DENABLE_SVG=1
--
1.8.1

View File

@ -40,6 +40,8 @@ Patch2: webkit-1.3.10-nspluginwrapper.patch
# Explicitly link with -lrt
# https://bugs.webkit.org/show_bug.cgi?id=103194
Patch3: webkitgtk-librt.patch
# https://bugs.webkit.org/show_bug.cgi?id=108032
Patch4: webkitgtk-1.11.4-icu-cppflags.patch
BuildRequires: bison
BuildRequires: chrpath
@ -107,8 +109,9 @@ This package contains developer documentation for %{name}.
%setup -qn "webkitgtk-%{version}"
%patch2 -p1 -b .nspluginwrapper
%patch3 -p1 -b .librt
%patch4 -p1 -b .icu_cppflags
# For patch3
# For patch3 and patch4
autoreconf --verbose --install -I Source/autotools
%build