summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjoerg <joerg>2013-04-30 22:34:29 +0000
committerjoerg <joerg>2013-04-30 22:34:29 +0000
commit9220e44009a4e5b82a554a02910560000f863a09 (patch)
treea4f848772326e334251e2718cca1d6a91f004dc9 /chat
parentb6703d7f233f3d95cf7abd95a030d620246967d9 (diff)
downloadpkgsrc-9220e44009a4e5b82a554a02910560000f863a09.tar.gz
Fix various case of missing includes due to libstdc++'s namespace
pollution.
Diffstat (limited to 'chat')
-rw-r--r--chat/gloox/distinfo6
-rw-r--r--chat/gloox/patches/patch-src_examples_e2ee__client.cpp12
-rw-r--r--chat/gloox/patches/patch-src_examples_e2ee__server.cpp12
-rw-r--r--chat/gloox/patches/patch-src_examples_ft__recv.cpp12
-rw-r--r--chat/gloox/patches/patch-src_util.h12
5 files changed, 53 insertions, 1 deletions
diff --git a/chat/gloox/distinfo b/chat/gloox/distinfo
index 8ac354b709e..127f22d022c 100644
--- a/chat/gloox/distinfo
+++ b/chat/gloox/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2012/02/16 13:57:16 hans Exp $
+$NetBSD: distinfo,v 1.5 2013/04/30 22:34:29 joerg Exp $
SHA1 (gloox-1.0.tar.bz2) = 8c788738f72b05fae7c05c744a67859419ffa09c
RMD160 (gloox-1.0.tar.bz2) = 92089462ed778fb41bf97d882fc1785b8e82233f
@@ -6,4 +6,8 @@ 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_examples_e2ee__client.cpp) = 3a28030733fca789769c9361fe21b586aebe1370
+SHA1 (patch-src_examples_e2ee__server.cpp) = eb8c22427def85387b9bf88b665feb1315df878f
+SHA1 (patch-src_examples_ft__recv.cpp) = 3a4431f24b9ad933e7829af23ea99bcd4a488abd
SHA1 (patch-src_sha.cpp) = b9f51307b97c68575aff4a029653584fcc6aeec6
+SHA1 (patch-src_util.h) = 225609b219c76fdf1171a326cf40a9c26fde0a80
diff --git a/chat/gloox/patches/patch-src_examples_e2ee__client.cpp b/chat/gloox/patches/patch-src_examples_e2ee__client.cpp
new file mode 100644
index 00000000000..867502cd788
--- /dev/null
+++ b/chat/gloox/patches/patch-src_examples_e2ee__client.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_examples_e2ee__client.cpp,v 1.1 2013/04/30 22:34:29 joerg Exp $
+
+--- src/examples/e2ee_client.cpp.orig 2013-04-30 21:02:01.000000000 +0000
++++ src/examples/e2ee_client.cpp
+@@ -17,6 +17,7 @@ using namespace gloox;
+ #include <string>
+
+ #include <cstdio> // [s]print[f]
++#include <ctime>
+
+ #ifdef WIN32
+ #include <windows.h>
diff --git a/chat/gloox/patches/patch-src_examples_e2ee__server.cpp b/chat/gloox/patches/patch-src_examples_e2ee__server.cpp
new file mode 100644
index 00000000000..686981482f0
--- /dev/null
+++ b/chat/gloox/patches/patch-src_examples_e2ee__server.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_examples_e2ee__server.cpp,v 1.1 2013/04/30 22:34:29 joerg Exp $
+
+--- src/examples/e2ee_server.cpp.orig 2013-04-30 21:03:45.000000000 +0000
++++ src/examples/e2ee_server.cpp
+@@ -17,6 +17,7 @@ using namespace gloox;
+ #include <string>
+
+ #include <cstdio> // [s]print[f]
++#include <ctime>
+
+ #ifdef WIN32
+ #include <windows.h>
diff --git a/chat/gloox/patches/patch-src_examples_ft__recv.cpp b/chat/gloox/patches/patch-src_examples_ft__recv.cpp
new file mode 100644
index 00000000000..cd3b9af61ed
--- /dev/null
+++ b/chat/gloox/patches/patch-src_examples_ft__recv.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_examples_ft__recv.cpp,v 1.1 2013/04/30 22:34:29 joerg Exp $
+
+--- src/examples/ft_recv.cpp.orig 2013-04-30 21:04:50.000000000 +0000
++++ src/examples/ft_recv.cpp
+@@ -15,6 +15,7 @@ using namespace gloox;
+ #include <string>
+
+ #include <cstdio> // [s]print[f]
++#include <ctime>
+
+ #if defined( WIN32 ) || defined( _WIN32 )
+ # include <windows.h>
diff --git a/chat/gloox/patches/patch-src_util.h b/chat/gloox/patches/patch-src_util.h
new file mode 100644
index 00000000000..5f2caf282ca
--- /dev/null
+++ b/chat/gloox/patches/patch-src_util.h
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_util.h,v 1.1 2013/04/30 22:34:29 joerg Exp $
+
+--- src/util.h.orig 2013-04-30 20:55:09.000000000 +0000
++++ src/util.h
+@@ -16,6 +16,7 @@
+ #include "gloox.h"
+
+ #include <cmath>
++#include <cstdlib>
+ #include <algorithm>
+ #include <string>
+ #include <list>