diff options
Diffstat (limited to 'www-client/chromium/files/chromium-perl-5.14-r0.patch')
-rw-r--r-- | www-client/chromium/files/chromium-perl-5.14-r0.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-perl-5.14-r0.patch b/www-client/chromium/files/chromium-perl-5.14-r0.patch new file mode 100644 index 0000000..40d6ea3 --- /dev/null +++ b/www-client/chromium/files/chromium-perl-5.14-r0.patch @@ -0,0 +1,37 @@ +Index: third_party/WebKit/Source/WebCore/make-hash-tools.pl +=================================================================== +--- third_party/WebKit/Source/WebCore/make-hash-tools.pl (revision 72664) ++++ third_party/WebKit/Source/WebCore/make-hash-tools.pl (revision 89265) +@@ -21,5 +21,4 @@ + + use strict; +-use Switch; + use File::Basename; + +@@ -29,7 +28,5 @@ + + +-switch ($option) { +- +-case "DocTypeStrings" { ++if ($option eq "DocTypeStrings") { + + my $docTypeStringsGenerated = "$outdir/DocTypeStrings.cpp"; +@@ -39,7 +36,5 @@ + system("gperf --key-positions=\"*\" -s 2 $docTypeStringsGperf > $docTypeStringsGenerated") == 0 || die "calling gperf failed: $?"; + +-} # case "DocTypeStrings" +- +-case "ColorData" { ++} elsif ($option eq "ColorData") { + + my $colorDataGenerated = "$outdir/ColorData.cpp"; +@@ -49,5 +44,5 @@ + system("gperf --key-positions=\"*\" -D -s 2 $colorDataGperf > $colorDataGenerated") == 0 || die "calling gperf failed: $?"; + +-} # case "ColorData" +- +-} # switch ($option) ++} else { ++ die "Unknown option."; ++} |