diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2007-04-01 09:19:40 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2007-04-01 09:19:40 +0000 |
commit | 9f85108aff197891621189febf9e418f46f6e470 (patch) | |
tree | 64175aa928585dcd007900a956942f70f514db0f /sci-electronics/iverilog | |
parent | fix s390x target (diff) | |
download | gentoo-2-9f85108aff197891621189febf9e418f46f6e470.tar.gz gentoo-2-9f85108aff197891621189febf9e418f46f6e470.tar.bz2 gentoo-2-9f85108aff197891621189febf9e418f46f6e470.zip |
Fixed missing <asm/page.h>, bug #172919.
(Portage version: 2.1.2.2)
Diffstat (limited to 'sci-electronics/iverilog')
-rw-r--r-- | sci-electronics/iverilog/ChangeLog | 7 | ||||
-rw-r--r-- | sci-electronics/iverilog/iverilog-0.8.3.ebuild | 16 |
2 files changed, 19 insertions, 4 deletions
diff --git a/sci-electronics/iverilog/ChangeLog b/sci-electronics/iverilog/ChangeLog index f81a3f8fdc9d..af65b41fc645 100644 --- a/sci-electronics/iverilog/ChangeLog +++ b/sci-electronics/iverilog/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-electronics/iverilog -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/iverilog/ChangeLog,v 1.17 2006/10/11 21:41:15 calchan Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/iverilog/ChangeLog,v 1.18 2007/04/01 09:19:40 calchan Exp $ + + 01 Apr 2007; Denis Dupeyron <calchan@gentoo.org> iverilog-0.8.3.ebuild: + Fixed missing <asm/page.h>, bug #172919. *iverilog-0.8.3 (11 Oct 2006) diff --git a/sci-electronics/iverilog/iverilog-0.8.3.ebuild b/sci-electronics/iverilog/iverilog-0.8.3.ebuild index 98d8d6363183..cc829e880c42 100644 --- a/sci-electronics/iverilog/iverilog-0.8.3.ebuild +++ b/sci-electronics/iverilog/iverilog-0.8.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/iverilog/iverilog-0.8.3.ebuild,v 1.1 2006/10/11 21:41:15 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/iverilog/iverilog-0.8.3.ebuild,v 1.2 2007/04/01 09:19:40 calchan Exp $ inherit multilib @@ -18,6 +18,18 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="" +src_unpack() { + unpack ${A} + + # Fix for bug #172919 + sed -i \ + -e '/# include <asm\/page.h>/d' \ + -e '/unsigned siz, rss, shd;/a\ + long PAGE_SIZE = sysconf(_SC_PAGESIZE);\ + if (PAGE_SIZE==-1) PAGE_SIZE=0; +' ${S}/vvp/main.cc +} + src_compile() { econf || die "Configuration failed" emake -j1 || die "Compilation failed" |