diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-05-19 07:14:45 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-05-19 07:14:45 +0000 |
commit | 9a8874fece229d249e003cf8ecef45003a7b60ef (patch) | |
tree | 4409fc78c5928ddd97b94f6c2b0ecee55aa29baf /dev-util/unifdef/unifdef-1.20.ebuild | |
parent | Revert: >=libnotify-0.4 will trigger bug 254235 (diff) | |
download | historical-9a8874fece229d249e003cf8ecef45003a7b60ef.tar.gz historical-9a8874fece229d249e003cf8ecef45003a7b60ef.tar.bz2 historical-9a8874fece229d249e003cf8ecef45003a7b60ef.zip |
Fix build error with glibc-2.10 due to getline() #270369 by Harris Landgarten.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-util/unifdef/unifdef-1.20.ebuild')
-rw-r--r-- | dev-util/unifdef/unifdef-1.20.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-util/unifdef/unifdef-1.20.ebuild b/dev-util/unifdef/unifdef-1.20.ebuild index 70c23dc17daa..6e6fcbdc83dc 100644 --- a/dev-util/unifdef/unifdef-1.20.ebuild +++ b/dev-util/unifdef/unifdef-1.20.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/unifdef/unifdef-1.20.ebuild,v 1.4 2007/05/23 16:29:47 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/unifdef/unifdef-1.20.ebuild,v 1.5 2009/05/19 07:14:45 vapier Exp $ DESCRIPTION="remove #ifdef'ed lines from a file while otherwise leaving the file alone" HOMEPAGE="http://freshmeat.net/projects/unifdef/" @@ -15,6 +15,12 @@ DEPEND="" S=${WORKDIR}/${P}/Debian +src_unpack() { + unpack ${A} + cd "${S}" + sed -i 's:\<getline\>:get_line:' */unifdef.c || die #270369 +} + src_install() { emake install DESTDIR="${D}" || die dodoc ../README.Gentoo README |