[Bug 267196] deskutils/remind: fix build on FreeBSD 12.
Date: Wed, 19 Oct 2022 12:27:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267196 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=237455&action=edit 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) -- You are receiving this mail because: You are the assignee for the bug.