summaryrefslogtreecommitdiff
path: root/sys-apps/attr
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/attr')
-rw-r--r--sys-apps/attr/Manifest3
-rw-r--r--sys-apps/attr/attr-2.4.48.ebuild6
-rw-r--r--sys-apps/attr/files/attr-2.4.48-perl-5.26.patch23
3 files changed, 31 insertions, 1 deletions
diff --git a/sys-apps/attr/Manifest b/sys-apps/attr/Manifest
index adbb28fbba3a..e961179626e9 100644
--- a/sys-apps/attr/Manifest
+++ b/sys-apps/attr/Manifest
@@ -1,5 +1,6 @@
+AUX attr-2.4.48-perl-5.26.patch 635 BLAKE2B 474a08f4dc2ebd1f6c234461645985dc1dbe5bbd33d8a073a76a74846a3dbefd27dc6803f3f671c9c143e6dfa840e7f9df2e763026895e12d9ac894b51155453 SHA512 1a04e4e3fd733dd229049c5c1e1300a5fb7bf9ff90d5ac51fd9a636fcf40b833073c9c9adae9df46f492e07933a136faa775b22b351f04ae6afa85332cfd4f45
DIST attr-2.4.47.src.tar.gz 343692 BLAKE2B af4d509f156cb2e693f0faebf1a6cfb4a27cbdd3fd7f8b436cc01419c905ff9ac36214ada2ca8269e49c2e276917b1178dcda97050cf25cecd65382f22bdf9bb SHA512 2a333f63655758298650cf8f89c175efdc0112dcc4013e8d023e2a9a69f177e4bcb1f1d10b6666d6f2027dca4dec0833d54749952ab153d28367e1a72e6e2831
DIST attr-2.4.48.tar.xz 346292 BLAKE2B eeffc17bf485749b5d0a1fce4ac3702c33a0bacce3ad635400e8b0b52981f14c5e750ef570f8fd19657e460e51e6e09f972134ef8a3e6efc15c2a7203682df75 SHA512 78b8160303aec9e01f63b5cf725a9e16432ff1d4a6e0065ce1a52715ae1266572e0c01f9be25c938c484deea288fdff2ce27981c3aea578753ad854084957e8b
EBUILD attr-2.4.47-r2.ebuild 1849 BLAKE2B 85b4f61c38d025e9f00d95afc3272b02d0c39b191414f462477c23478eee13f26cd92a5266ca06a9ba350928de64606a41947dee125fa6fada542c0c05b1c2fc SHA512 23f6808bedd1beb0267c81a60703cedebb3c64ebf5c27f5846aec20cc1187bd75a5e13a35a91c802abbd6f97b30f16e806d2569513a4b4f58a73ddbb213485ee
-EBUILD attr-2.4.48.ebuild 1363 BLAKE2B 8d1f59de3de05c9ac029024e46e13a513cbde27a268e4850f7c607c0821fb2b551d58ac0a79ceb6631d07e28c396c4783d0fe7d6724a13dabfd92bcdb486e1c3 SHA512 80681f32456ecf7cc48a571c4c2127a8f0e6e146ce95563b90adb9c21ec8867f1892c4631c5b365870938f5cbb961ffcbd05a867a4d133d8bc9ec64303517371
+EBUILD attr-2.4.48.ebuild 1441 BLAKE2B ec4c81afa4dece6a95f91e3851db45ec99446d0ad57243d4e2f6abb8a9adce2b0908b24b14bb5acc324f0e5eb2c7ac85d5ca0f027786fdb96cf6bf2bfe146316 SHA512 fd786dabba25d3d57f5b66a093e9ab4fabf9a7432c5f9f00653c83827a069bb69d5668d5db8f08abf511119cb6615bb1205141c8e1c340a386468e0fb823604d
MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555
diff --git a/sys-apps/attr/attr-2.4.48.ebuild b/sys-apps/attr/attr-2.4.48.ebuild
index 086cfe28d390..378bc2b6cd46 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
@@ -31,6 +35,8 @@ multilib_src_configure() {
export OPTIMIZER=${CFLAGS}
export DEBUG=-DNDEBUG
+ tc-ld-disable-gold #644048
+
local myeconfargs=(
--bindir="${EPREFIX}"/bin
--enable-shared $(use_enable static-libs static)
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