diff --git a/webkitgtk-1.11.4-icu-cppflags.patch b/webkitgtk-1.11.4-icu-cppflags.patch new file mode 100644 index 0000000..0464339 --- /dev/null +++ b/webkitgtk-1.11.4-icu-cppflags.patch @@ -0,0 +1,26 @@ +From eb2ec2d5b8f1e941fcf7a35523d65589882a92f9 Mon Sep 17 00:00:00 2001 +From: Kalev Lember +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 + diff --git a/webkitgtk.spec b/webkitgtk.spec index a7ac27a..508949f 100644 --- a/webkitgtk.spec +++ b/webkitgtk.spec @@ -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