From 47d26855a0fbcf56790bc9ae79e38d795f6d7f9c Mon Sep 17 00:00:00 2001 From: Christian Birchinger Date: Sat, 11 Mar 2006 23:34:05 +0000 Subject: Added a build fix for gcc4 (Portage version: 2.0.54) --- app-admin/ccze/ChangeLog | 7 +++++-- app-admin/ccze/ccze-0.2.1.ebuild | 17 +++++++++++++---- 2 files changed, 18 insertions(+), 6 deletions(-) (limited to 'app-admin/ccze') diff --git a/app-admin/ccze/ChangeLog b/app-admin/ccze/ChangeLog index dc1d07549407..465ed8e55648 100644 --- a/app-admin/ccze/ChangeLog +++ b/app-admin/ccze/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-admin/ccze -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/ccze/ChangeLog,v 1.8 2005/01/01 10:56:28 eradicator Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/ccze/ChangeLog,v 1.9 2006/03/11 23:34:05 joker Exp $ + + 11 Mar 2006; Christian Birchinger ccze-0.2.1.ebuild: + Added a build fix for gcc4 18 Dec 2004; Simon Stelling ccze-0.2.1.ebuild: was unstable for over a year without bug reports, marking stable on amd64 diff --git a/app-admin/ccze/ccze-0.2.1.ebuild b/app-admin/ccze/ccze-0.2.1.ebuild index 1a80b775fe7a..a182605dd9e5 100644 --- a/app-admin/ccze/ccze-0.2.1.ebuild +++ b/app-admin/ccze/ccze-0.2.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/ccze/ccze-0.2.1.ebuild,v 1.13 2005/01/01 10:56:28 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/ccze/ccze-0.2.1.ebuild,v 1.14 2006/03/11 23:34:05 joker Exp $ -inherit fixheadtails +inherit fixheadtails autotools DESCRIPTION="A flexible and fast logfile colorizer" HOMEPAGE="http://bonehunter.rulez.org/software/ccze/" @@ -20,10 +20,19 @@ DEPEND="virtual/libc src_unpack() { unpack ${A} cd ${S} + + # GCC 4.x fixes + sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' \ + -i src/Makefile.in + sed -e '/AC_CHECK_TYPE(error_t, int)/d' \ + -i configure.ac + + eautoreconf + ht_fix_file Rules.mk.in } src_install() { make DESTDIR="${D}" install || die "make install failed" - dodoc AUTHORS ChangeLog ChangeLog-0.1 NEWS THANKS INSTALL README FAQ + dodoc AUTHORS ChangeLog ChangeLog-0.1 NEWS THANKS README FAQ } -- cgit v1.2.3-65-gdbad