[Bug 292939] games/xpipeman: use portable fileno() instead of (*FILE)->_file

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 04 Feb 2026 19:25:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292939

            Bug ID: 292939
           Summary: games/xpipeman: use portable fileno() instead of
                    (*FILE)->_file
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: kris@tranception.com

Created attachment 267780
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=267780&action=edit
Patch patching files/patch-score.c in games/xpipeman and games/xrobots

games/xpipeman and games/xrobots access the internal stdio implementation
defined (*FILE)->_file member directly rather using the portable stdio call
fileno().

This patch patches both ports so that possible future changes to internals of
the libc stdio implementation will not break these ports.

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