mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-06 12:03:25 +02:00
autoconf: update to 2.72.
This commit is contained in:
parent
fe492e3c2a
commit
278fa9a1c8
2 changed files with 41 additions and 6 deletions
37
srcpkgs/autoconf/patches/largefile.patch
Normal file
37
srcpkgs/autoconf/patches/largefile.patch
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
Adjusted from
|
||||||
|
https://github.com/autotools-mirror/autoconf/commit/b71143738516017f0e0d347a4025301c06c40254.patch
|
||||||
|
|
||||||
|
--- a/lib/autoconf/specific.m4
|
||||||
|
+++ b/lib/autoconf/specific.m4
|
||||||
|
@@ -279,25 +279,25 @@
|
||||||
|
# If you change this macro you may also need to change
|
||||||
|
# _AC_SYS_LARGEFILE_OPTIONS.
|
||||||
|
AC_DEFUN([_AC_SYS_LARGEFILE_PROBE],
|
||||||
|
-[AC_CACHE_CHECK([for $CC option to enable large file support],
|
||||||
|
+[AC_CACHE_CHECK([for $CPPFLAGS option to enable large file support],
|
||||||
|
[ac_cv_sys_largefile_opts],
|
||||||
|
- [ac_save_CC="$CC"
|
||||||
|
+ [ac_save_CPPFLAGS=$CPPFLAGS
|
||||||
|
ac_opt_found=no
|
||||||
|
for ac_opt in _AC_SYS_LARGEFILE_OPTIONS; do
|
||||||
|
AS_IF([test x"$ac_opt" != x"none needed"],
|
||||||
|
- [CC="$ac_save_CC $ac_opt"])
|
||||||
|
+ [CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"])
|
||||||
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_CODE])],
|
||||||
|
[AS_IF([test x"$ac_opt" = x"none needed"],
|
||||||
|
[# GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
|
||||||
|
- CC="$CC -DFTYPE=ino_t"
|
||||||
|
+ CPPFLAGS="$CPPFLAGS -DFTYPE=ino_t"
|
||||||
|
AC_COMPILE_IFELSE([], [],
|
||||||
|
- [CC="$CC -D_FILE_OFFSET_BITS=64"
|
||||||
|
+ [CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
|
||||||
|
AC_COMPILE_IFELSE([], [ac_opt='-D_FILE_OFFSET_BITS=64'])])])
|
||||||
|
ac_cv_sys_largefile_opts=$ac_opt
|
||||||
|
ac_opt_found=yes])
|
||||||
|
test $ac_opt_found = no || break
|
||||||
|
done
|
||||||
|
- CC="$ac_save_CC"
|
||||||
|
+ CPPFLAGS=$ac_save_CPPFLAGS
|
||||||
|
dnl Gnulib implements large file support for native Windows, based on the
|
||||||
|
dnl variables WINDOWS_64_BIT_OFF_T, WINDOWS_64_BIT_ST_SIZE.
|
||||||
|
m4_ifdef([gl_LARGEFILE], [
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'autoconf'
|
# Template file for 'autoconf'
|
||||||
pkgname=autoconf
|
pkgname=autoconf
|
||||||
version=2.71
|
version=2.72
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="perl m4 help2man"
|
hostmakedepends="perl m4 help2man"
|
||||||
|
@ -9,11 +9,9 @@ short_desc="Generates automatic source code configuration scripts"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later, GPL-3.0-or-later"
|
license="GPL-2.0-or-later, GPL-3.0-or-later"
|
||||||
homepage="http://www.gnu.org/software/autoconf"
|
homepage="http://www.gnu.org/software/autoconf"
|
||||||
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
|
checksum=ba885c1319578d6c94d46e9b0dceb4014caafe2490e437a0dbca3f270a223f5a
|
||||||
|
|
||||||
pre_check() {
|
pre_check() {
|
||||||
# Disable failing test by adding
|
unset CPP # else breaks test 312: AC_PROG_CPP via CC
|
||||||
# AT_XFAIL_IF([:])
|
|
||||||
sed -i '/AT_SETUP(\[AC_PROG_CPP via CC\])/ s/$/ \nAT_XFAIL_IF(\[:\])/' tests/c.at
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue