diff options
author | Markus Brueffer <markus@FreeBSD.org> | 2004-12-26 21:33:21 +0000 |
---|---|---|
committer | Markus Brueffer <markus@FreeBSD.org> | 2004-12-26 21:33:21 +0000 |
commit | 739ff024b0a73370757c276d97c6adbf33f29771 (patch) | |
tree | 882a547fa917f02e2c50ca31988b2211d26c199e /net-p2p/dclib | |
parent | 622b0623b07783f02ede9fa309095a01e9a0dcbf (diff) | |
download | ports-739ff024b0a73370757c276d97c6adbf33f29771.tar.gz ports-739ff024b0a73370757c276d97c6adbf33f29771.zip |
Notes
Diffstat (limited to 'net-p2p/dclib')
-rw-r--r-- | net-p2p/dclib/Makefile | 3 | ||||
-rw-r--r-- | net-p2p/dclib/distinfo | 4 | ||||
-rw-r--r-- | net-p2p/dclib/files/patch-dclib-core-cxml.cpp | 23 | ||||
-rw-r--r-- | net-p2p/dclib/files/patch-dclib.h | 38 | ||||
-rw-r--r-- | net-p2p/dclib/pkg-plist | 1 |
5 files changed, 4 insertions, 65 deletions
diff --git a/net-p2p/dclib/Makefile b/net-p2p/dclib/Makefile index 7fc49e34d397..2247fea0cac9 100644 --- a/net-p2p/dclib/Makefile +++ b/net-p2p/dclib/Makefile @@ -7,8 +7,7 @@ # PORTNAME= dclib -PORTVERSION= 0.3.3 -PORTREVISION= 1 +PORTVERSION= 0.3.4 CATEGORIES= net MASTER_SITES= http://download.berlios.de/dcgui/ diff --git a/net-p2p/dclib/distinfo b/net-p2p/dclib/distinfo index 99a314bbb390..9db5bc49da0c 100644 --- a/net-p2p/dclib/distinfo +++ b/net-p2p/dclib/distinfo @@ -1,2 +1,2 @@ -MD5 (dclib-0.3.3.tar.bz2) = e25f9afae22341670fa993eb766aaf1e -SIZE (dclib-0.3.3.tar.bz2) = 541976 +MD5 (dclib-0.3.4.tar.bz2) = 470b3a3cdb0e6f98be592d8bac27b22e +SIZE (dclib-0.3.4.tar.bz2) = 601158 diff --git a/net-p2p/dclib/files/patch-dclib-core-cxml.cpp b/net-p2p/dclib/files/patch-dclib-core-cxml.cpp deleted file mode 100644 index d185d95f5b20..000000000000 --- a/net-p2p/dclib/files/patch-dclib-core-cxml.cpp +++ /dev/null @@ -1,23 +0,0 @@ ---- dclib/core/cxml.cpp.orig Thu Aug 12 10:32:06 2004 -+++ dclib/core/cxml.cpp Wed Dec 1 23:14:00 2004 -@@ -149,10 +149,8 @@ - printf("UTF8Toisolat1 transcoding fail: '%s'\n",s); - else if ( res == -1 ) - printf("UTF8Toisolat1 fail: '%s'\n",s); -- else if ( res == 0 ) -- r = (char*)b; - else -- printf("CXml::xml_UTF8Toisolat1 error %d\n",res); -+ r = (char*)b; - - free(b); - -@@ -180,7 +178,7 @@ - - if ( res == -1 ) - printf("isolat1ToUTF8 fail: '%s'\n",s); -- else if ( res == 0 ) -+ else - r = (char*)b; - - free(b); diff --git a/net-p2p/dclib/files/patch-dclib.h b/net-p2p/dclib/files/patch-dclib.h deleted file mode 100644 index 4160151acbae..000000000000 --- a/net-p2p/dclib/files/patch-dclib.h +++ /dev/null @@ -1,38 +0,0 @@ ---- 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 210f00d1f926..bb4fba789181 100644 --- a/net-p2p/dclib/pkg-plist +++ b/net-p2p/dclib/pkg-plist @@ -36,6 +36,7 @@ include/dclib/core/cstring.h include/dclib/core/cstringlist.h include/dclib/core/cthread.h include/dclib/core/cxml.h +include/dclib/core/czlib.h include/dclib/core/filecopy.h include/dclib/core/platform.h include/dclib/core/types.h |