summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-gcc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/dyson-gcc.patch')
-rw-r--r--debian/patches/dyson-gcc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/dyson-gcc.patch b/debian/patches/dyson-gcc.patch
new file mode 100644
index 0000000..46f3a63
--- /dev/null
+++ b/debian/patches/dyson-gcc.patch
@@ -0,0 +1,26 @@
+Index: webkitgtk-2.4.11/Source/WebCore/bindings/scripts/preprocessor.pm
+===================================================================
+--- webkitgtk-2.4.11.orig/Source/WebCore/bindings/scripts/preprocessor.pm
++++ webkitgtk-2.4.11/Source/WebCore/bindings/scripts/preprocessor.pm
+@@ -47,8 +47,6 @@ sub applyPreprocessor
+ require Config;
+ if ($ENV{CC}) {
+ $preprocessor = $ENV{CC};
+- } elsif (($Config::Config{'osname'}) =~ /solaris/i) {
+- $preprocessor = "/usr/sfw/bin/gcc";
+ } elsif (-x "/usr/bin/clang") {
+ $preprocessor = "/usr/bin/clang";
+ } elsif ($Config{osname} eq 'msys') {
+Index: webkitgtk-2.4.11/Source/WebCore/dom/make_names.pl
+===================================================================
+--- webkitgtk-2.4.11.orig/Source/WebCore/dom/make_names.pl
++++ webkitgtk-2.4.11/Source/WebCore/dom/make_names.pl
+@@ -65,8 +65,6 @@ require Config;
+ my $gccLocation = "";
+ if ($ENV{CC}) {
+ $gccLocation = $ENV{CC};
+-} elsif (($Config::Config{"osname"}) =~ /solaris/i) {
+- $gccLocation = "/usr/sfw/bin/gcc";
+ } elsif ($Config::Config{"osname"} eq "darwin" && $ENV{SDKROOT}) {
+ chomp($gccLocation = `xcrun -find cc -sdk '$ENV{SDKROOT}'`);
+ } elsif ($Config::Config{"osname"} eq "msys") {