summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-p2p/dctc/ChangeLog9
-rw-r--r--net-p2p/dctc/Manifest25
-rw-r--r--net-p2p/dctc/dctc-0.85.9.ebuild14
-rw-r--r--net-p2p/dctc/files/dctc-0.85.9-gcc41.patch29
4 files changed, 59 insertions, 18 deletions
diff --git a/net-p2p/dctc/ChangeLog b/net-p2p/dctc/ChangeLog
index 7520dad67007..605b3d6ac235 100644
--- a/net-p2p/dctc/ChangeLog
+++ b/net-p2p/dctc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-p2p/dctc
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/ChangeLog,v 1.29 2004/11/06 16:50:41 squinky86 Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/ChangeLog,v 1.30 2006/04/14 05:38:46 halcy0n Exp $
+
+ 14 Apr 2006; Mark Loeser <halcy0n@gentoo.org>
+ +files/dctc-0.85.9-gcc41.patch, dctc-0.85.9.ebuild:
+ Add patch to fix compilation with gcc-4.1 by Ryan Hill <dirtyepic DOT sk AT
+ gmail DOT com>; bug #126556
06 Nov 2004; Jon Hood <squinky86@gentoo.org> dctc-0.85.9.ebuild:
Fix homepage irt #70088, thanks Daniel Armyr <daniel.armyr@home.se>.
diff --git a/net-p2p/dctc/Manifest b/net-p2p/dctc/Manifest
index 0b1c84ad5b95..a98a3aabfbb2 100644
--- a/net-p2p/dctc/Manifest
+++ b/net-p2p/dctc/Manifest
@@ -1,15 +1,18 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 aeee845792bbc538cbe4508363e6b05b ChangeLog 4141
-MD5 7d5ff3899e99a7c56d5ec92f37c6fbfa dctc-0.85.9.ebuild 1019
+RMD160 095541690e8cef4532fdc8fbf05be8ebdeec4d6f ChangeLog 4141
+SHA256 5dc6da5125657593653ed9a5543242cd07f279fb85d045d84538a29a41d7c333 ChangeLog 4141
+MD5 347ee4c8f61761006b243df067d4e4f2 dctc-0.85.9.ebuild 1092
+RMD160 3ce5371921caa299b126335fb2900160487daf76 dctc-0.85.9.ebuild 1092
+SHA256 f2fb8efce651bfe980a256f83c62fc25f0402c9c80a71f786ab05ff284e64304 dctc-0.85.9.ebuild 1092
MD5 a9a75b4c6fc9a0acbd7f829bcc9ff807 files/dctc-0.85.6-passive.patch 1090
+RMD160 a08f6ed7570ed6e0cfe554b03d20dd92ff2eee5c files/dctc-0.85.6-passive.patch 1090
+SHA256 b8ac42672e3286bb6e3ffdbd300884acc64f93ed2ff80c2359a26ebf0e0ccc9e files/dctc-0.85.6-passive.patch 1090
+MD5 6956e270bdb8da1eedcce9abc4252e7f files/dctc-0.85.9-gcc41.patch 1395
+RMD160 03c9557e16dcb268e3c47f267c84e96000518fad files/dctc-0.85.9-gcc41.patch 1395
+SHA256 b0ccf2e044c1679d7bbbc24d1e48141c6fe814bf055cb5a77f0b20ed19ab1951 files/dctc-0.85.9-gcc41.patch 1395
MD5 55a4f13a20fa8dacae106d42ec1f8f8c files/digest-dctc-0.85.9 63
+RMD160 bdcf6a6346358c54b456fc2bbb57853aa22141cf files/digest-dctc-0.85.9 63
+SHA256 8a185a9b28688c9e6673504552f40e38ca75cdfb7d11f023a4a009cc2f5d0432 files/digest-dctc-0.85.9 63
MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFC0X6EI1lqEGTUzyQRAt1fAJsGqGOcWAplP7dTZ6uf29siQAG6aQCcD7T2
-9xCVerLskM3vo80qK9l90hg=
-=uLJy
------END PGP SIGNATURE-----
+RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160
+SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f metadata.xml 160
diff --git a/net-p2p/dctc/dctc-0.85.9.ebuild b/net-p2p/dctc/dctc-0.85.9.ebuild
index a1e2dcfbc927..e30b81ca1a26 100644
--- a/net-p2p/dctc/dctc-0.85.9.ebuild
+++ b/net-p2p/dctc/dctc-0.85.9.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/net-p2p/dctc/dctc-0.85.9.ebuild,v 1.12 2005/07/10 20:00:41 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/dctc-0.85.9.ebuild,v 1.13 2006/04/14 05:38:46 halcy0n Exp $
-inherit eutils
+inherit eutils autotools
IUSE=""
@@ -21,13 +21,17 @@ DEPEND="=dev-libs/glib-2*
src_unpack() {
unpack ${A}
cd ${S}
+
+ epatch "${FILESDIR}"/dctc-0.85.6-passive.patch
+ epatch "${FILESDIR}"/dctc-0.85.9-gcc41.patch
+
+ eautoreconf
+
# fix for #26708 (db4 support)
local dbfunc="`grep '^#define.*db_env_create' /usr/include/db.h | awk '{print $NF}'`"
if [ "${dbfunc}" != "db_env_create" ] ; then
sed -i "s:db_env_create:${dbfunc}:g" configure
fi
-
- epatch ${FILESDIR}/dctc-0.85.6-passive.patch
}
src_install() {
diff --git a/net-p2p/dctc/files/dctc-0.85.9-gcc41.patch b/net-p2p/dctc/files/dctc-0.85.9-gcc41.patch
new file mode 100644
index 000000000000..a8713fdcb5f8
--- /dev/null
+++ b/net-p2p/dctc/files/dctc-0.85.9-gcc41.patch
@@ -0,0 +1,29 @@
+diff -Naur dctc-0.85.9-orig/configure.in dctc-0.85.9/configure.in
+--- dctc-0.85.9-orig/configure.in 2006-03-18 14:46:18.000000000 -0600
++++ dctc-0.85.9/configure.in 2006-03-18 14:46:46.000000000 -0600
+@@ -29,7 +29,7 @@
+ AC_MSG_RESULT($cc_version, bad)
+ bad_cc="yes"
+ ;;
+- 2.95.*|3.*)
++ 2.95.*|3.*|4.*)
+ AC_MSG_RESULT($cc_version, ok)
+ bad_cc="no"
+ ;;
+diff -Naur dctc-0.85.9-orig/src/user_manage.h dctc-0.85.9/src/user_manage.h
+--- dctc-0.85.9-orig/src/user_manage.h 2006-03-18 14:46:18.000000000 -0600
++++ dctc-0.85.9/src/user_manage.h 2006-03-18 14:48:09.000000000 -0600
+@@ -27,11 +27,11 @@
+ extern GPtrArray *hub_user_list; /* list of all users connected to the hub */
+ extern GPtrArray *hub_op_list; /* list of all ops connected to the hub (ops are also in the user_list) */
+
+-extern GPtrArray *hub_user_xtra_info; /* array of extra data stored for each hub user */
++static GPtrArray *hub_user_xtra_info; /* array of extra data stored for each hub user */
+ /* the nth pointer of this array is for the nth user of the hub_user_list */
+ /* a user having no extra info has a null pointer as extra info */
+
+-extern GPtrArray *hub_user_uinfo; /* it is the result of /UINFO command for each user */
++static GPtrArray *hub_user_uinfo; /* it is the result of /UINFO command for each user */
+
+ typedef enum
+ {