From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/attr/, sys-apps/attr/files/
Date: Wed, 10 Jan 2018 15:43:19 +0000 (UTC) [thread overview]
Message-ID: <1515598986.7e5b180cb88a4b730af851e326065baf6b9bc2c8.polynomial-c@gentoo> (raw)
commit: 7e5b180cb88a4b730af851e326065baf6b9bc2c8
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 10 15:42:50 2018 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Jan 10 15:43:06 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e5b180c
sys-apps/attr: Fixed test suite error with perl-5.26
Closes: https://bugs.gentoo.org/644058
Package-Manager: Portage-2.3.19, Repoman-2.3.6
sys-apps/attr/attr-2.4.48.ebuild | 4 ++++
sys-apps/attr/files/attr-2.4.48-perl-5.26.patch | 23 +++++++++++++++++++++++
2 files changed, 27 insertions(+)
diff --git a/sys-apps/attr/attr-2.4.48.ebuild b/sys-apps/attr/attr-2.4.48.ebuild
index b6a1fef64ad..378bc2b6cd4 100644
--- a/sys-apps/attr/attr-2.4.48.ebuild
+++ b/sys-apps/attr/attr-2.4.48.ebuild
@@ -21,6 +21,10 @@ DEPEND="
sys-devel/gettext
"
+PATCHES=(
+ "${FILESDIR}/${P}-perl-5.26.patch"
+)
+
src_prepare() {
default
elibtoolize #580792
diff --git a/sys-apps/attr/files/attr-2.4.48-perl-5.26.patch b/sys-apps/attr/files/attr-2.4.48-perl-5.26.patch
new file mode 100644
index 00000000000..6f3d2a22c14
--- /dev/null
+++ b/sys-apps/attr/files/attr-2.4.48-perl-5.26.patch
@@ -0,0 +1,23 @@
+... to fix test-suite failure with perl-5.26.0
+
+Bug: https://bugzilla.redhat.com/1473853
+Upstream: http://lists.nongnu.org/archive/html/acl-devel/2017-07/msg00001.html
+---
+ test/run | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/run b/test/run
+index 4b1f8d0..07e916c 100755
+--- a/test/run
++++ b/test/run
+@@ -106,7 +106,7 @@ for (;;) {
+ if (defined $line) {
+ # Substitute %VAR and %{VAR} with environment variables.
+ $line =~ s[%(\w+)][$ENV{$1}]eg;
+- $line =~ s[%{(\w+)}][$ENV{$1}]eg;
++ $line =~ s[%\{(\w+)}][$ENV{$1}]eg;
+ }
+ if (defined $line) {
+ if ($line =~ s/^\s*< ?//) {
+--
+2.13.0
\ No newline at end of file
next reply other threads:[~2018-01-10 15:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-10 15:43 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-06-22 13:37 [gentoo-commits] repo/gentoo:master commit in: sys-apps/attr/, sys-apps/attr/files/ Lars Wendler
2018-09-01 22:29 Thomas Deutschmann
2022-06-20 15:28 Sam James
2022-06-30 20:01 Sam James
2022-10-28 19:53 Sam James
2024-04-28 12:12 Andreas K. Hüttel
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=1515598986.7e5b180cb88a4b730af851e326065baf6b9bc2c8.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