summaryrefslogtreecommitdiff
path: root/wm/blackbox/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2013-04-30 22:34:29 +0000
committerjoerg <joerg>2013-04-30 22:34:29 +0000
commitf662d61c2641ecb182b80b13e1b93e8e95824794 (patch)
treea4f848772326e334251e2718cca1d6a91f004dc9 /wm/blackbox/patches
parentf392a5f19b335e850f53bc8825bb875970ffaa94 (diff)
downloadpkgsrc-f662d61c2641ecb182b80b13e1b93e8e95824794.tar.gz
Fix various case of missing includes due to libstdc++'s namespace
pollution.
Diffstat (limited to 'wm/blackbox/patches')
-rw-r--r--wm/blackbox/patches/patch-src_GCCache.cc12
-rw-r--r--wm/blackbox/patches/patch-src_ImageControl.cc12
2 files changed, 24 insertions, 0 deletions
diff --git a/wm/blackbox/patches/patch-src_GCCache.cc b/wm/blackbox/patches/patch-src_GCCache.cc
new file mode 100644
index 00000000000..5cfb6a85e9b
--- /dev/null
+++ b/wm/blackbox/patches/patch-src_GCCache.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_GCCache.cc,v 1.1 2013/04/30 22:34:32 joerg Exp $
+
+--- src/GCCache.cc.orig 2013-04-30 19:20:02.000000000 +0000
++++ src/GCCache.cc
+@@ -26,6 +26,7 @@
+ #endif // HAVE_CONFIG_H
+
+ extern "C" {
++#include <stdlib.h>
+ #include <stdio.h>
+ }
+
diff --git a/wm/blackbox/patches/patch-src_ImageControl.cc b/wm/blackbox/patches/patch-src_ImageControl.cc
new file mode 100644
index 00000000000..860bb1fbf1f
--- /dev/null
+++ b/wm/blackbox/patches/patch-src_ImageControl.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_ImageControl.cc,v 1.1 2013/04/30 22:34:32 joerg Exp $
+
+--- src/ImageControl.cc.orig 2013-04-30 19:20:20.000000000 +0000
++++ src/ImageControl.cc
+@@ -34,6 +34,7 @@ extern "C" {
+ # include <ctype.h>
+ #endif // HAVE_CTYPE_H
+
++#include <stdlib.h>
+ #include <X11/Xlib.h>
+ }
+