Skip to content

Commit

Permalink
util-linux: unbreak for 32-bit platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed May 10, 2024
1 parent 569f156 commit 4969f00
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions devel/util-linux/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@ configure.args --disable-agetty \
--without-audit \
--without-python

if {${configure.build_arch} in [list arm i386 ppc]} {
# For some reason, upstream decided to break the build well in advance.
# configure: error: could not enable timestamps after mid-January 2038.
configure.args-append \
--disable-year2038
}

configure.checks.implicit_function_declaration.whitelist-append strchr

# When adding new programs, check the .c file for license
Expand Down

0 comments on commit 4969f00

Please sign in to comment.