[Bug 243547] sysutils/metalog: guard non-standard fflush_unlocked definition behind #ifndef
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jan 23 15:22:07 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243547
Bug ID: 243547
Summary: sysutils/metalog: guard non-standard fflush_unlocked
definition behind #ifndef
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: kevans at freebsd.org
Created attachment 210990
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=210990&action=edit
svn(1) diff against the ports tree
A future change to FreeBSD's libc will provide this, so no need to use the
locked variant. Preemptively fix the build so it works for both old/new by
detecting whether fflush_unlocked is already defined or not.
The patch will still be needed for DragonflyBSD compatibility, but the
__FreeBSD__ part of this can be removed later once all supported versions
provide fflush_unlocked.
No PORTREVISION bump because this change is a nop until the libc implementation
is committed.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list