Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2022 12:27:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267196] deskutils/remind: fix build on FreeBSD 12.
Message-ID:  <bug-267196-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 267196
           Summary: deskutils/remind: fix build on FreeBSD 12.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://lists.freebsd.org/archives/freebsd-pkg-fallout
                    /2022-October/282238.html
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fuz@fuz.su
 Attachment #237455 maintainer-approval+
             Flags:

Created attachment 237455
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237455&action=
=3Dedit
deskutils/remind: fix build on FreeBSD 12.

The header <sys/file.h> doesn't play well with XSI_SOURCE on
FreeBSD <13.  Luckily it isn't actually needed.  Include the
standard header <fcntl.h> instead.

While we are at it, change REINPLACE_CMD use from post-patch
to pre-configure, making it easier to use the makepatch target.

Tested with Poudriere on arm64 FreeBSD 12.3 13.1.
No need to MFH as 2022Q4 is on a version that does not exhibit this issue.

Reported by: fallout (see URL)

--=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-267196-7788>