summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-09-04 19:13:58 +0000
committerMike Frysinger <vapier@gentoo.org>2012-09-04 19:13:58 +0000
commitf96aedcf76ead6409dd3b37717c38fac9b2c5870 (patch)
treef60eb243f34a29278648ebd99a39bb9f3ad753e7 /sys-apps
parentdoesn't build with boost-1.50 (diff)
downloadgentoo-2-f96aedcf76ead6409dd3b37717c38fac9b2c5870.tar.gz
gentoo-2-f96aedcf76ead6409dd3b37717c38fac9b2c5870.tar.bz2
gentoo-2-f96aedcf76ead6409dd3b37717c38fac9b2c5870.zip
Use the --wide flag when calling readelf to avoid truncating long symbol names #433637 by Raphaël Droz.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/less/ChangeLog6
-rw-r--r--sys-apps/less/files/lesspipe.sh6
2 files changed, 8 insertions, 4 deletions
diff --git a/sys-apps/less/ChangeLog b/sys-apps/less/ChangeLog
index 88c27ebbd6cf..c6feee6bc997 100644
--- a/sys-apps/less/ChangeLog
+++ b/sys-apps/less/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/less
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.151 2012/08/21 01:15:06 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/less/ChangeLog,v 1.152 2012/09/04 19:13:58 vapier Exp $
+
+ 04 Sep 2012; Mike Frysinger <vapier@gentoo.org> files/lesspipe.sh:
+ Use the --wide flag when calling readelf to avoid truncating long symbol names
+ #433637 by Raphaël Droz.
21 Aug 2012; Anthony G. Basile <blueness@gentoo.org> less-451.ebuild:
Stable arm, bug #431956
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh
index c27ff0583f11..8e6ba081f4f9 100644
--- a/sys-apps/less/files/lesspipe.sh
+++ b/sys-apps/less/files/lesspipe.sh
@@ -125,8 +125,8 @@ lesspipe() {
*.zoo) zoo -list "$1" || unzoo -l "$1" ;;
*.7z|*.exe) 7z l -- "$1" || 7za l -- "$1" || 7zr l -- "$1" ;;
*.a) ar tv "$1" ;;
- *.elf) readelf -a -- "$1" ;;
- *.so) readelf -h -d -s -- "$1" ;;
+ *.elf) readelf -a -W -- "$1" ;;
+ *.so) readelf -h -d -s -W -- "$1" ;;
*.mo|*.gmo) msgunfmt -- "$1" ;;
*.rar|.r[0-9][0-9]) unrar l -- "$1" ;;
@@ -233,7 +233,7 @@ if [[ -z $1 ]] ; then
elif [[ $1 == "-V" || $1 == "--version" ]] ; then
Id="cvsid"
cat <<-EOF
- $Id: lesspipe.sh,v 1.47 2011/12/07 20:29:25 vapier Exp $
+ $Id: lesspipe.sh,v 1.48 2012/09/04 19:13:58 vapier Exp $
Copyright 2001-2010 Gentoo Foundation
Mike Frysinger <vapier@gentoo.org>
(with plenty of ideas stolen from other projects/distros)