summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-01-06 22:20:36 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2018-01-06 22:20:54 +0000
commit00d57eb00bc359140fa3b2e9bfddab9c89d401a8 (patch)
treec8f5e6226ace0d6d8d89cefc6c4a02f49cfc716b
parentnet-misc/bopm: Remove proxied maintainer (diff)
downloadgentoo-00d57eb00bc359140fa3b2e9bfddab9c89d401a8.tar.gz
gentoo-00d57eb00bc359140fa3b2e9bfddab9c89d401a8.tar.bz2
gentoo-00d57eb00bc359140fa3b2e9bfddab9c89d401a8.zip
sys-apps/keyutils: tweak endianness check on BE systems, bug #643406
Seen on powerpc and sparc to fail as: +++ Can't Determine Endianness It's caused by missing trailing escape of closing ')' for MSB case. Reported-by: Rolf Eike Beer Bug: https://bugs.gentoo.org/643406 Package-Manager: Portage-2.3.19, Repoman-2.3.6
-rw-r--r--sys-apps/keyutils/files/keyutils-1.5.9-endian-check-2.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/keyutils/files/keyutils-1.5.9-endian-check-2.patch b/sys-apps/keyutils/files/keyutils-1.5.9-endian-check-2.patch
index a4558d8edfc..bc96dae464b 100644
--- a/sys-apps/keyutils/files/keyutils-1.5.9-endian-check-2.patch
+++ b/sys-apps/keyutils/files/keyutils-1.5.9-endian-check-2.patch
@@ -25,7 +25,7 @@ index f2463c57b40e..5ac23ffc04fb 100644
endian=`file -L /proc/$$/exe`
-if expr "$endian" : '.* MSB \+executable.*' >&/dev/null
-+if expr "$endian" : '.* MSB \+\(executable\|shared object).*' >&/dev/null
++if expr "$endian" : '.* MSB \+\(executable\|shared object\).*' >&/dev/null
then
endian=BE
-elif expr "$endian" : '.* LSB \+executable.*' >&/dev/null