mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
diffutils: use 64-bit time.
Else breaks GNU Grep 3.11 test suite.
This commit is contained in:
parent
21ffd2e72e
commit
f76d29b281
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'diffutils'
|
# Template file for 'diffutils'
|
||||||
pkgname=diffutils
|
pkgname=diffutils
|
||||||
version=3.9
|
version=3.9
|
||||||
revision=1
|
revision=2
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="gl_cv_func_gettimeofday_clobber=no gl_cv_func_tzset_clobber=no"
|
configure_args="gl_cv_func_gettimeofday_clobber=no gl_cv_func_tzset_clobber=no"
|
||||||
|
@ -13,6 +13,8 @@ homepage="https://www.gnu.org/software/diffutils"
|
||||||
distfiles="${GNU_SITE}/diffutils/diffutils-${version}.tar.xz"
|
distfiles="${GNU_SITE}/diffutils/diffutils-${version}.tar.xz"
|
||||||
checksum=d80d3be90a201868de83d78dad3413ad88160cc53bcc36eb9eaf7c20dbf023f1
|
checksum=d80d3be90a201868de83d78dad3413ad88160cc53bcc36eb9eaf7c20dbf023f1
|
||||||
|
|
||||||
|
CFLAGS="-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64"
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
export ac_cv_lib_error_at_line=no
|
export ac_cv_lib_error_at_line=no
|
||||||
export ac_cv_header_sys_cdefs_h=no
|
export ac_cv_header_sys_cdefs_h=no
|
||||||
|
|
Loading…
Add table
Reference in a new issue