svn commit: r372615 - in branches/2014Q4/www/chromium: . files
Rene Ladan
rene at FreeBSD.org
Sat Nov 15 21:25:09 UTC 2014
Author: rene
Date: Sat Nov 15 21:25:08 2014
New Revision: 372615
URL: https://svnweb.freebsd.org/changeset/ports/372615
QAT: https://qat.redports.org/buildarchive/r372615/
Log:
MFH: r372253
www/chromium:
- fix crash on startup on systems which do not have libexecinfo in base
(typically 8.X and 9.X)
- conditionally bump PORTREVISION
PR: ports/193610
Submitted by: Rob Belics
Patch by: Tomek
Approved by: ports-secteam (rea)
Added:
branches/2014Q4/www/chromium/files/extra-patch-fixup-ffmpeg
- copied unchanged from r372253, head/www/chromium/files/extra-patch-fixup-ffmpeg
Modified:
branches/2014Q4/www/chromium/Makefile
Directory Properties:
branches/2014Q4/ (props changed)
Modified: branches/2014Q4/www/chromium/Makefile
==============================================================================
--- branches/2014Q4/www/chromium/Makefile Sat Nov 15 20:35:16 2014 (r372614)
+++ branches/2014Q4/www/chromium/Makefile Sat Nov 15 21:25:08 2014 (r372615)
@@ -165,6 +165,13 @@ GYP_DEFINES+= disable_sse2=1
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libusb-pc
.endif
+# pointed out by "Tomek" on freebsd-chromium@
+.if !exists(/usr/lib/libexecinfo.so)
+CFLAGS+= -fno-omit-frame-pointer
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-fixup-ffmpeg
+PORTREVISION= 1
+.endif
+
.if ${PORT_OPTIONS:MTEST}
.include "Makefile.tests"
ALL_TARGET+= ${TEST_TARGETS}
Copied: branches/2014Q4/www/chromium/files/extra-patch-fixup-ffmpeg (from r372253, head/www/chromium/files/extra-patch-fixup-ffmpeg)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2014Q4/www/chromium/files/extra-patch-fixup-ffmpeg Sat Nov 15 21:25:08 2014 (r372615, copy of r372253, head/www/chromium/files/extra-patch-fixup-ffmpeg)
@@ -0,0 +1,18 @@
+--- third_party/ffmpeg/ffmpeg.gyp.orig 2014-10-27 20:27:40.000000000 +0100
++++ third_party/ffmpeg/ffmpeg.gyp 2014-11-06 22:53:10.000000000 +0100
+@@ -213,6 +213,15 @@
+ 'cflags!': [
+ '-fno-omit-frame-pointer',
+ ],
++ # "Tomek" from freebsd-chromium@ figured this out, rene is
++ # puzzled why this is needed. Fixes runtime on FreeBSD < 10
++ 'cflags_c': [
++ '-fomit-frame-pointer',
++ ],
++ 'cflags_cc': [
++ '-fomit-frame-pointer',
++ ],
++ # back to upstream code
+ 'debug_extra_cflags!': [
+ '-fno-omit-frame-pointer',
+ ],
More information about the svn-ports-branches
mailing list