diff options
author | hans <hans@pkgsrc.org> | 2012-02-16 13:50:52 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-02-16 13:50:52 +0000 |
commit | 015a0c8b646ca02ba17982b0188ac7bbb88cf2e9 (patch) | |
tree | 17c5dd1fe608ad44990390a65a4cbeb07968069a /chat/gloox | |
parent | 5da1ac0872b8bf2e13f2726a514c2659c6b6079d (diff) | |
download | pkgsrc-015a0c8b646ca02ba17982b0188ac7bbb88cf2e9.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'chat/gloox')
-rw-r--r-- | chat/gloox/Makefile | 4 | ||||
-rw-r--r-- | chat/gloox/distinfo | 3 | ||||
-rw-r--r-- | chat/gloox/patches/patch-src_connectiontcpbase.cpp | 13 |
3 files changed, 18 insertions, 2 deletions
diff --git a/chat/gloox/Makefile b/chat/gloox/Makefile index 73705f62fb2..3bd66dc5edf 100644 --- a/chat/gloox/Makefile +++ b/chat/gloox/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2011/04/22 13:43:05 obache Exp $ +# $NetBSD: Makefile,v 1.4 2012/02/16 13:57:16 hans Exp $ DISTNAME= gloox-1.0 PKGREVISION= 1 @@ -19,6 +19,8 @@ USE_LANGUAGES+= c++ c USE_TOOLS+= autoconf automake pkg-config USE_LIBTOOL= yes +LIBS.SunOS+= -lnsl + .include "options.mk" .include "../../devel/libidn/buildlink3.mk" diff --git a/chat/gloox/distinfo b/chat/gloox/distinfo index 5b64735425d..8ac354b709e 100644 --- a/chat/gloox/distinfo +++ b/chat/gloox/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.3 2011/11/25 21:31:13 joerg Exp $ +$NetBSD: distinfo,v 1.4 2012/02/16 13:57:16 hans Exp $ SHA1 (gloox-1.0.tar.bz2) = 8c788738f72b05fae7c05c744a67859419ffa09c RMD160 (gloox-1.0.tar.bz2) = 92089462ed778fb41bf97d882fc1785b8e82233f Size (gloox-1.0.tar.bz2) = 603434 bytes +SHA1 (patch-src_connectiontcpbase.cpp) = 41cda3692468a86f4b819f66d887667065a6cbe4 SHA1 (patch-src_connectiontcpserver.cpp) = 720129dfcdff5a7ebb70bbf378c9ca3e5dfaabae SHA1 (patch-src_dns.cpp) = dfc538e9a059b06b6222c3dffe879105701d504c SHA1 (patch-src_sha.cpp) = b9f51307b97c68575aff4a029653584fcc6aeec6 diff --git a/chat/gloox/patches/patch-src_connectiontcpbase.cpp b/chat/gloox/patches/patch-src_connectiontcpbase.cpp new file mode 100644 index 00000000000..7d30fe359cb --- /dev/null +++ b/chat/gloox/patches/patch-src_connectiontcpbase.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-src_connectiontcpbase.cpp,v 1.1 2012/02/16 13:57:16 hans Exp $ + +--- src/connectiontcpbase.cpp.orig 2009-10-26 00:05:39.000000000 +0100 ++++ src/connectiontcpbase.cpp 2012-01-20 11:51:07.167505326 +0100 +@@ -20,6 +20,8 @@ + #include "prep.h" + #include "mutexguard.h" + ++#include <string.h> ++ + #ifdef __MINGW32__ + # include <winsock.h> + #endif |