[Bug 239507] lang/spidermonkey52: fix build with GCC-based architectures
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jul 29 07:51:40 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239507
Bug ID: 239507
Summary: lang/spidermonkey52: fix build with GCC-based
architectures
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: kwm at FreeBSD.org
Reporter: pkubaj at FreeBSD.org
Flags: maintainer-feedback?(kwm at FreeBSD.org)
Assignee: kwm at FreeBSD.org
Created attachment 206134
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206134&action=edit
patch
With gcc9, build fails:
/usr/local/poudriere/ports/default/lang/spidermonkey52/work/firefox-52.9.0esr/js/src/jsapi-tests/testPrintf.cpp:
In member function 'virtual bool cls_testPrintf::run(JS::HandleObject
)':
/usr/local/poudriere/ports/default/lang/spidermonkey52/work/firefox-52.9.0esr/js/src/jsapi-tests/testPrintf.cpp:58:20:
error: '%s' directive argument is null [-Werror=format-overflow
=]
58 | CHECK(print_one("(null)", "%s", zero()));
Remove the test printf:
CHECK(print_one("(null)", "%s", zero()));
to fix build.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list