summaryrefslogtreecommitdiff
path: root/chat/gloox/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-04-30 22:34:29 +0000
committerjoerg <joerg@pkgsrc.org>2013-04-30 22:34:29 +0000
commit99449482facadb95159ba17cc621d0c6d426ed2a (patch)
treea4f848772326e334251e2718cca1d6a91f004dc9 /chat/gloox/patches
parent5121c0cb8a0d7ab8c0a5bb06d1795a689ccbeb64 (diff)
downloadpkgsrc-99449482facadb95159ba17cc621d0c6d426ed2a.tar.gz
Fix various case of missing includes due to libstdc++'s namespace
pollution.
Diffstat (limited to 'chat/gloox/patches')
-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
4 files changed, 48 insertions, 0 deletions
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>