summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-06 07:03:03 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-06 07:03:03 +0000
commit747d8197c00b1714a50ee068c63f85f7a99f9917 (patch)
tree23537d461d1ef8c887179b7e2b22065c9fea4a2c /net-irc
parentI haven't use icq forever, however I still remember the password i used oh so... (diff)
downloadhistorical-747d8197c00b1714a50ee068c63f85f7a99f9917.tar.gz
historical-747d8197c00b1714a50ee068c63f85f7a99f9917.tar.bz2
historical-747d8197c00b1714a50ee068c63f85f7a99f9917.zip
Clean up ebuild and compiling with gcc-4.1 #113736; thanks to everyone.
Package-Manager: portage-2.1.1_rc1-r4
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/bitchx/ChangeLog12
-rw-r--r--net-irc/bitchx/Manifest74
-rw-r--r--net-irc/bitchx/bitchx-1.1-r3.ebuild119
-rw-r--r--net-irc/bitchx/files/1.1/bitchx-1.1-build.patch53
-rw-r--r--net-irc/bitchx/files/1.1/bitchx-1.1-gcc34.patch8
-rw-r--r--net-irc/bitchx/files/1.1/bitchx-1.1-gcc41.patch119
-rw-r--r--net-irc/bitchx/files/1.1/bitchx-1.1-headers.patch49
-rw-r--r--net-irc/bitchx/files/digest-bitchx-1.1-r12
-rw-r--r--net-irc/bitchx/files/digest-bitchx-1.1-r22
-rw-r--r--net-irc/bitchx/files/digest-bitchx-1.1-r33
10 files changed, 426 insertions, 15 deletions
diff --git a/net-irc/bitchx/ChangeLog b/net-irc/bitchx/ChangeLog
index 43b93d057daf..405643678bae 100644
--- a/net-irc/bitchx/ChangeLog
+++ b/net-irc/bitchx/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-irc/bitchx
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/bitchx/ChangeLog,v 1.52 2005/03/22 18:40:30 blubb Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/bitchx/ChangeLog,v 1.53 2006/09/06 07:03:03 vapier Exp $
+
+*bitchx-1.1-r3 (06 Sep 2006)
+
+ 06 Sep 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/1.1/bitchx-1.1-build.patch, files/1.1/bitchx-1.1-gcc34.patch,
+ +files/1.1/bitchx-1.1-gcc41.patch, +files/1.1/bitchx-1.1-headers.patch,
+ +bitchx-1.1-r3.ebuild:
+ Clean up ebuild and compiling with gcc-4.1 #113736; thanks to everyone.
22 Mar 2005; <blubb@gentoo.org> bitchx-1.1-r2.ebuild:
pseudo-fixing bug #61133 with an ugly hack, prevents bitchx from building with
diff --git a/net-irc/bitchx/Manifest b/net-irc/bitchx/Manifest
index 39ce7067758f..cd2770921134 100644
--- a/net-irc/bitchx/Manifest
+++ b/net-irc/bitchx/Manifest
@@ -1,22 +1,76 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 b4f02b199b81e2c523fe135ba0fe149d ChangeLog 8475
-MD5 53d6a87681d7f552e3667db93e58179a bitchx-1.1-r1.ebuild 3434
-MD5 399c7e05821ea1e80ae38756b1fb6c28 bitchx-1.1-r2.ebuild 3622
+AUX 1.1/bitchx-1.1-build.patch 1537 RMD160 f8e6f64ced74de43b23a331e55540766c42bf719 SHA1 de72e19478bbb7a77f96c19ee28693f4825a3095 SHA256 7cbbb5af0a67782eb2753ab5dca0747f591771dc0f0f117d3803a8eeb741caa9
+MD5 7c0e9fc55192343d973dc663ed8a081b files/1.1/bitchx-1.1-build.patch 1537
+RMD160 f8e6f64ced74de43b23a331e55540766c42bf719 files/1.1/bitchx-1.1-build.patch 1537
+SHA256 7cbbb5af0a67782eb2753ab5dca0747f591771dc0f0f117d3803a8eeb741caa9 files/1.1/bitchx-1.1-build.patch 1537
+AUX 1.1/bitchx-1.1-cjk.patch 7050 RMD160 550e382894fb84c3505e6519a9ef25dd3c9fcc74 SHA1 2c5927ed71099a4e8ef3cc9c89966b49bb631255 SHA256 50ea7029aae83d2b3456f45e8a03e19fdd798e510278c4a1b7e1d7e215b0e263
MD5 10a57b14bb58910e1f373fbc1b8b2197 files/1.1/bitchx-1.1-cjk.patch 7050
+RMD160 550e382894fb84c3505e6519a9ef25dd3c9fcc74 files/1.1/bitchx-1.1-cjk.patch 7050
+SHA256 50ea7029aae83d2b3456f45e8a03e19fdd798e510278c4a1b7e1d7e215b0e263 files/1.1/bitchx-1.1-cjk.patch 7050
+AUX 1.1/bitchx-1.1-freenode.patch 976 RMD160 56cb4ead99e77ecaeb9750214ac54ead59a51316 SHA1 b5f2cbccece387f2543ad96728387fb15ed25862 SHA256 32c57fb74e7993453a639a8b0841c47e9389c3274dfae9d8999a750c2e666012
MD5 0028e0211e23f927b0c03e6dba3ee8fd files/1.1/bitchx-1.1-freenode.patch 976
-MD5 95973485a5a745af87c7bdc9fb6ca0c6 files/1.1/bitchx-1.1-gcc34.patch 394
+RMD160 56cb4ead99e77ecaeb9750214ac54ead59a51316 files/1.1/bitchx-1.1-freenode.patch 976
+SHA256 32c57fb74e7993453a639a8b0841c47e9389c3274dfae9d8999a750c2e666012 files/1.1/bitchx-1.1-freenode.patch 976
+AUX 1.1/bitchx-1.1-gcc34.patch 350 RMD160 012606af941b8b2d29efecaf2184545e347e3ee4 SHA1 2fdaec7314c24db35921ef7391a1e29ed6060364 SHA256 4d5dd3c7e56a1a7caeb27bebd5d5364c0bd799758e160a8f1eaeb68d00bfbab1
+MD5 32491ed331aeba22355e3f456f29ddd4 files/1.1/bitchx-1.1-gcc34.patch 350
+RMD160 012606af941b8b2d29efecaf2184545e347e3ee4 files/1.1/bitchx-1.1-gcc34.patch 350
+SHA256 4d5dd3c7e56a1a7caeb27bebd5d5364c0bd799758e160a8f1eaeb68d00bfbab1 files/1.1/bitchx-1.1-gcc34.patch 350
+AUX 1.1/bitchx-1.1-gcc41.patch 4804 RMD160 6f145ff8d57cc25dc938df0723e5c5f1c3d93946 SHA1 fff0ffbd4039ee3f2e7afcf4cd0cd9596e8e206b SHA256 25d06b5ed92b19a310d43c54664819c3ba81633752e72b638f0cb0fde8074a71
+MD5 4886660597b071f55553b872e50f47e5 files/1.1/bitchx-1.1-gcc41.patch 4804
+RMD160 6f145ff8d57cc25dc938df0723e5c5f1c3d93946 files/1.1/bitchx-1.1-gcc41.patch 4804
+SHA256 25d06b5ed92b19a310d43c54664819c3ba81633752e72b638f0cb0fde8074a71 files/1.1/bitchx-1.1-gcc41.patch 4804
+AUX 1.1/bitchx-1.1-headers.patch 896 RMD160 84b683fe9a9c1480fc5a156b06d964cc258d3ae7 SHA1 10465fa9aca79f7ecde308dcfa605520240bed9f SHA256 650aa207bd2fd867cf9d5a9f82e614ff86ae9b6666879c1247b85b26b2e18ccb
+MD5 35697c5d67a69d00947cd71cc4941999 files/1.1/bitchx-1.1-headers.patch 896
+RMD160 84b683fe9a9c1480fc5a156b06d964cc258d3ae7 files/1.1/bitchx-1.1-headers.patch 896
+SHA256 650aa207bd2fd867cf9d5a9f82e614ff86ae9b6666879c1247b85b26b2e18ccb files/1.1/bitchx-1.1-headers.patch 896
+AUX 1.1/bitchx-1.1-hebrew.patch 477 RMD160 482fdfeffc2549f728fede5882a2360269fe13eb SHA1 af143c97b5a50a369021581d6986e3f2874d7697 SHA256 5090acf698cea3a22a2a663af4914c580b3508a5bc5cabdedcb21cd3c6d27a17
MD5 9230369276af6c8a1cdd7a584927cd47 files/1.1/bitchx-1.1-hebrew.patch 477
+RMD160 482fdfeffc2549f728fede5882a2360269fe13eb files/1.1/bitchx-1.1-hebrew.patch 477
+SHA256 5090acf698cea3a22a2a663af4914c580b3508a5bc5cabdedcb21cd3c6d27a17 files/1.1/bitchx-1.1-hebrew.patch 477
+AUX BitchX-64bit.patch 1135 RMD160 645e192d449ac5bae976e105797cc561b78950b7 SHA1 91386fd2e664090ca54c62c0dd4d0716ca95fda1 SHA256 759670da659d826d4b109f136bbe3b3222b064af78822f3218fd9490d696099e
MD5 5d622c032159806be3bfc78640da3eb0 files/BitchX-64bit.patch 1135
-MD5 9958cd92ed63cd29972e5c3465ab83aa files/digest-bitchx-1.1-r1 73
-MD5 9958cd92ed63cd29972e5c3465ab83aa files/digest-bitchx-1.1-r2 73
+RMD160 645e192d449ac5bae976e105797cc561b78950b7 files/BitchX-64bit.patch 1135
+SHA256 759670da659d826d4b109f136bbe3b3222b064af78822f3218fd9490d696099e files/BitchX-64bit.patch 1135
+AUX fPIC.patch 16020 RMD160 f5d74dbce125e6a453d0cfed0ba0de380e23ee58 SHA1 b1318d59dcde51e8aece1e82becf96d52e9e8fae SHA256 cf57831c0f75d00b97582442e664cf77602ce9e0ef057685bea2084012da2163
MD5 cec20e4fc802c01abdd729d89447b3c7 files/fPIC.patch 16020
+RMD160 f5d74dbce125e6a453d0cfed0ba0de380e23ee58 files/fPIC.patch 16020
+SHA256 cf57831c0f75d00b97582442e664cf77602ce9e0ef057685bea2084012da2163 files/fPIC.patch 16020
+DIST ircii-pana-1.1-final.tar.gz 2532476 RMD160 4105de2587964146e2391a26a8a16e3d0059a93f SHA1 b25635b62c7ff905b6492a4aaa88c43b5aa164f8 SHA256 7464cd75a10f2d117a10cf0184e5d4b9ece44de03a226402c17bdd3f2c7eca57
+EBUILD bitchx-1.1-r1.ebuild 3434 RMD160 de8cff0f6e5228f95109e9e4fc9a6b226ad77ff5 SHA1 c9da1d798eb0a6d499b14ff5d350fc357ed48f16 SHA256 89cc632a3eea5d262eef61a5b969928e8891928bfb1237adbea6e5e36c820194
+MD5 53d6a87681d7f552e3667db93e58179a bitchx-1.1-r1.ebuild 3434
+RMD160 de8cff0f6e5228f95109e9e4fc9a6b226ad77ff5 bitchx-1.1-r1.ebuild 3434
+SHA256 89cc632a3eea5d262eef61a5b969928e8891928bfb1237adbea6e5e36c820194 bitchx-1.1-r1.ebuild 3434
+EBUILD bitchx-1.1-r2.ebuild 3622 RMD160 a7f9c9f28bf68979f82d227625681ae549886802 SHA1 14bb34937550a04271761d42c1ae3b9fc9c3f7f4 SHA256 c6f88ecf62c94559c9a0475524f1f8493aba1cfaa25a2df4d6847dc89a9fbd5c
+MD5 399c7e05821ea1e80ae38756b1fb6c28 bitchx-1.1-r2.ebuild 3622
+RMD160 a7f9c9f28bf68979f82d227625681ae549886802 bitchx-1.1-r2.ebuild 3622
+SHA256 c6f88ecf62c94559c9a0475524f1f8493aba1cfaa25a2df4d6847dc89a9fbd5c bitchx-1.1-r2.ebuild 3622
+EBUILD bitchx-1.1-r3.ebuild 3092 RMD160 ce2de34f0c741fbf7333b0e062d771e6c52d2ec1 SHA1 e4acc7aa85c628b974568cf5c557d38a3df59936 SHA256 9e7ccdb3c65d9bc4a2d5689112b9fc6f479f69f8197cfcf08a8646c7e1bc9a50
+MD5 7a9d3ae778b0bc8ce58eedd5a40420bd bitchx-1.1-r3.ebuild 3092
+RMD160 ce2de34f0c741fbf7333b0e062d771e6c52d2ec1 bitchx-1.1-r3.ebuild 3092
+SHA256 9e7ccdb3c65d9bc4a2d5689112b9fc6f479f69f8197cfcf08a8646c7e1bc9a50 bitchx-1.1-r3.ebuild 3092
+MISC ChangeLog 8801 RMD160 5b2e04f306f4bf56c3d856f895f14014e7090a45 SHA1 b5e45686059e4078ff9ad17470c202178492ce1c SHA256 bc67df8e6652bb4796976908f30c44752127c1316f619b9e31fa15c12e3aa27b
+MD5 fb404ec904f77ae68ae9ada92d0e44f6 ChangeLog 8801
+RMD160 5b2e04f306f4bf56c3d856f895f14014e7090a45 ChangeLog 8801
+SHA256 bc67df8e6652bb4796976908f30c44752127c1316f619b9e31fa15c12e3aa27b ChangeLog 8801
+MISC metadata.xml 160 RMD160 279429d1df694561fc2b163cb81c09387b9d940c SHA1 97da1b72eecc5585c65717da08eaccc9bc1cf7cd SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
+RMD160 279429d1df694561fc2b163cb81c09387b9d940c metadata.xml 160
+SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2 metadata.xml 160
+MD5 1873b03a5006711d41c6a2093e662bb4 files/digest-bitchx-1.1-r1 265
+RMD160 3f0d1b70efd0af5e4da21cac283df25bcb5fbd24 files/digest-bitchx-1.1-r1 265
+SHA256 b887ce873dac0187a49aed011e373bd906a47eb07bb57cf9ab8c19679dd6b5b9 files/digest-bitchx-1.1-r1 265
+MD5 1873b03a5006711d41c6a2093e662bb4 files/digest-bitchx-1.1-r2 265
+RMD160 3f0d1b70efd0af5e4da21cac283df25bcb5fbd24 files/digest-bitchx-1.1-r2 265
+SHA256 b887ce873dac0187a49aed011e373bd906a47eb07bb57cf9ab8c19679dd6b5b9 files/digest-bitchx-1.1-r2 265
+MD5 1873b03a5006711d41c6a2093e662bb4 files/digest-bitchx-1.1-r3 265
+RMD160 3f0d1b70efd0af5e4da21cac283df25bcb5fbd24 files/digest-bitchx-1.1-r3 265
+SHA256 b887ce873dac0187a49aed011e373bd906a47eb07bb57cf9ab8c19679dd6b5b9 files/digest-bitchx-1.1-r3 265
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
+Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFDJDixI1lqEGTUzyQRAvj/AJ444X/db5wc2QslLWT8GCzquMJElQCeO4Ce
-S+t8zwk7a5dijSaTjaOSsxs=
-=LLXQ
+iD8DBQFE/nKwamhnQswr0vIRApHTAJ9t13/MLuzgzQdDBDWwQOFU8LdoEgCdG54e
+9dDcBr0bTiyMRxFHmNRxALk=
+=ftLf
-----END PGP SIGNATURE-----
diff --git a/net-irc/bitchx/bitchx-1.1-r3.ebuild b/net-irc/bitchx/bitchx-1.1-r3.ebuild
new file mode 100644
index 000000000000..7b75986c242c
--- /dev/null
+++ b/net-irc/bitchx/bitchx-1.1-r3.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/bitchx/bitchx-1.1-r3.ebuild,v 1.1 2006/09/06 07:03:03 vapier Exp $
+
+inherit flag-o-matic eutils
+
+MY_P=ircii-pana-${PV}-final
+S=${WORKDIR}/BitchX
+DESCRIPTION="An IRC Client"
+HOMEPAGE="http://www.bitchx.org/"
+SRC_URI="http://www.bitchx.org/files/source/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sh ~sparc ~x86"
+IUSE="cdrom cjk esd gnome gtk ipv6 ncurses ssl xmms"
+
+DEPEND=">=sys-libs/ncurses-5.1
+ ssl? ( >=dev-libs/openssl-0.9.6 )
+ ncurses? ( sys-libs/ncurses )
+ xmms? ( media-sound/xmms )
+ esd? (
+ >=media-sound/esound-0.2.5
+ >=media-libs/audiofile-0.1.5
+ )
+ gtk? (
+ =x11-libs/gtk+-1.2*
+ >=media-libs/imlib-1.9.10-r1
+ )
+ gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )"
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+ cd "${S}"
+ use cjk && epatch "${FILESDIR}"/${PV}/${P}-cjk.patch
+ epatch "${FILESDIR}"/${PV}/${P}-hebrew.patch
+ epatch "${FILESDIR}"/${PV}/${P}-freenode.patch
+ epatch "${FILESDIR}"/${PV}/${P}-gcc34.patch
+ epatch "${FILESDIR}"/${PV}/${P}-gcc41.patch
+ epatch "${FILESDIR}"/${PV}/${P}-headers.patch
+ epatch "${FILESDIR}"/${PV}/${P}-build.patch
+ epatch "${FILESDIR}"/fPIC.patch
+ epatch "${FILESDIR}"/BitchX-64bit.patch
+
+ sed -i \
+ -e "s/#undef LATIN1/#define LATIN1 ON/;" \
+ include/config.h
+}
+
+src_compile() {
+ replace-flags -O[3-9] -O2
+ append-flags -fno-strict-aliasing
+
+ local myconf
+
+ use esd && use gtk \
+ && myconf="${myconf} --enable-sound" \
+ || myconf="${myconf} --disable-sound"
+ if use gtk && use gnome ; then
+ if use amd64 ; then
+ ewarn "gtkBitchX is broken on amd64, so we're building it"
+ ewarn "with USE=-gtk. See http://bugs.gentoo.org/61133"
+ myconf="${myconf} --without-gtk"
+ else
+ einfo "gtkBitchX will be built, if you want BitchX please run:"
+ einfo "USE=-gtk emerge bitchx"
+ myconf="${myconf} --with-gtk"
+ fi
+ epause 10
+ else
+ myconf="${myconf} --without-gtk"
+ fi
+
+ # lamer@gentoo.org BROKEN, will not work with our socks
+ # implementations, is looking for a SOCKSConnect function that our
+ # dante packages don't have :-(
+ # use socks5 \
+ # && myconf="${myconf} --with-socks=5" \
+ # || myconf="${myconf} --without-socks"
+
+ econf \
+ --with-plugins \
+ $(use_enable cdrom) \
+ $(use_with ssl) \
+ $(use_enable ipv6) \
+ ${myconf} || die
+
+ emake || die "make failed"
+ emake -C contrib vh1 || die "make vh1 failed"
+}
+
+src_install () {
+ einstall || die
+ dobin contrib/vh1 || die
+ if ! use amd64 && use gnome && use gtk ; then
+ dosym gtkBitchX-1.1-final /usr/bin/gtkBitchX
+ else
+ dosym BitchX-1.1-final /usr/bin/BitchX
+ fi
+
+ cd "${S}"
+ dodoc bugs Changelog README* IPv6-support
+
+ cd "${S}"/doc
+ insinto /usr/include/X11/bitmaps
+ doins BitchX.xpm || die
+ dodoc README.* *.txt */*.txt tcl/*
+ dohtml -r *
+
+ cd "${S}"/dll
+ insinto /usr/lib/bx/wav
+ doins wavplay/*.wav || die
+ docinto plugins
+ dodoc nap/README.nap
+ newdoc acro/README README.acro
+ newdoc arcfour/README README.arcfour
+ newdoc blowfish/README README.blowfish
+ newdoc qbx/README README.qbx
+}
diff --git a/net-irc/bitchx/files/1.1/bitchx-1.1-build.patch b/net-irc/bitchx/files/1.1/bitchx-1.1-build.patch
new file mode 100644
index 000000000000..45de9cc6014f
--- /dev/null
+++ b/net-irc/bitchx/files/1.1/bitchx-1.1-build.patch
@@ -0,0 +1,53 @@
+dll/aim/Makefile.in: Fix parallel building
+
+dll/hint/Makefile.in: BitchX.hints is a data file, not a plugin
+
+dll/Makefile.in: Let portage do the stripping
+
+Makefile.in: Let portage do the compression
+
+--- dll/aim/Makefile.in
++++ dll/aim/Makefile.in
+@@ -184,7 +184,7 @@
+ aim.o: $(srcdir)/aim.c
+ $(CC) $(AIMDEFS) $(CFLAGS) $(SHLIB_CFLAGS) -c $(srcdir)/aim.c
+
+-aim$(SHLIB_SUFFIX): $(OBJS)
++aim$(SHLIB_SUFFIX): $(OBJS) toc
+ $(SHLIB_LD) $(OBJS) $(SHLIB_CFLAGS) -o aim$(SHLIB_SUFFIX) -Ltoc -ltoc
+
+ dummy:
+--- dll/hint/Makefile.in
++++ dll/hint/Makefile.in
+@@ -178,4 +178,4 @@
+
+ install:
+ $(INSTALL) $(PLUGIN_NAME)$(SHLIB_SUFFIX) $(PLUGINDIR)
+- $(INSTALL) $(srcdir)/BitchX.hints $(PLUGINDIR)/@HINT_FILE@
++ $(INSTALL_DATA) $(srcdir)/BitchX.hints $(PLUGINDIR)/@HINT_FILE@
+--- dll/Makefile.in
++++ dll/Makefile.in
+@@ -206,12 +206,6 @@
+ || case "$$makeflags" in *=*) exit 1;; *k*) ;; *) exit 1;; esac; \
+ done; \
+ )
+- @( \
+- if test x"$(PLUGINS)" != x""; then \
+- strip --strip-unneeded $(PLUGINDIR)/*$(SHLIB_SUFFIX) || :; \
+- echo Your plugins [$(PLUGINS)] are now located in $(PLUGINDIR);\
+- fi; \
+- )
+
+ install_local: all
+ $(INSTALL) -d $(local_dir)/.BitchX/plugins
+--- Makefile.in
++++ Makefile.in
+@@ -302,8 +298,6 @@
+ done; \
+ fi; \
+ )
+- (find $(mandir)/man1/BitchX.1 -type f ! -name '*.bz2' ! -name '*.gz' -name '*' | \
+- (xargs bzip2 -9f || xargs gzip -9f) || :) 2>/dev/null
+
+ installdirs:
+ umask 022; $(top_srcdir)/mkinstalldirs $(bindir) $(IRCLIB) $(mandir)/man1 $(TRANSLATION_PATH) $(INSTALL_SCRIPT) $(HELPDIR)
diff --git a/net-irc/bitchx/files/1.1/bitchx-1.1-gcc34.patch b/net-irc/bitchx/files/1.1/bitchx-1.1-gcc34.patch
index 642e9eed6920..db549a6824ca 100644
--- a/net-irc/bitchx/files/1.1/bitchx-1.1-gcc34.patch
+++ b/net-irc/bitchx/files/1.1/bitchx-1.1-gcc34.patch
@@ -1,13 +1,15 @@
---- source/term.c.orig 2004-06-19 21:40:36.757653368 +0000
-+++ source/term.c 2004-06-19 21:41:31.783563978 +0000
-@@ -91,8 +91,8 @@
+--- source/term.c
++++ source/term.c
+@@ -91,8 +91,10 @@
#define Tgetflag(x) tgetflag(x.tname)
#endif
-extern char *getenv();
-extern char *tparm();
+extern char *getenv(const char *name);
++#ifndef TPARM_DECLARED
+extern char *tparm(char *str, ...);
++#endif
/*
* The old code assumed termcap. termcap is almost always present, but on
diff --git a/net-irc/bitchx/files/1.1/bitchx-1.1-gcc41.patch b/net-irc/bitchx/files/1.1/bitchx-1.1-gcc41.patch
new file mode 100644
index 000000000000..065198818cb1
--- /dev/null
+++ b/net-irc/bitchx/files/1.1/bitchx-1.1-gcc41.patch
@@ -0,0 +1,119 @@
+GCC 4.0 is more picky about static declarations for variables previously
+declared non-static.
+
+From Andreas Jochens <aj@andaco.de>, for Debian bug #290365.
+
+ dll/aim/toc/server.c | 4 ++--
+ dll/aim/toc/toc.c | 6 +++---
+ include/modval.h | 16 ++++++++--------
+ source/ctcp.c | 2 +-
+ source/timer.c | 2 +-
+ 5 files changed, 15 insertions(+), 15 deletions(-)
+
+Index: ircii-pana-1.1/dll/aim/toc/server.c
+===================================================================
+--- ircii-pana-1.1.orig/dll/aim/toc/server.c 2003-04-10 21:09:06.000000000 -0400
++++ ircii-pana-1.1/dll/aim/toc/server.c 2005-07-27 22:34:21.000000000 -0400
+@@ -7,14 +7,14 @@
+ #include <unistd.h>
+ #include "toc.h"
+
+-static time_t lastsent = 0;
++time_t lastsent = 0;
+ time_t login_time = 0;
+ int my_evil;
+ int is_idle = 0;
+ int lag_ms = 0;
+ int time_to_idle = 600;
+ int is_away = 0;
+-static struct timeval lag_tv;
++struct timeval lag_tv;
+
+ void serv_add_buddy(char *name)
+ {
+Index: ircii-pana-1.1/dll/aim/toc/toc.c
+===================================================================
+--- ircii-pana-1.1.orig/dll/aim/toc/toc.c 2003-04-10 21:09:06.000000000 -0400
++++ ircii-pana-1.1/dll/aim/toc/toc.c 2005-07-27 22:34:21.000000000 -0400
+@@ -39,9 +39,9 @@
+ #include "toc.h"
+
+ /* descriptor for talking to TOC */
+-static int toc_fd;
+-static int seqno;
+-static unsigned int peer_ver=0;
++int toc_fd;
++int seqno;
++unsigned int peer_ver=0;
+ int state;
+ /* static int inpa=-1; */
+ int permdeny = PERMIT_PERMITALL;
+Index: ircii-pana-1.1/include/modval.h
+===================================================================
+--- ircii-pana-1.1.orig/include/modval.h 2003-04-10 21:09:07.000000000 -0400
++++ ircii-pana-1.1/include/modval.h 2005-07-27 22:34:21.000000000 -0400
+@@ -650,7 +650,7 @@ extern Function_ptr *global;
+ #define start_time ((time_t) *((time_t *)global[START_TIME]))
+ #define idle_time() ((time_t) *((time_t *)global[IDLE_TIME]()))
+
+-#define loading_global ((int) *((int *)global[LOADING_GLOBAL]))
++#define loading_global (*((int *)global[LOADING_GLOBAL]))
+ #define target_window (*((Window **)global[TARGET_WINDOW]))
+ #define current_window (*((Window **)global[CURRENT_WINDOW]))
+ #define invisible_list (*((Window **)global[INVISIBLE_LIST]))
+@@ -665,12 +665,12 @@ extern Function_ptr *global;
+ #define dll_variable (*((IrcVariableDll **)global[DLL_VARIABLE]))
+ #define dll_ctcp (*((CtcpEntryDll **)global[DLL_CTCP]))
+ #define dll_window (*((WindowDll **)global[DLL_WINDOW]))
+-#define window_display ((int) *((int *)global[WINDOW_DISPLAY]))
+-#define status_update_flag ((int) *((int *)global[STATUS_UPDATE_FLAG]))
++#define window_display (*((int *)global[WINDOW_DISPLAY]))
++#define status_update_flag (*((int *)global[STATUS_UPDATE_FLAG]))
+ #define tabkey_array (*((NickTab **)global[TABKEY_ARRAY]))
+ #define autoreply_array (*((NickTab *)global[AUTOREPLY_ARRAY]))
+-#define identd ((int) *((int *)global[IDENTD_SOCKET]))
+-#define doing_notice ((int) *((int *)global[DOING_NOTICE]))
++#define identd (*((int *)global[IDENTD_SOCKET]))
++#define doing_notice (*((int *)global[DOING_NOTICE]))
+ #define last_sent_msg_body (*((char **)global[LAST_SENT_MSG_BODY]))
+ #define sent_nick (*((char **)global[SENT_NICK]))
+
+@@ -698,9 +698,9 @@ extern Function_ptr *global;
+ #ifdef GUI
+ #ifndef MAIN_SOURCE
+ #define lastclicklinedata ((char *) *global[LASTCLICKLINEDATA])
+-#define contextx ((int) *((int *)global[CONTEXTX]))
+-#define contexty ((int) *((int *)global[CONTEXTY]))
+-#define guiipc ((int) *((int *)global[GUIIPC]))
++#define contextx (*((int *)global[CONTEXTX]))
++#define contexty (*((int *)global[CONTEXTY]))
++#define guiipc (*((int *)global[GUIIPC]))
+ #endif
+ #define gui_mutex_lock() ((void (*)(void)) global[GUI_MUTEX_LOCK])()
+ #define gui_mutex_unlock() ((void (*)(void))global[GUI_MUTEX_UNLOCK])()
+Index: ircii-pana-1.1/source/ctcp.c
+===================================================================
+--- ircii-pana-1.1.orig/source/ctcp.c 2003-05-27 03:00:22.000000000 -0400
++++ ircii-pana-1.1/source/ctcp.c 2005-07-27 22:34:21.000000000 -0400
+@@ -176,7 +176,7 @@ CtcpEntryDll *dll_ctcp = NULL;
+
+ /* CDE do ops and unban logging */
+
+-static char *ctcp_type[] =
++char *ctcp_type[] =
+ {
+ "PRIVMSG",
+ "NOTICE"
+Index: ircii-pana-1.1/source/timer.c
+===================================================================
+--- ircii-pana-1.1.orig/source/timer.c 2003-04-10 21:09:07.000000000 -0400
++++ ircii-pana-1.1/source/timer.c 2005-07-27 22:34:21.000000000 -0400
+@@ -148,7 +148,7 @@ BUILT_IN_COMMAND(timercmd)
+ * This is put here on purpose -- we dont want any of the above functions
+ * to have any knowledge of this struct.
+ */
+-static TimerList *PendingTimers;
++TimerList *PendingTimers;
+ static char *schedule_timer (TimerList *ntimer);
+
+ static char *current_exec_timer = empty_string;
diff --git a/net-irc/bitchx/files/1.1/bitchx-1.1-headers.patch b/net-irc/bitchx/files/1.1/bitchx-1.1-headers.patch
new file mode 100644
index 000000000000..e28552260192
--- /dev/null
+++ b/net-irc/bitchx/files/1.1/bitchx-1.1-headers.patch
@@ -0,0 +1,49 @@
+--- ./dll/aim/toc/interface.c
++++ ./dll/aim/toc/interface.c
+@@ -8,6 +8,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <time.h>
+ #include "toc.h"
+
+--- ./dll/possum/llist.c
++++ ./dll/possum/llist.c
+@@ -1,4 +1,5 @@
+ #include <stdlib.h>
++#include <string.h>
+ #include "llist.h"
+
+ llist *lmake(size_t size) {
+--- ./dll/europa/europa.c
++++ ./dll/europa/europa.c
+@@ -5,6 +5,8 @@
+ the file COPYING for details.
+ */
+
++#include <string.h>
++
+ #define MOD_VERSION "0.01"
+ #define MOD_NAME "Europa"
+ #include "europa.h"
+--- ./dll/arcfour/md5.c
++++ ./dll/arcfour/md5.c
+@@ -1,5 +1,6 @@
+ /* MD5 Message Digest algorithm */
+
++#include <string.h>
+ #include "md5.h"
+
+ /* Prototypes */
+--- contrib/vh1.c
++++ contrib/vh1.c
+@@ -30,6 +30,8 @@
+ #include <netinet/in.h>
+ #if !defined(linux)
+ #include <netinet/in_var.h>
++#else
++#include <arpa/inet.h>
+ #endif
+ #include <netdb.h>
+
diff --git a/net-irc/bitchx/files/digest-bitchx-1.1-r1 b/net-irc/bitchx/files/digest-bitchx-1.1-r1
index 3967cc2f290d..5721630b3fc2 100644
--- a/net-irc/bitchx/files/digest-bitchx-1.1-r1
+++ b/net-irc/bitchx/files/digest-bitchx-1.1-r1
@@ -1 +1,3 @@
MD5 611d2dda222f00c10140236f4c331572 ircii-pana-1.1-final.tar.gz 2532476
+RMD160 4105de2587964146e2391a26a8a16e3d0059a93f ircii-pana-1.1-final.tar.gz 2532476
+SHA256 7464cd75a10f2d117a10cf0184e5d4b9ece44de03a226402c17bdd3f2c7eca57 ircii-pana-1.1-final.tar.gz 2532476
diff --git a/net-irc/bitchx/files/digest-bitchx-1.1-r2 b/net-irc/bitchx/files/digest-bitchx-1.1-r2
index 3967cc2f290d..5721630b3fc2 100644
--- a/net-irc/bitchx/files/digest-bitchx-1.1-r2
+++ b/net-irc/bitchx/files/digest-bitchx-1.1-r2
@@ -1 +1,3 @@
MD5 611d2dda222f00c10140236f4c331572 ircii-pana-1.1-final.tar.gz 2532476
+RMD160 4105de2587964146e2391a26a8a16e3d0059a93f ircii-pana-1.1-final.tar.gz 2532476
+SHA256 7464cd75a10f2d117a10cf0184e5d4b9ece44de03a226402c17bdd3f2c7eca57 ircii-pana-1.1-final.tar.gz 2532476
diff --git a/net-irc/bitchx/files/digest-bitchx-1.1-r3 b/net-irc/bitchx/files/digest-bitchx-1.1-r3
new file mode 100644
index 000000000000..5721630b3fc2
--- /dev/null
+++ b/net-irc/bitchx/files/digest-bitchx-1.1-r3
@@ -0,0 +1,3 @@
+MD5 611d2dda222f00c10140236f4c331572 ircii-pana-1.1-final.tar.gz 2532476
+RMD160 4105de2587964146e2391a26a8a16e3d0059a93f ircii-pana-1.1-final.tar.gz 2532476
+SHA256 7464cd75a10f2d117a10cf0184e5d4b9ece44de03a226402c17bdd3f2c7eca57 ircii-pana-1.1-final.tar.gz 2532476