diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-04-14 22:49:18 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-04-14 22:49:18 +0000 |
commit | 63d8f294b6ee285d8dde65a54026c156ff6a1a24 (patch) | |
tree | 3c0eaeeb003a208826ec41f7ee26419388541f2c | |
parent | updating django-openstack-auth (diff) | |
download | historical-63d8f294b6ee285d8dde65a54026c156ff6a1a24.tar.gz historical-63d8f294b6ee285d8dde65a54026c156ff6a1a24.tar.bz2 historical-63d8f294b6ee285d8dde65a54026c156ff6a1a24.zip |
Fix building with POSIX /bin/sh.
-rw-r--r-- | sys-process/lsof/ChangeLog | 7 | ||||
-rw-r--r-- | sys-process/lsof/lsof-4.88.ebuild | 8 |
2 files changed, 11 insertions, 4 deletions
diff --git a/sys-process/lsof/ChangeLog b/sys-process/lsof/ChangeLog index afe182ae8a3a..266a4b34a916 100644 --- a/sys-process/lsof/ChangeLog +++ b/sys-process/lsof/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-process/lsof -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.109 2014/12/06 16:38:45 ago Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.110 2015/04/14 22:49:18 vapier Exp $ + + 14 Apr 2015; Mike Frysinger <vapier@gentoo.org> lsof-4.88.ebuild: + Fix building with POSIX /bin/sh. 06 Dec 2014; Agostino Sarubbo <ago@gentoo.org> lsof-4.87-r1.ebuild: Stable for ia64, wrt bug #529126 diff --git a/sys-process/lsof/lsof-4.88.ebuild b/sys-process/lsof/lsof-4.88.ebuild index b68a35892c43..87ef2c5032a3 100644 --- a/sys-process/lsof/lsof-4.88.ebuild +++ b/sys-process/lsof/lsof-4.88.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/lsof-4.88.ebuild,v 1.2 2014/11/21 08:11:37 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/lsof-4.88.ebuild,v 1.3 2015/04/14 22:49:18 vapier Exp $ EAPI="4" @@ -32,6 +32,10 @@ src_unpack() { src_prepare() { epatch "${FILESDIR}"/${PN}-4.85-cross.patch #432120 + # fix POSIX compliance with `echo` + sed -i \ + -e 's:echo -n:printf:' \ + AFSConfig Configure Customize Inventory tests/CkTestDB || die # convert `test -r header.h` into a compile test sed -i -r \ -e 's:test -r \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} ${LSOF_CFGF} -E - >/dev/null 2>\&1:' \ |