# 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 <joker@gentoo.org> ccze-0.2.1.ebuild:
+ Added a build fix for gcc4
18 Dec 2004; Simon Stelling <blubb@gentoo.org> ccze-0.2.1.ebuild:
was unstable for over a year without bug reports, marking stable on amd64
-MD5 40e0dfb837a542477a561996bfe8710c ChangeLog 961
-MD5 e1195b10e75ff85e2fb6d9056e5a59f7 ccze-0.2.1.ebuild 749
-MD5 02a03e9ed6268b3c5ab55184ac8c4486 metadata.xml 644
+MD5 7d64eee823884869d308c2b4e670b8db ChangeLog 1060
+MD5 d2ecb6353720bf64418822464a4fbeca ccze-0.2.1.ebuild 917
MD5 f6258721f177c5397ecb5650aa04d9c8 files/digest-ccze-0.2.1 62
+MD5 02a03e9ed6268b3c5ab55184ac8c4486 metadata.xml 644
-# 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/"
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
}