--- smage/trunk/core/spidermonkey/spidermonkey-1.8.5-r7.smage2 2017/08/11 08:56:22 10144 +++ smage/trunk/core/spidermonkey/spidermonkey-1.8.5-r7.smage2 2017/08/11 11:07:15 10145 @@ -27,16 +27,21 @@ http://ftp.mozilla.org/pub/mozilla.org/js/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-fix-install-symlinks.patch + mirror://${PNAME}/${PNAME}-${PVER}-gcc6.patch ) src_prepare() { munpack ${SRCFILE} || die mpatch ${PNAME}-${PVER}-fix-install-symlinks.patch || die + mpatch ${PNAME}-${PVER}-gcc6.patch || die } src_compile() { + # fortify_source not supported + export CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/} + mconfigure --with-system-nspr --enable-threadsafe || die mmake || die }