[Bug 201444] [PATCH] net/drawterm fdclose(3) redefinition fix for 11-CURRENT

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 9 20:40:27 UTC 2015


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

            Bug ID: 201444
           Summary: [PATCH] net/drawterm fdclose(3) redefinition fix for
                    11-CURRENT
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: winston at ml1.net
          Keywords: patch

Created attachment 158571
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158571&action=edit
the fdclose redefinition patch

As of SVN revision r285140 FreeBSD 11-CURRENT has introduced a new stdio
function fdclose(3) which shadows a net/drawterm function definition. Attached
is a patch that shadows the stdio prototype with a macro, and then undefs it
after including stdio.h.

Unfortunately I only have a 11-CURRENT i386 system to test on, but it should
work on all systems. (I used to rely on RedPorts but it's not available
anymore).

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


More information about the freebsd-ports-bugs mailing list