summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authormarino <marino>2011-11-23 19:37:56 +0000
committermarino <marino>2011-11-23 19:37:56 +0000
commitae7408d52ffd14cd01747616bd9bc985f142c1f0 (patch)
treebbf5df5506ee5ab94b1d4e732a849c5214702109 /chat
parentd321e84b386d2cdbd538b13d890d59b372a6b988 (diff)
downloadpkgsrc-ae7408d52ffd14cd01747616bd9bc985f142c1f0.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.
Diffstat (limited to 'chat')
-rw-r--r--chat/gloox/distinfo4
-rw-r--r--chat/gloox/patches/patch-src_connectiontcpserver.cpp15
-rw-r--r--chat/gloox/patches/patch-src_dns.cpp15
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>