DCLibC is a library for implementing the Direct Connect peer-to-peer protocol. It offers support for the NMDC protocol (client-hub commands and client-client operations) and an interface to the most common filelists. WWW: http://www.gtkdc.org/
Responsible Changed From-To: freebsd-ports-bugs->itetcu I'll take it.
State Changed From-To: open->feedback New, port added, thanks. Marked IGNORE on 4.c because it doesn't build. The error here is with GCC 3.3+, with 3.2+ is different: http://sce-tindy.tecnik93.com/tb/errors/4-STABLE-i386-myPT/dclibc-0.1.1.d1.log
>New, port added, thanks. Marked IGNORE on 4.c because it doesn't build. >The error here is with GCC 3.3+, with 3.2+ is different: >http://sce-tindy.tecnik93.com/tb/errors/4-STABLE-i386-myPT/dclibc-0.1.1.d1. log Try this patch. It adds include statements for both <sys/types.h> and <sys/socket.h> as socket(2) suggests and also fixes a typo in my email address. Unfortunately, I cannot test if it fix building as I don't have any 4.X machine... Here is the patch (in case formating is broken, patch can be fetched from http://pankovpv.sovietservers.com/freebsd-ports/dclibc.patch ): Index: ports/net-p2p/dclibc/Makefile =================================================================== RCS file: /home/ncvs/ports/net-p2p/dclibc/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- ports/net-p2p/dclibc/Makefile 20 Aug 2006 12:28:42 -0000 1.1 +++ ports/net-p2p/dclibc/Makefile 2 Sep 2006 20:06:20 -0000 @@ -1,12 +1,13 @@ # New ports collection makefile for: dclibc # Date created: 2006-08-20 -# Whom: Pankov Pavel <pankov_@mail.ru> +# Whom: Pankov Pavel <pankov_p@mail.ru> # # $FreeBSD: ports/net-p2p/dclibc/Makefile,v 1.1 2006/08/20 12:28:42 itetcu Exp $ # PORTNAME= dclibc PORTVERSION= 0.1.1.d1 +PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= http://www.gtkdc.org/gtkdc_files/dclibc/0.1/ DISTNAME= dclibc-0.1.1-debug1 Index: ports/net-p2p/dclibc/files/patch-socket =================================================================== RCS file: ports/net-p2p/dclibc/files/patch-socket diff -N ports/net-p2p/dclibc/files/patch-socket --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ ports/net-p2p/dclibc/files/patch-socket 2 Sep 2006 20:06:20 -0000 @@ -0,0 +1,32 @@ +--- dclibc/hub.c-orig Wed May 31 22:33:05 2006 ++++ dclibc/hub.c Sat Sep 2 23:15:47 2006 +@@ -20,6 +20,7 @@ + **************************************************************************** ***/ + + #include <string.h> ++#include <sys/types.h> + #include <sys/socket.h> + #include <errno.h> + #include <unistd.h> +--- dclibc/hubconn.c-orig Wed May 31 22:42:57 2006 ++++ dclibc/hubconn.c Sat Sep 2 23:16:14 2006 +@@ -24,8 +24,8 @@ + #include <unistd.h> + #include <netinet/in.h> + #include <arpa/inet.h> +-#include <sys/socket.h> + #include <sys/types.h> ++#include <sys/socket.h> + #include <signal.h> + #include <netdb.h> + #include <stdlib.h> +--- dclibc/search.c-orig Fri Jun 2 14:20:20 2006 ++++ dclibc/search.c Sat Sep 2 23:16:37 2006 +@@ -24,6 +24,7 @@ + #include <unistd.h> + #include <netinet/in.h> + #include <arpa/inet.h> ++#include <sys/types.h> + #include <sys/socket.h> + #include <errno.h> + #include "hub.h"
State Changed From-To: feedback->open new patch received
State Changed From-To: open->feedback Please either attached the patch is such way it doesn't get mangled by mail or upload it somewhere and pass me the link. Thanks.
Sorry for delay... Same patch attached and also fetchable from http://pankovpv.sovietservers.com/freebsd/ports/dclibc.patch In case it fixes build on 4.X, IGNORE section of Makefile can be deleted.
On Mon, 11 Sep 2006 20:01:39 +0400 Pankov Pavel <pankov_p@mail.ru> wrote: > Sorry for delay... Same patch attached and also fetchable from > http://pankovpv.sovietservers.com/freebsd/ports/dclibc.patch > > In case it fixes build on 4.X, IGNORE section of Makefile can be > deleted. http://sce-tindy.tecnik93.com/tb/errors/4-STABLE-i386-myPT/dclibc-0.1.1.d1.log ===> Building for dclibc-0.1.1.d1 make all-recursive Making all in dclibc source='dclibc.c' object='dclibc.lo' libtool=yes DEPDIR=.deps depmode=gcc /bin/sh ../depcomp /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -DG_DISABLE_DEPRECATED -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wall -DG_LOG_DOMAIN=\"DCLibC\" -O -pipe -c -o dclibc.lo dclibc.c mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -DG_DISABLE_DEPRECATED -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wall -DG_LOG_DOMAIN=\"DCLibC\" -O -pipe -c dclibc.c -Wp,-MD,.deps/dclibc.TPlo -fPIC -DPIC -o .libs/dclibc.o dclibc.c: In function `dclibc_trash_flush': dclibc.c:94: syntax error before `data' dclibc.c:95: `data' undeclared (first use in this function) dclibc.c:95: (Each undeclared identifier is reported only once dclibc.c:95: for each function it appears in.) *** Error code 1 Stop in /work/a/ports/net-p2p/dclibc/work/dclibc-0.1.1-debug1/dclibc. *** Error code 1 Stop in /work/a/ports/net-p2p/dclibc/work/dclibc-0.1.1-debug1. *** Error code 1 Stop in /work/a/ports/net-p2p/dclibc/work/dclibc-0.1.1-debug1. *** Error code 1 -- IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" BOFH excuse #265: The mouse escaped
Here is [I hope] final patch for 4.X building. At least, for 4.11 it works... http://pankovpv.sovietservers.com/freebsd/ports/dclibc-new.patch
State Changed From-To: open->closed New port added. Thanks!