diff options
-rw-r--r-- | app-admin/apachetop/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/apachetop/apachetop-0.12.6.ebuild | 9 | ||||
-rw-r--r-- | app-admin/apachetop/files/apachetop-0.12.6-gcc41.patch | 13 |
3 files changed, 27 insertions, 2 deletions
diff --git a/app-admin/apachetop/ChangeLog b/app-admin/apachetop/ChangeLog index 684735d2c7de..bb9608e40b60 100644 --- a/app-admin/apachetop/ChangeLog +++ b/app-admin/apachetop/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/apachetop # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/apachetop/ChangeLog,v 1.35 2006/04/21 17:55:24 rl03 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/apachetop/ChangeLog,v 1.36 2006/05/02 00:14:31 halcy0n Exp $ + + 02 May 2006; Mark Loeser <halcy0n@gentoo.org> + +files/apachetop-0.12.6-gcc41.patch, apachetop-0.12.6.ebuild: + Add patch to fix compilation with gcc-4.1 by tristanheaven AT gmail DOT com; + bug #130819 *apachetop-0.12.6 (21 Apr 2006) diff --git a/app-admin/apachetop/apachetop-0.12.6.ebuild b/app-admin/apachetop/apachetop-0.12.6.ebuild index e6432c23c1fd..eb0c23801a59 100644 --- a/app-admin/apachetop/apachetop-0.12.6.ebuild +++ b/app-admin/apachetop/apachetop-0.12.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/apachetop/apachetop-0.12.6.ebuild,v 1.1 2006/04/21 17:55:24 rl03 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/apachetop/apachetop-0.12.6.ebuild,v 1.2 2006/05/02 00:14:30 halcy0n Exp $ inherit eutils @@ -20,6 +20,13 @@ DEPEND="sys-apps/sed pcre? ( dev-libs/libpcre ) adns? ( net-libs/adns )" +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc41.patch +} + src_compile() { useq apache2 && logfile="/var/log/apache2/access_log" useq apache2 || logfile="/var/log/apache/access_log" diff --git a/app-admin/apachetop/files/apachetop-0.12.6-gcc41.patch b/app-admin/apachetop/files/apachetop-0.12.6-gcc41.patch new file mode 100644 index 000000000000..566c9226a3f7 --- /dev/null +++ b/app-admin/apachetop/files/apachetop-0.12.6-gcc41.patch @@ -0,0 +1,13 @@ +--- src/resolver.h ++++ src/resolver.h +@@ -10,8 +10,8 @@ + class Resolver + { + public: +- Resolver::Resolver(void); +- Resolver::~Resolver(void); ++ Resolver(void); ++ ~Resolver(void); + int add_request(char *request, enum resolver_action act); + + |