[Bug 238689] math/mingw32-libgmp: depends on to-be-removed gets(3)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 19 13:42:30 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238689

--- Comment #2 from Ed Maste <emaste at freebsd.org> ---
(In reply to Naram Qashat from comment #1)

It looks like mingw cstdio.h already has some support for no gets, e.g.:

#ifndef _GLIBCXX_HAVE_GETS
extern "C" char* gets (char* __s) __attribute__((deprecated));
#endif

upstream fix is probably to wrap the "using ::gets" in the same #ifdef, for the
port just deleting the ::gets is probably sufficient - I suspect the consumer
here is not actually using gets, it's just the reference in the header that's
at fault.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list