HomeFreeBSD

n FreeBSD 8 the name of the mtime member of struct stat was st_mtimespec.

Description

n FreeBSD 8 the name of the mtime member of struct stat was st_mtimespec.
In the early days of FreeBSD 9 (after the branch but before 9.0-RELEASE),
it was renamed to st_mtim in src rev r205792 for POSIX 2008 compliance.
This change was never merged back to 8-STABLE. There was no corresponding
bump of __FreeBSD_version, but the change happened between r900010 and
r900011. Patch the source to use the old name when building on FreeBSD 8.

Remove the BROKEN tag to allow the port to be built on FreeBSD 8.

PR: 195601
Differential Revision: https://reviews.freebsd.org/D2281
Reviewed by: kwm
Approved by: mat (mentor)

Details

Provenance
truckmanAuthored on
Reviewer
kwm
Differential Revision
D2281: Unbreak build of archivers/file-roller on FreeBSD 8.4
Parents
rP383818: The problem causing the build breakage on FreeBSD 8 was fixed
Branches
Unknown
Tags
Unknown

Event Timeline