aboutsummaryrefslogtreecommitdiffstats
path: root/www/chromium/files
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2012-04-06 06:06:38 +0800
committerrene <rene@FreeBSD.org>2012-04-06 06:06:38 +0800
commit8c28106f23800c1abc8538c65537a9382dcbcc24 (patch)
tree698f45a88273c58107a9982e970802d21d663c84 /www/chromium/files
parent025d7244fe6a03066e7c3460d6de51f45fed8be5 (diff)
downloadfreebsd-ports-gnome-8c28106f23800c1abc8538c65537a9382dcbcc24.tar.gz
freebsd-ports-gnome-8c28106f23800c1abc8538c65537a9382dcbcc24.tar.zst
freebsd-ports-gnome-8c28106f23800c1abc8538c65537a9382dcbcc24.zip
- Update to 18.0.1025.151
- switch to gcc46 as compiler, clang appears to be too troublesome in practice - add a patch to avoid fix SIGFPE crashes from protoc during the build [1] Submitted by: theraven via #bsdports [1] Security: http://www.vuxml.org/freebsd/057130e6-7f61-11e1-8a43-00262d5ed8ee.html Feature safe: yes
Diffstat (limited to 'www/chromium/files')
-rw-r--r--www/chromium/files/patch-third_party__protobuf__src__google__protobuf__compiler__main.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/chromium/files/patch-third_party__protobuf__src__google__protobuf__compiler__main.cc b/www/chromium/files/patch-third_party__protobuf__src__google__protobuf__compiler__main.cc
new file mode 100644
index 000000000000..bc44b5b7abd0
--- /dev/null
+++ b/www/chromium/files/patch-third_party__protobuf__src__google__protobuf__compiler__main.cc
@@ -0,0 +1,15 @@
+--- third_party/protobuf/src/google/protobuf/compiler/main.cc.orig 2012-03-27 03:01:30.000000000 +0200
++++ third_party/protobuf/src/google/protobuf/compiler/main.cc 2012-04-01 12:39:04.000000000 +0200
+@@ -35,9 +35,12 @@
+ #include <google/protobuf/compiler/python/python_generator.h>
+ #include <google/protobuf/compiler/java/java_generator.h>
+
++#include <fenv.h>
+
+ int main(int argc, char* argv[]) {
+
++ fedisableexcept(FE_INVALID);
++
+ google::protobuf::compiler::CommandLineInterface cli;
+ cli.AllowPlugins("protoc-");
+