summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-01-10 16:42:50 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-01-10 16:43:06 +0100
commit7e5b180cb88a4b730af851e326065baf6b9bc2c8 (patch)
treea58b28c0098765d916781246f608298a446f2c03 /sys-apps/attr/files
parentapp-portage/unsymlink-lib: Bump to v12, with improved error handling (diff)
downloadgentoo-7e5b180cb88a4b730af851e326065baf6b9bc2c8.tar.gz
gentoo-7e5b180cb88a4b730af851e326065baf6b9bc2c8.tar.bz2
gentoo-7e5b180cb88a4b730af851e326065baf6b9bc2c8.zip
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
Diffstat (limited to 'sys-apps/attr/files')
-rw-r--r--sys-apps/attr/files/attr-2.4.48-perl-5.26.patch23
1 files changed, 23 insertions, 0 deletions
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 000000000000..6f3d2a22c140
--- /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