From 152e84081e896aca97243b3da3d405d0bc77b704 Mon Sep 17 00:00:00 2001 From: Geert Bevin Date: Sun, 7 Apr 2002 10:58:39 +0000 Subject: gcc 3 fixes --- net-irc/bitchx/ChangeLog | 7 ++++++- net-irc/bitchx/bitchx-1.0.18-r5.ebuild | 5 +++-- net-irc/bitchx/files/bitchx-1.0.18-dupver.patch | 11 +++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 net-irc/bitchx/files/bitchx-1.0.18-dupver.patch (limited to 'net-irc/bitchx') diff --git a/net-irc/bitchx/ChangeLog b/net-irc/bitchx/ChangeLog index 88fabbf88dad..b3852c78fda0 100644 --- a/net-irc/bitchx/ChangeLog +++ b/net-irc/bitchx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-irc/bitchx # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-irc/bitchx/ChangeLog,v 1.2 2002/02/25 00:43:52 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/bitchx/ChangeLog,v 1.3 2002/04/07 10:58:38 gbevin Exp $ + + 25 Feb 2002; Geert Bevin bitchx-1.0.18-r5.ebuild, + files/bitchx-1.0.18-dupver.patch : + + Gcc3 related fixes. *bitchx-1.0.18-r5 (25 Feb 2002) diff --git a/net-irc/bitchx/bitchx-1.0.18-r5.ebuild b/net-irc/bitchx/bitchx-1.0.18-r5.ebuild index c47aae953799..931d5ec145c5 100644 --- a/net-irc/bitchx/bitchx-1.0.18-r5.ebuild +++ b/net-irc/bitchx/bitchx-1.0.18-r5.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger -# $Header: /var/cvsroot/gentoo-x86/net-irc/bitchx/bitchx-1.0.18-r5.ebuild,v 1.1 2002/02/25 00:43:52 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/bitchx/bitchx-1.0.18-r5.ebuild,v 1.2 2002/04/07 10:58:39 gbevin Exp $ A=ircii-pana-1.0c18.tar.gz S=${WORKDIR}/BitchX @@ -21,7 +21,8 @@ DEPEND="virtual/glibc src_unpack() { unpack ${A} cd ${S} - patch -p1 < ${FILESDIR}/${PF}-gentoo.diff + patch -p1 < ${FILESDIR}/${PF}-gentoo.diff || die + patch -p1 < ${FILESDIR}/${P}-dupver.patch || die } src_compile() { diff --git a/net-irc/bitchx/files/bitchx-1.0.18-dupver.patch b/net-irc/bitchx/files/bitchx-1.0.18-dupver.patch new file mode 100644 index 000000000000..fb8847138c13 --- /dev/null +++ b/net-irc/bitchx/files/bitchx-1.0.18-dupver.patch @@ -0,0 +1,11 @@ +diff -urNd BitchX/source/modules.c BitchX/source/modules.c.new +--- BitchX/source/modules.c Thu Apr 4 20:08:15 2002 ++++ BitchX/source/modules.c.new Thu Apr 4 20:08:27 2002 +@@ -65,7 +65,6 @@ + + Function_ptr global_table[NUMBER_OF_GLOBAL_FUNCTIONS] = { NULL }; + extern int read_sockets(); +-extern unsigned long bitchx_numver; + extern int identd; + + extern int (*dcc_open_func) (int, int, unsigned long, int); -- cgit v1.2.3-65-gdbad