public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/autoconf/, sys-devel/autoconf/files/
Date: Fri,  4 Aug 2017 15:17:43 +0000 (UTC)	[thread overview]
Message-ID: <1501859859.565193ae54cfbf09e592ed5607b3775986d93c53.polynomial-c@gentoo> (raw)

commit:     565193ae54cfbf09e592ed5607b3775986d93c53
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  4 15:17:17 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Aug  4 15:17:39 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=565193ae

sys-devel/autoconf: Revbump to add another perl-5.26 fix (bug #625576).

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 ...conf-2.69-r3.ebuild => autoconf-2.69-r4.ebuild} |  6 +++--
 .../autoconf/files/autoconf-2.69-perl-5.26-2.patch | 30 ++++++++++++++++++++++
 2 files changed, 34 insertions(+), 2 deletions(-)

diff --git a/sys-devel/autoconf/autoconf-2.69-r3.ebuild b/sys-devel/autoconf/autoconf-2.69-r4.ebuild
similarity index 94%
rename from sys-devel/autoconf/autoconf-2.69-r3.ebuild
rename to sys-devel/autoconf/autoconf-2.69-r4.ebuild
index 54b5079415c..eac25293936 100644
--- a/sys-devel/autoconf/autoconf-2.69-r3.ebuild
+++ b/sys-devel/autoconf/autoconf-2.69-r4.ebuild
@@ -1,14 +1,14 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=6
 
 if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="git://git.savannah.gnu.org/${PN}.git
 		http://git.savannah.gnu.org/r/${PN}.git"
 	# We need all the tags in order to figure out the right version.
 	# The git-r3 eclass doesn't support that, so have to stick to 2.
-	inherit git-2
+	inherit git-r3
 else
 	SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
 		ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.xz"
@@ -39,6 +39,8 @@ src_prepare()   {
 	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
+	eapply_user
 }

diff --git a/sys-devel/autoconf/files/autoconf-2.69-perl-5.26-2.patch b/sys-devel/autoconf/files/autoconf-2.69-perl-5.26-2.patch
new file mode 100644
index 00000000000..6becf807c43
--- /dev/null
+++ b/sys-devel/autoconf/files/autoconf-2.69-perl-5.26-2.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/625576
+
+--- autoconf-2.69/bin/autoheader.in
++++ autoconf-2.69/bin/autoheader.in
+@@ -173,6 +173,12 @@
+ # Source what the traces are trying to tell us.
+ verb "$me: running $autoconf to trace from $ARGV[0]";
+ my $quoted_tmp = shell_quote ($tmp);
++my $perl_tmp;
++if ( $tmp =~ /^\// ) {
++  $perl_tmp=$tmp;
++} else {
++  $perl_tmp="./".$tmp;
++}
+ xsystem ("$autoconf"
+ 	 # If you change this list, update the
+ 	 # `Autoheader-preselections' section of autom4te.in.
+@@ -182,9 +188,9 @@
+ 	 . " " . shell_quote ($ARGV[0]) . " >$quoted_tmp/traces.pl");
+ 
+ local (%verbatim, %symbol);
+-debug "$me: \`do'ing $tmp/traces.pl:\n" . `sed 's/^/| /' $quoted_tmp/traces.pl`;
+-do "$tmp/traces.pl";
+-warn "couldn't parse $tmp/traces.pl: $@" if $@;
++debug "$me: \`do'ing $perl_tmp/traces.pl:\n" . `sed 's/^/| /' $quoted_tmp/traces.pl`;
++do "$perl_tmp/traces.pl";
++warn "couldn't parse $perl_tmp/traces.pl: $@" if $@;
+ unless ($config_h)
+   {
+     error "error: AC_CONFIG_HEADERS not found in $ARGV[0]";


             reply	other threads:[~2017-08-04 15:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-04 15:17 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-18  1:03 [gentoo-commits] repo/gentoo:master commit in: sys-devel/autoconf/, sys-devel/autoconf/files/ Sam James
2022-11-18  1:03 Sam James
2022-11-03  1:24 Sam James
2022-09-19 16:26 Sam James
2022-09-10  0:29 Sam James
2021-08-01 19:44 Andreas K. Hüttel
2021-03-13 20:08 Aaron Bauman
2020-12-01 17:19 Lars Wendler
2020-11-11 16:23 Lars Wendler
2020-10-21  7:00 Lars Wendler
2018-12-22 19:03 Andreas K. Hüttel
2017-04-27 13:42 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1501859859.565193ae54cfbf09e592ed5607b3775986d93c53.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox