diff options
author | rene <rene@FreeBSD.org> | 2011-08-15 14:38:39 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2011-08-15 14:38:39 +0800 |
commit | 3f15fe96641295af154c395668a3608666fe6bd8 (patch) | |
tree | f61ef20addefab5c26821b2d5baba1953b540e60 /www/chromium | |
parent | 99e68c10523f8c6f8a167d16ce3cd1731bc5b886 (diff) | |
download | freebsd-ports-gnome-3f15fe96641295af154c395668a3608666fe6bd8.tar.gz freebsd-ports-gnome-3f15fe96641295af154c395668a3608666fe6bd8.tar.zst freebsd-ports-gnome-3f15fe96641295af154c395668a3608666fe6bd8.zip |
Fix build with clang
Obtained from: http://trillian.chruetertee.ch/chromium/changeset/209
Diffstat (limited to 'www/chromium')
-rw-r--r-- | www/chromium/files/patch-skia__skia.gyp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-skia__skia.gyp b/www/chromium/files/patch-skia__skia.gyp new file mode 100644 index 000000000000..cd26fdeba279 --- /dev/null +++ b/www/chromium/files/patch-skia__skia.gyp @@ -0,0 +1,11 @@ +--- skia/skia.gyp.orig 2011-08-06 10:01:12.000000000 +0200 ++++ skia/skia.gyp 2011-08-14 23:28:45.000000000 +0200 +@@ -752,7 +752,7 @@ + '../third_party/skia/src/opts/opts_check_SSE2.cpp' + ], + }], +- ['clang==1', { ++ ['OS=="freebsd"', { + 'defines': [ + # Remove all use of __restrict__ -- skia uses it incorrectly, + # and clang is more strict about it. |