diff options
author | marino <marino@pkgsrc.org> | 2011-11-23 19:37:56 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2011-11-23 19:37:56 +0000 |
commit | bde722405c47bd10f436eb56bf0b55b4a804801b (patch) | |
tree | bbf5df5506ee5ab94b1d4e732a849c5214702109 | |
parent | a85e7bbc01080ce0f019394ae6b04bf19ba8725f (diff) | |
download | pkgsrc-bde722405c47bd10f436eb56bf0b55b4a804801b.tar.gz |
chat/gloox: Fix DragonFly breakage
Gloox probably never built on DragonFly. These two patches use __DragonFly__
macro to fix the missing header problem, so no PKGREVISION bump required.
-rw-r--r-- | chat/gloox/distinfo | 4 | ||||
-rw-r--r-- | chat/gloox/patches/patch-src_connectiontcpserver.cpp | 15 | ||||
-rw-r--r-- | chat/gloox/patches/patch-src_dns.cpp | 15 |
3 files changed, 33 insertions, 1 deletions
diff --git a/chat/gloox/distinfo b/chat/gloox/distinfo index 1afb42ceae1..ec55af21c82 100644 --- a/chat/gloox/distinfo +++ b/chat/gloox/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.1.1.1 2011/02/06 19:46:48 schnoebe Exp $ +$NetBSD: distinfo,v 1.2 2011/11/23 19:37:56 marino 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_connectiontcpserver.cpp) = f4738f8638e7961d028284a147d1cb4fa5a26a37 +SHA1 (patch-src_dns.cpp) = e81ed57940a5346b3b835c71eb11e4ca20f50226 SHA1 (patch-src_sha.cpp) = b9f51307b97c68575aff4a029653584fcc6aeec6 diff --git a/chat/gloox/patches/patch-src_connectiontcpserver.cpp b/chat/gloox/patches/patch-src_connectiontcpserver.cpp new file mode 100644 index 00000000000..578846b38b2 --- /dev/null +++ b/chat/gloox/patches/patch-src_connectiontcpserver.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_connectiontcpserver.cpp,v 1.1 2011/11/23 19:37:56 marino Exp $ + +--- src/connectiontcpserver.cpp.orig 2009-10-12 16:40:41.000000000 +0000 ++++ src/connectiontcpserver.cpp +@@ -23,6 +23,10 @@ + #include "mutexguard.h" + #include "util.h" + ++#if defined(__DragonFly__) ++#include <string.h> ++#endif ++ + #ifdef __MINGW32__ + # include <winsock.h> + #endif diff --git a/chat/gloox/patches/patch-src_dns.cpp b/chat/gloox/patches/patch-src_dns.cpp new file mode 100644 index 00000000000..868daa59e91 --- /dev/null +++ b/chat/gloox/patches/patch-src_dns.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_dns.cpp,v 1.1 2011/11/23 19:37:56 marino Exp $ + +--- src/dns.cpp.orig 2009-10-12 16:41:19.000000000 +0000 ++++ src/dns.cpp +@@ -23,6 +23,10 @@ + + #include <stdio.h> + ++#if defined (__DragonFly__) ++#include <string.h> ++#endif ++ + #if ( !defined( _WIN32 ) && !defined( _WIN32_WCE ) ) || defined( __SYMBIAN32__ ) + # include <netinet/in.h> + # include <arpa/nameser.h> |