Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jul 2015 20:40:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201444] [PATCH] net/drawterm fdclose(3) redefinition fix for 11-CURRENT
Message-ID:  <bug-201444-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: winston@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.



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