Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2020 15:22:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243547] sysutils/metalog: guard non-standard fflush_unlocked definition behind #ifndef
Message-ID:  <bug-243547-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243547

            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@FreeBSD.org
          Reporter: kevans@freebsd.org

Created attachment 210990
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D210990&action=
=3Dedit
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 implementa=
tion
is committed.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243547-7788>