mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
sys-devel/autoconf: Sync with gentoo
It's from gentoo commit 56fdf79a7d8ce296190b33599d6a78a26f8a0a00.
This commit is contained in:
parent
da7967964b
commit
0261376338
@ -1,3 +1,5 @@
|
||||
DIST autoconf-2.13.tar.gz 443844 BLAKE2B ade10f9d4a0b1a0e8b752eee817cfe100d77b074192b9892330402ddc5b62dda1a3485ce0c36e72191daa9fd49382b99851cb6aa3a13aca8cf2ae6e884638fb6 SHA512 602584f4c77b7a554aaa068eda5409b68eb0b3229e9c224bffb91c83c4314d25de15bd560a323626ff78f6df339c79e1ef8938c54b78ecadf4dc75c5241290ad
|
||||
DIST autoconf-2.64.tar.xz 1113892 BLAKE2B 598873209a67725150cd4cf09c4b78b26b3d1782f259846da48dc8106a1d32ae2b24f3a864c3be0e9e8dc7d6b6ca8781b83ff33a691c88e68391d1ea861ccf23 SHA512 ee4b504447c14a59b849d0915e55a90522cfb071d1583af2bd3575e5a05d7bd290e55e0e9d0760c8f36043f926199fc2d962b559d27d2f95c70d0e147b4ad0a3
|
||||
DIST autoconf-2.69-runstatedir_patches.tar.xz 257096 BLAKE2B ae765e0ca7fe8261117f6f6b75611c232fc3d4016c22c86346afa72f2b7e6c3b7ccc1f9dfe134b2443f8bde6d578b503d79cf88472f76ce75b6c2e843ef55b8e SHA512 55f93299fe5243151f6bb782986a7935270f06d5065929f4d365a37aba05703e3ce66ecf7981d30413db50ee6b4f77d81d10a71b539c8a366c5c5a156c5443da
|
||||
DIST autoconf-2.69.tar.xz 1214744 BLAKE2B 71d33d72a06e9a05fbed0eda73bc9d8a3805c7c90bf082959862f93f3c5f01192114176e84d84ecb58fa99512eafbc0ab21ad1407be18c8c63bb3dc1117c482d SHA512 995d3e5a8eb1eb37e2b7fae53c6ec7a9b4df997286b7d643344818f94636756b1bf5ff5ea9155e755cb9461149a853dfbf2886fc6bd7132e5afa9c168e306e9b
|
||||
DIST autoconf-2.71.tar.xz 1292296 BLAKE2B 7fd4b98b4cfff10720e8da6ee91045637991643b50fcb3e47a0ecfcc01600f7b7b36fd1c0a5f08b68a418f1bdbd8d5a98de1008157595dd37cc3a31facb61416 SHA512 73d32b4adcbe24e3bafa9f43f59ed3b6efbd3de0f194e5ec90375f35da1199c583f5d3e89139b7edbad35171403709270e339ffa56a2ecb9b3123e9285021ff0
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="${PV:0:3}"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="userland_BSD"
|
||||
|
||||
DEPEND=">=sys-apps/texinfo-4.3
|
||||
@ -24,6 +24,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${P}-gentoo.patch
|
||||
"${FILESDIR}"/${P}-destdir.patch
|
||||
"${FILESDIR}"/${P}-test-fixes.patch #146592
|
||||
"${FILESDIR}"/${PN}-2.13-perl-5.26.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sys-devel/m4-1.4.6
|
||||
@ -19,3 +19,8 @@ DEPEND=">=sys-devel/m4-1.4.6
|
||||
RDEPEND="${DEPEND}
|
||||
!~sys-devel/${P}:2.5
|
||||
>=sys-devel/autoconf-wrapper-13"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.69-perl-5.26.patch
|
||||
"${FILESDIR}"/${PN}-2.69-perl-5.26-2.patch
|
||||
)
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/autoconf.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
|
||||
ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.xz"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
inherit toolchain-autoconf
|
||||
|
||||
DESCRIPTION="Used to create autoconfiguration files"
|
||||
HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="${PV}"
|
||||
IUSE="emacs"
|
||||
|
||||
DEPEND=">=sys-devel/m4-1.4.16
|
||||
>=dev-lang/perl-5.6"
|
||||
RDEPEND="${DEPEND}
|
||||
!~sys-devel/${P}:2.5
|
||||
>=sys-devel/autoconf-wrapper-13"
|
||||
[[ ${PV} == "9999" ]] && DEPEND+=" >=sys-apps/texinfo-4.3"
|
||||
PDEPEND="emacs? ( app-emacs/autoconf-mode )"
|
||||
|
||||
src_prepare() {
|
||||
# usr/bin/libtool is provided by binutils-apple, need gnu libtool
|
||||
[[ ${CHOST} == *-darwin* ]] && \
|
||||
PATCHES+=( "${FILESDIR}"/${PN}-2.61-darwin.patch )
|
||||
PATCHES+=(
|
||||
"${FILESDIR}"/${PN}-2.69-perl-5.26.patch
|
||||
"${FILESDIR}"/${P}-fix-libtool-test.patch
|
||||
"${FILESDIR}"/${PN}-2.69-perl-5.26-2.patch
|
||||
)
|
||||
toolchain-autoconf_src_prepare
|
||||
}
|
58
sdk_container/src/third_party/portage-stable/sys-devel/autoconf/autoconf-2.69-r5.ebuild
vendored
Normal file
58
sdk_container/src/third_party/portage-stable/sys-devel/autoconf/autoconf-2.69-r5.ebuild
vendored
Normal file
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/autoconf.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
|
||||
ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.xz
|
||||
https://dev.gentoo.org/~polynomial-c/dist/${P}-runstatedir_patches.tar.xz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
inherit toolchain-autoconf
|
||||
|
||||
DESCRIPTION="Used to create autoconfiguration files"
|
||||
HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="${PV}"
|
||||
IUSE="emacs"
|
||||
|
||||
BDEPEND=">=sys-devel/m4-1.4.16
|
||||
>=dev-lang/perl-5.6"
|
||||
RDEPEND="${BDEPEND}
|
||||
!~sys-devel/${P}:2.5
|
||||
>=sys-devel/autoconf-wrapper-13"
|
||||
[[ ${PV} == "9999" ]] && BDEPEND+=" >=sys-apps/texinfo-4.3"
|
||||
PDEPEND="emacs? ( app-emacs/autoconf-mode )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.69-perl-5.26.patch
|
||||
"${FILESDIR}"/${P}-fix-libtool-test.patch
|
||||
"${FILESDIR}"/${PN}-2.69-perl-5.26-2.patch
|
||||
"${FILESDIR}"/${P}-make-tests-bash5-compatible.patch
|
||||
|
||||
"${WORKDIR}"/patches/${P}-runstatedir.patch
|
||||
"${WORKDIR}"/patches/${P}-texinfo.patch
|
||||
"${WORKDIR}"/patches/${P}-runstatedir_info.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# usr/bin/libtool is provided by binutils-apple, need gnu libtool
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
PATCHES+=( "${FILESDIR}"/${PN}-2.61-darwin.patch )
|
||||
fi
|
||||
|
||||
# Save timestamp to avoid later makeinfo call
|
||||
touch -r doc/{,old_}autoconf.texi || die
|
||||
|
||||
toolchain-autoconf_src_prepare
|
||||
|
||||
# Restore timestamp to avoid makeinfo call
|
||||
# We already have an up to date autoconf.info page at this point.
|
||||
touch -r doc/{old_,}autoconf.texi || die
|
||||
}
|
77
sdk_container/src/third_party/portage-stable/sys-devel/autoconf/autoconf-2.71-r1.ebuild
vendored
Normal file
77
sdk_container/src/third_party/portage-stable/sys-devel/autoconf/autoconf-2.71-r1.ebuild
vendored
Normal file
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/autoconf.git"
|
||||
inherit git-r3
|
||||
else
|
||||
# For _beta handling replace with real version number
|
||||
MY_PV="${PV}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
#PATCH_TARBALL_NAME="${PN}-2.70-patches-01"
|
||||
SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz -> ${P}.tar.xz
|
||||
https://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz -> ${P}.tar.xz"
|
||||
#SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${PATCH_TARBALL_NAME}.tar.xz"
|
||||
[[ "${PV}" == *_beta* ]] || \
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
inherit toolchain-autoconf
|
||||
|
||||
DESCRIPTION="Used to create autoconfiguration files"
|
||||
HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="${PV/_*}"
|
||||
IUSE="emacs"
|
||||
|
||||
BDEPEND=">=sys-devel/m4-1.4.16
|
||||
>=dev-lang/perl-5.6"
|
||||
RDEPEND="${BDEPEND}
|
||||
>=sys-devel/autoconf-wrapper-15
|
||||
sys-devel/gnuconfig
|
||||
!~sys-devel/${P}:2.5"
|
||||
[[ ${PV} == "9999" ]] && BDEPEND+=" >=sys-apps/texinfo-4.3"
|
||||
PDEPEND="emacs? ( app-emacs/autoconf-mode )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-time.patch" )
|
||||
|
||||
src_prepare() {
|
||||
# usr/bin/libtool is provided by binutils-apple, need gnu libtool
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
PATCHES+=( "${FILESDIR}"/${PN}-2.71-darwin.patch )
|
||||
fi
|
||||
|
||||
# Save timestamp to avoid later makeinfo call
|
||||
touch -r doc/{,old_}autoconf.texi || die
|
||||
|
||||
local pdir
|
||||
for pdir in "${WORKDIR}"/{upstream_,}patches ; do
|
||||
if [[ -d "${pdir}" ]] ; then
|
||||
eapply ${pdir}
|
||||
fi
|
||||
done
|
||||
|
||||
toolchain-autoconf_src_prepare
|
||||
|
||||
# Restore timestamp to avoid makeinfo call
|
||||
# We already have an up to date autoconf.info page at this point.
|
||||
touch -r doc/{old_,}autoconf.texi || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
toolchain-autoconf_src_install
|
||||
|
||||
local f
|
||||
for f in config.{guess,sub} ; do
|
||||
ln -fs ../../gnuconfig/${f} \
|
||||
"${ED}"/usr/share/autoconf-*/build-aux/${f} || die
|
||||
done
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/autoconf.git"
|
||||
@ -9,7 +9,7 @@ if [[ ${PV} == "9999" ]] ; then
|
||||
else
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
|
||||
ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
|
||||
fi
|
||||
|
||||
inherit toolchain-autoconf
|
||||
@ -21,21 +21,38 @@ LICENSE="GPL-3"
|
||||
SLOT="${PV}"
|
||||
IUSE="emacs"
|
||||
|
||||
DEPEND=">=sys-devel/m4-1.4.16
|
||||
BDEPEND=">=sys-devel/m4-1.4.16
|
||||
>=dev-lang/perl-5.6"
|
||||
RDEPEND="${DEPEND}
|
||||
!~sys-devel/${P}:2.5
|
||||
>=sys-devel/autoconf-wrapper-13"
|
||||
[[ ${PV} == "9999" ]] && DEPEND+=" >=sys-apps/texinfo-4.3"
|
||||
RDEPEND="${BDEPEND}
|
||||
>=sys-devel/autoconf-wrapper-14
|
||||
sys-devel/gnuconfig
|
||||
!~sys-devel/${P}:2.5"
|
||||
[[ ${PV} == "9999" ]] && BDEPEND+=" >=sys-apps/texinfo-4.3"
|
||||
PDEPEND="emacs? ( app-emacs/autoconf-mode )"
|
||||
|
||||
src_prepare() {
|
||||
# Avoid the "dirty" suffix in the git version by generating it
|
||||
# before we run later stages which might modify source files.
|
||||
local ver=$(./build-aux/git-version-gen .tarball-version)
|
||||
echo "${ver}" > .tarball-version || die
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
# Avoid the "dirty" suffix in the git version by generating it
|
||||
# before we run later stages which might modify source files.
|
||||
local ver=$(./build-aux/git-version-gen .tarball-version)
|
||||
echo "${ver}" > .tarball-version || die
|
||||
|
||||
autoreconf -f -i || die
|
||||
autoreconf -f -i || die
|
||||
fi
|
||||
|
||||
toolchain-autoconf_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
local f
|
||||
for f in config.{guess,sub} ; do
|
||||
ln -fs ../../gnuconfig/${f} \
|
||||
"${ED}"/usr/share/autoconf-*/build-aux/${f} || die
|
||||
done
|
||||
}
|
||||
|
@ -0,0 +1,12 @@
|
||||
diff -ruN autoconf-2.13.orig/autoscan.pl autoconf-2.13/autoscan.pl
|
||||
--- autoconf-2.13.orig/autoscan.pl 1999-01-05 14:28:42.000000000 +0100
|
||||
+++ autoconf-2.13/autoscan.pl 2018-12-22 19:55:10.986732296 +0100
|
||||
@@ -232,7 +232,7 @@
|
||||
# Strip out comments and variable references.
|
||||
s/#.*//;
|
||||
s/\$\([^\)]*\)//g;
|
||||
- s/\${[^\}]*}//g;
|
||||
+ s/\$\{[^\}]*}//g;
|
||||
s/@[^@]*@//g;
|
||||
|
||||
# Variable assignments.
|
@ -0,0 +1,63 @@
|
||||
From 5b9db67786a428164abafe626ab11a2754aad528 Mon Sep 17 00:00:00 2001
|
||||
From: Ondrej Dubaj <odubaj@redhat.com>
|
||||
Date: Wed, 28 Aug 2019 07:39:50 +0200
|
||||
Subject: Port tests to Bash 5
|
||||
|
||||
* tests/local.at (AT_CHECK_ENV, AT_CONFIG_CMP):
|
||||
Add BASH_ARGC, BASH_ARGV to list of variables to be ignored when
|
||||
comparing variable space dumps.
|
||||
(AT_CONFIG_CMP): Also ignore LINENO.
|
||||
* tests/m4sh.at: Also unset LINENO in 'reference' and 'test/test-1'.
|
||||
---
|
||||
tests/local.at | 5 ++++-
|
||||
tests/m4sh.at | 4 ++--
|
||||
2 files changed, 6 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/tests/local.at b/tests/local.at
|
||||
index a22958c0..852be285 100644
|
||||
--- a/tests/local.at
|
||||
+++ b/tests/local.at
|
||||
@@ -325,7 +325,7 @@ if test -f state-env.before && test -f state-env.after; then
|
||||
[AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|MKDIR_P|RANLIB|SET_MAKE|YACC],
|
||||
[GREP|[EF]GREP|SED],
|
||||
[[_@]|.[*#?$].],
|
||||
- [argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS]))=' \
|
||||
+ [argv|ARGC|LINENO|BASH_ARGC|BASH_ARGV|OLDPWD|PIPESTATUS|RANDOM|SECONDS]))=' \
|
||||
$act_file ||
|
||||
test $? -eq 1 || echo failed >&2
|
||||
) 2>stderr-$act_file |
|
||||
@@ -382,6 +382,9 @@ do
|
||||
/'\'\\\$\''=/ d
|
||||
/^argv=/ d
|
||||
/^ARGC=/ d
|
||||
+ /^BASH_ARGC=/ d
|
||||
+ /^BASH_ARGV=/ d
|
||||
+ /^LINENO=/ d
|
||||
' $act_file >at_config_vars-$act_file
|
||||
done
|
||||
AT_CMP([at_config_vars-$1], [at_config_vars-$2])[]dnl
|
||||
diff --git a/tests/m4sh.at b/tests/m4sh.at
|
||||
index e9d70b02..cbdfcb62 100644
|
||||
--- a/tests/m4sh.at
|
||||
+++ b/tests/m4sh.at
|
||||
@@ -254,7 +254,7 @@ AT_CHECK([autom4te -l m4sh $1.as -o $1])
|
||||
# `_oline_', once processed and ran, produces our reference.
|
||||
# We check that we find ourselves by looking at a string which is
|
||||
# available only in the original script: `_oline_'.
|
||||
-AT_DATA_LINENO([reference], [false], [__OLINE__], [_oline__])
|
||||
+AT_DATA_LINENO([reference], [true], [__OLINE__], [_oline__])
|
||||
AT_CHECK([./reference], 0, [stdout])
|
||||
|
||||
# The reference:
|
||||
@@ -264,7 +264,7 @@ mv stdout expout
|
||||
# Be sure to be out of the PATH.
|
||||
AT_CHECK([mkdir test || exit 77])
|
||||
|
||||
-AT_DATA_LINENO([test/test-1], [false], [__LINENO__], [LINENO])
|
||||
+AT_DATA_LINENO([test/test-1], [true], [__LINENO__], [LINENO])
|
||||
AT_CHECK([./test/test-1], 0, [expout])
|
||||
AT_CHECK([(PATH=test$PATH_SEPARATOR$PATH; export PATH; exec test-1)],
|
||||
0, [expout])
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
11
sdk_container/src/third_party/portage-stable/sys-devel/autoconf/files/autoconf-2.71-darwin.patch
vendored
Normal file
11
sdk_container/src/third_party/portage-stable/sys-devel/autoconf/files/autoconf-2.71-darwin.patch
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/bin/autoreconf.in
|
||||
+++ b/bin/autoreconf.in
|
||||
@@ -122,7 +122,7 @@
|
||||
my $autom4te = $ENV{'AUTOM4TE'} || '@bindir@/@autom4te-name@';
|
||||
my $automake = $ENV{'AUTOMAKE'} || 'automake';
|
||||
my $aclocal = $ENV{'ACLOCAL'} || 'aclocal';
|
||||
-my $libtoolize = $ENV{'LIBTOOLIZE'} || 'libtoolize';
|
||||
+my $libtoolize = $ENV{'LIBTOOLIZE'} || 'glibtoolize';
|
||||
my $intltoolize = $ENV{'INTLTOOLIZE'} || 'intltoolize';
|
||||
my $gtkdocize = $ENV{'GTKDOCIZE'} || 'gtkdocize';
|
||||
my $autopoint = $ENV{'AUTOPOINT'} || 'autopoint';
|
49
sdk_container/src/third_party/portage-stable/sys-devel/autoconf/files/autoconf-2.71-time.patch
vendored
Normal file
49
sdk_container/src/third_party/portage-stable/sys-devel/autoconf/files/autoconf-2.71-time.patch
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
From e194b3c7e00429612a9d40e78ea571687fd25b91 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@gentoo.org>
|
||||
Date: Sun, 1 Aug 2021 19:07:48 +0200
|
||||
Subject: [PATCH] Use stat from Time::HiRes (instead of File::stat)
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
|
||||
---
|
||||
lib/Autom4te/FileUtils.pm | 9 +++++----
|
||||
1 file changed, 5 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/lib/Autom4te/FileUtils.pm b/lib/Autom4te/FileUtils.pm
|
||||
index a182031b..27a5fd91 100644
|
||||
--- a/lib/Autom4te/FileUtils.pm
|
||||
+++ b/lib/Autom4te/FileUtils.pm
|
||||
@@ -34,12 +34,12 @@ This perl module provides various general purpose file handling functions.
|
||||
|
||||
=cut
|
||||
|
||||
-use 5.006;
|
||||
+use 5.008;
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
|
||||
use Exporter;
|
||||
-use File::stat;
|
||||
+use Time::HiRes qw(stat);
|
||||
use IO::File;
|
||||
|
||||
use Autom4te::Channels;
|
||||
@@ -115,10 +115,11 @@ sub mtime ($)
|
||||
return 0
|
||||
if $file eq '-' || ! -f $file;
|
||||
|
||||
- my $stat = stat ($file)
|
||||
+ my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
|
||||
+ $atime,$mtime,$ctime,$blksize,$blocks) = stat ($file)
|
||||
or fatal "cannot stat $file: $!";
|
||||
|
||||
- return $stat->mtime;
|
||||
+ return $mtime;
|
||||
}
|
||||
|
||||
|
||||
--
|
||||
2.31.1
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
|
Loading…
x
Reference in New Issue
Block a user