summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Birchinger <joker@gentoo.org>2006-03-11 23:34:05 +0000
committerChristian Birchinger <joker@gentoo.org>2006-03-11 23:34:05 +0000
commit47d26855a0fbcf56790bc9ae79e38d795f6d7f9c (patch)
tree9f8f09f9c041da1bae611ac90778366756b06438 /app-admin/ccze
parentAdded to ~ppc. (diff)
downloadgentoo-2-47d26855a0fbcf56790bc9ae79e38d795f6d7f9c.tar.gz
gentoo-2-47d26855a0fbcf56790bc9ae79e38d795f6d7f9c.tar.bz2
gentoo-2-47d26855a0fbcf56790bc9ae79e38d795f6d7f9c.zip
Added a build fix for gcc4
(Portage version: 2.0.54)
Diffstat (limited to 'app-admin/ccze')
-rw-r--r--app-admin/ccze/ChangeLog7
-rw-r--r--app-admin/ccze/ccze-0.2.1.ebuild17
2 files changed, 18 insertions, 6 deletions
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 <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
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
}