From acac623c6a0da261a7ee543f76cc816c2c7ef309 Mon Sep 17 00:00:00 2001 From: Christian Birchinger Date: Sat, 14 Oct 2006 18:15:15 +0000 Subject: Added a patch from drizzt@gentoo.org which fixes build on FreeBSD. Droped useless virtual/libc dependency. Package-Manager: portage-2.1.1 --- app-admin/ccze/ChangeLog | 9 ++++++- app-admin/ccze/Manifest | 27 +++++++++++++++++++-- app-admin/ccze/ccze-0.2.1-r1.ebuild | 39 +++++++++++++++++++++++++++++++ app-admin/ccze/files/ccze-fbsd.patch | 25 ++++++++++++++++++++ app-admin/ccze/files/digest-ccze-0.2.1 | 2 ++ app-admin/ccze/files/digest-ccze-0.2.1-r1 | 3 +++ 6 files changed, 102 insertions(+), 3 deletions(-) create mode 100644 app-admin/ccze/ccze-0.2.1-r1.ebuild create mode 100644 app-admin/ccze/files/ccze-fbsd.patch create mode 100644 app-admin/ccze/files/digest-ccze-0.2.1-r1 (limited to 'app-admin/ccze') diff --git a/app-admin/ccze/ChangeLog b/app-admin/ccze/ChangeLog index 465ed8e55648..e6018511aeda 100644 --- a/app-admin/ccze/ChangeLog +++ b/app-admin/ccze/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-admin/ccze # 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 $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/ccze/ChangeLog,v 1.10 2006/10/14 18:15:15 joker Exp $ + +*ccze-0.2.1-r1 (14 Oct 2006) + + 14 Oct 2006; Christian Birchinger + +files/ccze-fbsd.patch, +ccze-0.2.1-r1.ebuild: + Added a patch from drizzt@gentoo.org which fixes build on FreeBSD. Droped + useless virtual/libc dependency 11 Mar 2006; Christian Birchinger ccze-0.2.1.ebuild: Added a build fix for gcc4 diff --git a/app-admin/ccze/Manifest b/app-admin/ccze/Manifest index 19109fda4596..0a566a110dc9 100644 --- a/app-admin/ccze/Manifest +++ b/app-admin/ccze/Manifest @@ -1,4 +1,27 @@ -MD5 7d64eee823884869d308c2b4e670b8db ChangeLog 1060 +AUX ccze-fbsd.patch 635 RMD160 a008d2bf9cf2c303f16c1dcb136538fea26de455 SHA1 76b62e200194efd5083401505383f25ea9c8a6dc SHA256 f80d6bea0b9a0655330e2e55e7abb4f31c9968c19f3d9e4ac06ab2e4ce8ee3b7 +MD5 4503cf5c22bc9da3385a55c3d976eead files/ccze-fbsd.patch 635 +RMD160 a008d2bf9cf2c303f16c1dcb136538fea26de455 files/ccze-fbsd.patch 635 +SHA256 f80d6bea0b9a0655330e2e55e7abb4f31c9968c19f3d9e4ac06ab2e4ce8ee3b7 files/ccze-fbsd.patch 635 +DIST ccze-0.2.1.tar.gz 139795 RMD160 22d89140ea0518c6a33c07464620a2a1fb212b94 SHA1 a265e826be8018cd2f1b13ea1e96e27cc1941d02 SHA256 8263a11183fd356a033b6572958d5a6bb56bfd2dba801ed0bff276cfae528aa3 +EBUILD ccze-0.2.1-r1.ebuild 994 RMD160 9cefd54d2db27a5a3a1de01ed9fbf4961f13e782 SHA1 64c515f2fcddee0422c2fce9cbe9ff661378af10 SHA256 05f7e386eedc0048213b1346d80966b34bf269f9aa1d184f913bf3b37df1f62a +MD5 c933a6d95ad61a61f52ea5a271acc8e8 ccze-0.2.1-r1.ebuild 994 +RMD160 9cefd54d2db27a5a3a1de01ed9fbf4961f13e782 ccze-0.2.1-r1.ebuild 994 +SHA256 05f7e386eedc0048213b1346d80966b34bf269f9aa1d184f913bf3b37df1f62a ccze-0.2.1-r1.ebuild 994 +EBUILD ccze-0.2.1.ebuild 917 RMD160 b11d0818853a96b0bcde5b55e9bc9924fbe67be2 SHA1 a57a7641634ee6c572fc26d34d76021ea25e5a60 SHA256 a73e111a34ca0052c842538ac55b62999097ba1ca06df517e8f283926bdf7c85 MD5 d2ecb6353720bf64418822464a4fbeca ccze-0.2.1.ebuild 917 -MD5 f6258721f177c5397ecb5650aa04d9c8 files/digest-ccze-0.2.1 62 +RMD160 b11d0818853a96b0bcde5b55e9bc9924fbe67be2 ccze-0.2.1.ebuild 917 +SHA256 a73e111a34ca0052c842538ac55b62999097ba1ca06df517e8f283926bdf7c85 ccze-0.2.1.ebuild 917 +MISC ChangeLog 1306 RMD160 7f46c7c6c53a9acb17686a2cd81efdeef537dd40 SHA1 19ab3e39164c42b54c3a261fdb3ca618fd934734 SHA256 16ad41051c8dedb781d9b3119bdaa7ed0dfd7f871484392720ee7f1161e17b8f +MD5 08621b811cc92aef2f5a7d05e160bfea ChangeLog 1306 +RMD160 7f46c7c6c53a9acb17686a2cd81efdeef537dd40 ChangeLog 1306 +SHA256 16ad41051c8dedb781d9b3119bdaa7ed0dfd7f871484392720ee7f1161e17b8f ChangeLog 1306 +MISC metadata.xml 644 RMD160 62a75c36180109b37c85c51c118cc566f7895365 SHA1 e90e62aba83f2679ae1ec345b735a6c368680220 SHA256 1f5ded692570e05dcbcf2b7e578b6afe49499dcce935da0991e7ca98746866f1 MD5 02a03e9ed6268b3c5ab55184ac8c4486 metadata.xml 644 +RMD160 62a75c36180109b37c85c51c118cc566f7895365 metadata.xml 644 +SHA256 1f5ded692570e05dcbcf2b7e578b6afe49499dcce935da0991e7ca98746866f1 metadata.xml 644 +MD5 b7c0cb16221d704921056b3473a8eb0a files/digest-ccze-0.2.1 232 +RMD160 6b19c6cc3291dd9d406f86b962a33c7c1ddbadcc files/digest-ccze-0.2.1 232 +SHA256 a877e64383bee74751288f5b2c097becbfb3a03fd1821e770a8570094430be7f files/digest-ccze-0.2.1 232 +MD5 b7c0cb16221d704921056b3473a8eb0a files/digest-ccze-0.2.1-r1 232 +RMD160 6b19c6cc3291dd9d406f86b962a33c7c1ddbadcc files/digest-ccze-0.2.1-r1 232 +SHA256 a877e64383bee74751288f5b2c097becbfb3a03fd1821e770a8570094430be7f files/digest-ccze-0.2.1-r1 232 diff --git a/app-admin/ccze/ccze-0.2.1-r1.ebuild b/app-admin/ccze/ccze-0.2.1-r1.ebuild new file mode 100644 index 000000000000..473014639d87 --- /dev/null +++ b/app-admin/ccze/ccze-0.2.1-r1.ebuild @@ -0,0 +1,39 @@ +# 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-r1.ebuild,v 1.1 2006/10/14 18:15:15 joker Exp $ + +inherit fixheadtails autotools eutils + +DESCRIPTION="A flexible and fast logfile colorizer" +HOMEPAGE="http://bonehunter.rulez.org/software/ccze/" +SRC_URI="ftp://bonehunter.rulez.org/pub/ccze/stable/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~sparc ~amd64 ~ppc" +IUSE="" + +DEPEND="sys-libs/ncurses + dev-libs/libpcre" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch "${FILESDIR}"/ccze-fbsd.patch || die "epatch ccze-fbsd.patch failed" + + # 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 README FAQ +} diff --git a/app-admin/ccze/files/ccze-fbsd.patch b/app-admin/ccze/files/ccze-fbsd.patch new file mode 100644 index 000000000000..d1f684ac26c4 --- /dev/null +++ b/app-admin/ccze/files/ccze-fbsd.patch @@ -0,0 +1,25 @@ +--- src/ccze-compat.h.old 2006-10-13 12:50:16 +0200 ++++ src/ccze-compat.h 2006-10-13 12:49:21 +0200 +@@ -29,6 +29,11 @@ + #include + #include + ++# ifndef __error_t_defined ++typedef int error_t; ++# define __error_t_defined 1 ++# endif ++ + #ifndef HAVE_STRNDUP + char *strndup (const char *s, size_t size); + #endif +--- src/ccze-compat.c.old 2006-10-13 12:51:35 +0200 ++++ src/ccze-compat.c 2006-10-13 12:51:44 +0200 +@@ -275,7 +275,7 @@ + char **valuep) + { + int i = getsubopt (optionp, tokens, valuep); +-#if HAVE_SUBOPTARg ++#if HAVE_SUBOPTARG + if (!*valuep && suboptarg) + *valuep = strdup (suboptarg); + #endif diff --git a/app-admin/ccze/files/digest-ccze-0.2.1 b/app-admin/ccze/files/digest-ccze-0.2.1 index 4a0f2b0ff1f3..6bfb802e7ad1 100644 --- a/app-admin/ccze/files/digest-ccze-0.2.1 +++ b/app-admin/ccze/files/digest-ccze-0.2.1 @@ -1 +1,3 @@ MD5 221966bce7c5f011eca38157241a0432 ccze-0.2.1.tar.gz 139795 +RMD160 22d89140ea0518c6a33c07464620a2a1fb212b94 ccze-0.2.1.tar.gz 139795 +SHA256 8263a11183fd356a033b6572958d5a6bb56bfd2dba801ed0bff276cfae528aa3 ccze-0.2.1.tar.gz 139795 diff --git a/app-admin/ccze/files/digest-ccze-0.2.1-r1 b/app-admin/ccze/files/digest-ccze-0.2.1-r1 new file mode 100644 index 000000000000..6bfb802e7ad1 --- /dev/null +++ b/app-admin/ccze/files/digest-ccze-0.2.1-r1 @@ -0,0 +1,3 @@ +MD5 221966bce7c5f011eca38157241a0432 ccze-0.2.1.tar.gz 139795 +RMD160 22d89140ea0518c6a33c07464620a2a1fb212b94 ccze-0.2.1.tar.gz 139795 +SHA256 8263a11183fd356a033b6572958d5a6bb56bfd2dba801ed0bff276cfae528aa3 ccze-0.2.1.tar.gz 139795 -- cgit v1.2.3-65-gdbad