- Disable backtrace from libexecinfo which causes chrome to crash when compiled

with release CFLAGS under i386.
- Bump PORTREVISION

Submitted by:	George Liaskos
This commit is contained in:
Rene Ladan 2012-06-11 22:39:21 +00:00
parent 3c6dab1840
commit 7c2400bd58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299080
2 changed files with 15 additions and 0 deletions

View file

@ -8,6 +8,7 @@
PORTNAME= chromium
DISTVERSIONPREFIX= courgette-redacted-
DISTVERSION= 19.0.1084.56
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://download.goodking.org/downloads/ \
ftp://rene-ladan.nl/pub/distfiles/ \

View file

@ -0,0 +1,14 @@
--- base/debug/stack_trace_posix.cc.orig 2012-06-11 23:22:13.000000000 +0300
+++ base/debug/stack_trace_posix.cc 2012-06-12 00:09:38.000000000 +0300
@@ -153,6 +153,11 @@
count_ = 0;
return;
}
+#elif defined(OS_FREEBSD)
+ // Disable backtrace for now, libexecinfo crashes in getframeaddr
+ // in release build / i386.
+ count_ = 0;
+ return;
#endif
// Though the backtrace API man page does not list any possible negative
// return values, we take no chance.