From 7a3e09a6b1103e894631214891c509b6731d9b0a Mon Sep 17 00:00:00 2001 From: gahr Date: Tue, 15 Jul 2008 07:46:16 +0000 Subject: - Update to 0.3.18 --- net-p2p/dclib/Makefile | 8 +++++--- net-p2p/dclib/distinfo | 6 +++--- net-p2p/dclib/files/patch-dclib-core_cdic.cpp | 12 ++++++++++++ net-p2p/dclib/pkg-plist | 2 ++ 4 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 net-p2p/dclib/files/patch-dclib-core_cdic.cpp diff --git a/net-p2p/dclib/Makefile b/net-p2p/dclib/Makefile index 3b97abf5177e..348fa4036275 100644 --- a/net-p2p/dclib/Makefile +++ b/net-p2p/dclib/Makefile @@ -8,7 +8,7 @@ # PORTNAME= dclib -PORTVERSION= 0.3.17 +PORTVERSION= 0.3.18 CATEGORIES= net-p2p MASTER_SITES= SF MASTER_SITE_SUBDIR= wxdcgui @@ -35,10 +35,12 @@ post-extract: post-patch: ${REINPLACE_CMD} -e 's/-O2//g; s/-pedantic //g' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} - ${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \ - ${WRKSRC}/Makefile.in + ${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \ + ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in ${FIND} ${WRKSRC} -name "Makefile.*" | ${XARGS} \ ${REINPLACE_CMD} -e 's|dclib-0.3/||g' ${REINPLACE_CMD} -e 's|-0.3||g' ${WRKSRC}/dclib.pc.in + ${REINPLACE_CMD} -e 's|-D_XOPEN_SOURCE=500||g; \ + s|-D_BSD_SOURCE||g' ${WRKSRC}/configure ${WRKSRC}/configure.in .include diff --git a/net-p2p/dclib/distinfo b/net-p2p/dclib/distinfo index 64bea8e3250f..e2376d67d7fe 100644 --- a/net-p2p/dclib/distinfo +++ b/net-p2p/dclib/distinfo @@ -1,3 +1,3 @@ -MD5 (dclib-0.3.17.tar.bz2) = 967fd3127f981d427fd20564ab7d32e6 -SHA256 (dclib-0.3.17.tar.bz2) = 83173953793e29079e10002bdd009e4341f00cde3a624480485244e8bf996f87 -SIZE (dclib-0.3.17.tar.bz2) = 567806 +MD5 (dclib-0.3.18.tar.bz2) = b4e383e53a74023006d937448740fb67 +SHA256 (dclib-0.3.18.tar.bz2) = 885d747e02a7132f4825f1b47d8cbb74972b1dbccd8929ef5629c741e923af7e +SIZE (dclib-0.3.18.tar.bz2) = 453642 diff --git a/net-p2p/dclib/files/patch-dclib-core_cdic.cpp b/net-p2p/dclib/files/patch-dclib-core_cdic.cpp new file mode 100644 index 000000000000..af47d5a0b55a --- /dev/null +++ b/net-p2p/dclib/files/patch-dclib-core_cdic.cpp @@ -0,0 +1,12 @@ +--- dclib/core/cdir.cpp.orig 2008-07-15 00:32:51.000000000 +0200 ++++ dclib/core/cdir.cpp 2008-07-15 00:33:42.000000000 +0200 +@@ -30,9 +30,6 @@ + #ifdef HAVE_SYS_VFS_H + #include + #endif +-#ifdef HAVE_SYS_MOUNT_H +-#include +-#endif + #ifdef HAVE_SYS_PARAM_H + #include + #endif diff --git a/net-p2p/dclib/pkg-plist b/net-p2p/dclib/pkg-plist index cbcb63cffda4..2b5486152659 100644 --- a/net-p2p/dclib/pkg-plist +++ b/net-p2p/dclib/pkg-plist @@ -33,6 +33,7 @@ include/dclib/core/csingleton.h include/dclib/core/csocket.h include/dclib/core/cssl.h include/dclib/core/cstring.h +include/dclib/core/cstringhash.h include/dclib/core/cstringlist.h include/dclib/core/cthread.h include/dclib/core/cxml.h @@ -50,6 +51,7 @@ include/dclib/ctransfer.h include/dclib/cuserlist.h include/dclib/cutils.h include/dclib/dclib-ssl-use.h +include/dclib/dclib-stl-use.h include/dclib/dclib.h include/dclib/dcobject.h include/dclib/dcos.h -- cgit