aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/dclib
diff options
context:
space:
mode:
authormarkus <markus@FreeBSD.org>2004-11-01 10:08:46 +0800
committermarkus <markus@FreeBSD.org>2004-11-01 10:08:46 +0800
commit14946c4a1131e1981fbb73493cc6bf791600e770 (patch)
treec41035cf9ecc1e0c1f6a57410149da0a13ea3b30 /net-p2p/dclib
parent4b8657e980efe2d64c154739e31841d6e3804323 (diff)
downloadfreebsd-ports-gnome-14946c4a1131e1981fbb73493cc6bf791600e770.tar.gz
freebsd-ports-gnome-14946c4a1131e1981fbb73493cc6bf791600e770.tar.zst
freebsd-ports-gnome-14946c4a1131e1981fbb73493cc6bf791600e770.zip
Update to version 0.3.3
Diffstat (limited to 'net-p2p/dclib')
-rw-r--r--net-p2p/dclib/Makefile3
-rw-r--r--net-p2p/dclib/distinfo4
-rw-r--r--net-p2p/dclib/files/patch-dclib.h38
-rw-r--r--net-p2p/dclib/pkg-plist9
4 files changed, 46 insertions, 8 deletions
diff --git a/net-p2p/dclib/Makefile b/net-p2p/dclib/Makefile
index e7a50e00f068..53c5fb4aefc3 100644
--- a/net-p2p/dclib/Makefile
+++ b/net-p2p/dclib/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= dclib
-PORTVERSION= 0.3.2
+PORTVERSION= 0.3.3
CATEGORIES= net
MASTER_SITES= http://download.berlios.de/dcgui/
@@ -20,6 +20,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
+USE_OPENSSL= yes
INSTALLS_SHLIB= yes
USE_INC_LIBTOOL_VER=13
diff --git a/net-p2p/dclib/distinfo b/net-p2p/dclib/distinfo
index 0ee71a1d7515..99a314bbb390 100644
--- a/net-p2p/dclib/distinfo
+++ b/net-p2p/dclib/distinfo
@@ -1,2 +1,2 @@
-MD5 (dclib-0.3.2.tar.bz2) = 4e4914382d793fa9106617382a769b85
-SIZE (dclib-0.3.2.tar.bz2) = 606049
+MD5 (dclib-0.3.3.tar.bz2) = e25f9afae22341670fa993eb766aaf1e
+SIZE (dclib-0.3.3.tar.bz2) = 541976
diff --git a/net-p2p/dclib/files/patch-dclib.h b/net-p2p/dclib/files/patch-dclib.h
new file mode 100644
index 000000000000..4160151acbae
--- /dev/null
+++ b/net-p2p/dclib/files/patch-dclib.h
@@ -0,0 +1,38 @@
+--- dclib/dclib.h.orig Wed Sep 1 14:07:10 2004
++++ dclib/dclib.h Wed Sep 1 14:07:18 2004
+@@ -24,6 +24,9 @@
+
+ #include <time.h>
+
++#include <stdarg.h>
++#include <stdio.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+@@ -39,7 +42,25 @@
+ /** set dclib verbose */
+ DLL_EXPORT void setdclibVerbose( int n );
+
++#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
+ #define DPRINTF(...) if (dclibVerbose()) printf(__VA_ARGS__)
++#elif defined __GNUC__
++#define DPRINTF(args...) if (dclibVerbose()) printf(args)
++#else
++static int
++DPRINTF(const char *format,
++ ...)
++{
++ int ret = 0;
++ if (dclibVerbose()) {
++ va_list args;
++ va_start (args, format);
++ ret = printf(format, args);
++ va_end (args);
++ }
++ return ret;
++}
++#endif
+
+ #ifdef __cplusplus
+ }
diff --git a/net-p2p/dclib/pkg-plist b/net-p2p/dclib/pkg-plist
index 17901657b67b..210f00d1f926 100644
--- a/net-p2p/dclib/pkg-plist
+++ b/net-p2p/dclib/pkg-plist
@@ -9,7 +9,6 @@ include/dclib/cencrypt.h
include/dclib/cfilemanager.h
include/dclib/chttp.h
include/dclib/chublistmanager.h
-include/dclib/chubsearch.h
include/dclib/clistenmanager.h
include/dclib/cmessagehandler.h
include/dclib/core/casyncdns.h
@@ -52,15 +51,15 @@ include/dclib/cutils.h
include/dclib/dclib.h
include/dclib/dcobject.h
include/dclib/dcos.h
-include/dclib/hash/libdefs.h
-include/dclib/hash/mhash_tiger.h
+include/dclib/hash/tiger.h
+include/dclib/hash/tigertree.h
lib/libdc.a
lib/libdc.la
lib/libdc.so
lib/libdc.so.0
libdata/pkgconfig/dclib.pc
-@dirrm share/dcgui/plugin
-@dirrm share/dcgui
+@dirrm share/dclib/plugin
+@dirrm share/dclib
@dirrm include/dclib/hash
@dirrm include/dclib/core
@dirrm include/dclib