diff -Nur webkit.orig/GNUMakefile_am.patch package/www/webkit/GNUMakefile_am.patch --- webkit.orig/GNUMakefile_am.patch 1969-12-31 20:30:00.000000000 -0330 +++ package/www/webkit/GNUMakefile_am.patch 2012-01-11 10:10:45.000000000 -0330 @@ -0,0 +1,11 @@ +--- WebKit-r70732/GNUmakefile.am.orig 2012-01-11 10:09:28.000000000 -0330 ++++ WebKit-r70732/GNUmakefile.am 2012-01-11 10:10:11.000000000 -0330 +@@ -91,7 +91,7 @@ + -Wformat -Wformat-security -Wno-format-y2k -Wundef \ + -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings \ + -Wno-unused-parameter -Wno-parentheses \ +- -fno-exceptions -DENABLE_GLIB_SUPPORT=1 ++ -fno-exceptions -DENABLE_GLIB_SUPPORT=1 -I/opt/gnome2/include/libsoup-2.4 + + + global_cxxflags += \ diff -Nur webkit.orig/perl_1.patch package/www/webkit/perl_1.patch --- webkit.orig/perl_1.patch 1969-12-31 20:30:00.000000000 -0330 +++ package/www/webkit/perl_1.patch 2012-01-11 09:29:38.000000000 -0330 @@ -0,0 +1,34 @@ +--- WebKit-r70732/WebCore/make-hash-tools.pl.orig 2012-01-11 09:26:45.000000000 -0330 ++++ WebKit-r70732/WebCore/make-hash-tools.pl 2012-01-11 09:25:08.000000000 -0330 +@@ -20,7 +20,8 @@ + # Boston, MA 02110-1301, USA. + + use strict; +-use Switch; ++#use Switch; ++use feature "switch"; + use File::Basename; + + my $outdir = $ARGV[0]; +@@ -82,9 +83,10 @@ + + } + +-switch ($option) { ++#switch ($option) { ++given ($option) { + +-case "DocTypeStrings" { ++when ("DocTypeStrings") { + + createHashToolsHeader(); + +@@ -117,7 +119,7 @@ + + } # case "DocTypeStrings" + +-case "ColorData" { ++when ("ColorData") { + + my $colorDataImpl = "$outdir/ColorData.cpp"; + my $colorDataGenerated = "$outdir/ColorDataHash.h"; diff -Nur webkit.orig/perl_2.patch package/www/webkit/perl_2.patch --- webkit.orig/perl_2.patch 1969-12-31 20:30:00.000000000 -0330 +++ package/www/webkit/perl_2.patch 2012-01-11 09:40:12.000000000 -0330 @@ -0,0 +1,11 @@ +--- WebKit-r70732/WebCore/dom/make_names.pl.orig 2010-10-06 09:00:45.000000000 -0230 ++++ WebKit-r70732/WebCore/dom/make_names.pl 2012-01-11 09:38:21.000000000 -0330 +@@ -35,7 +35,7 @@ + use File::Path; + use IO::File; + use InFilesParser; +-use Switch; ++use feature "switch"; + + sub readTags($$); + sub readAttrs($$);