summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-25 22:21:27 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-25 22:21:27 +0000
commitc37f2f596bc5e081468d07c5f38c0f4aba39d704 (patch)
treec0893961158012bb89bc47b0d643ab0da7f25126 /wm
parent1d38ab87d0af93c2211477588e28ef065e791e2e (diff)
downloadpkgsrc-c37f2f596bc5e081468d07c5f38c0f4aba39d704.tar.gz
Fix build with modern GCC
Diffstat (limited to 'wm')
-rw-r--r--wm/bbkeys09/distinfo7
-rw-r--r--wm/bbkeys09/patches/patch-src_Config.cpp12
-rw-r--r--wm/bbkeys09/patches/patch-src_KeyClient.cpp12
-rw-r--r--wm/bbkeys09/patches/patch-src_Netclient.cpp15
-rw-r--r--wm/bbkeys09/patches/patch-src_actions.cc12
-rw-r--r--wm/bbkeys09/patches/patch-src_main.cpp13
6 files changed, 70 insertions, 1 deletions
diff --git a/wm/bbkeys09/distinfo b/wm/bbkeys09/distinfo
index 4fff5de54fd..ecb3daf0bac 100644
--- a/wm/bbkeys09/distinfo
+++ b/wm/bbkeys09/distinfo
@@ -1,6 +1,11 @@
-$NetBSD: distinfo,v 1.1 2006/08/20 23:07:18 jschauma Exp $
+$NetBSD: distinfo,v 1.2 2011/11/25 22:21:27 joerg Exp $
SHA1 (bbkeys-0.9.0.tar.gz) = b406f47f298fe83df6be89d2437dae2cee007439
RMD160 (bbkeys-0.9.0.tar.gz) = a42506693da977bed17d56ee0c1e5d0440464ac6
Size (bbkeys-0.9.0.tar.gz) = 199146 bytes
SHA1 (patch-aa) = b0c79c06d3e7897a63c43ee09ccbf7e05eedffe8
+SHA1 (patch-src_Config.cpp) = 4f4a575931dc1b0c9f5d871f5d42e75d868bdfa4
+SHA1 (patch-src_KeyClient.cpp) = b4fc5930eb0f5ad0821aac73c5806b11f0f4a12e
+SHA1 (patch-src_Netclient.cpp) = e40c8ea01b551f8713e22142309a3e8a40097380
+SHA1 (patch-src_actions.cc) = 0af59ca4be45cb5020da71837a794d2f34a6df24
+SHA1 (patch-src_main.cpp) = 3a54f4f8c2d0731619b7306573d31e3369a524c5
diff --git a/wm/bbkeys09/patches/patch-src_Config.cpp b/wm/bbkeys09/patches/patch-src_Config.cpp
new file mode 100644
index 00000000000..7d23fcbff73
--- /dev/null
+++ b/wm/bbkeys09/patches/patch-src_Config.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_Config.cpp,v 1.1 2011/11/25 22:21:28 joerg Exp $
+
+--- src/Config.cpp.orig 2011-11-25 16:58:41.000000000 +0000
++++ src/Config.cpp
+@@ -25,6 +25,7 @@
+
+ #include "Config.h"
+ #include <string>
++#include <strings.h>
+
+ #include <iostream>
+ using std::cout;
diff --git a/wm/bbkeys09/patches/patch-src_KeyClient.cpp b/wm/bbkeys09/patches/patch-src_KeyClient.cpp
new file mode 100644
index 00000000000..23c535a1387
--- /dev/null
+++ b/wm/bbkeys09/patches/patch-src_KeyClient.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_KeyClient.cpp,v 1.1 2011/11/25 22:21:28 joerg Exp $
+
+--- src/KeyClient.cpp.orig 2011-11-25 17:00:02.000000000 +0000
++++ src/KeyClient.cpp
+@@ -46,6 +46,7 @@ extern "C" {
+
+ #include <sys/types.h>
+ #include <sys/wait.h>
++#include <strings.h>
+
+ }
+
diff --git a/wm/bbkeys09/patches/patch-src_Netclient.cpp b/wm/bbkeys09/patches/patch-src_Netclient.cpp
new file mode 100644
index 00000000000..643caaf0a43
--- /dev/null
+++ b/wm/bbkeys09/patches/patch-src_Netclient.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_Netclient.cpp,v 1.1 2011/11/25 22:21:28 joerg Exp $
+
+--- src/Netclient.cpp.orig 2011-11-25 17:00:35.000000000 +0000
++++ src/Netclient.cpp
+@@ -21,9 +21,9 @@
+ // DEALINGS IN THE SOFTWARE.
+
+ // E_O_H_VR
++#include <cstring>
+
+ // Methods, ideas, implementations taken from Openbox's XAtom class *sigh*
+-
+ #include "Netclient.h"
+
+ Netclient::Netclient (const bt::Display &display)
diff --git a/wm/bbkeys09/patches/patch-src_actions.cc b/wm/bbkeys09/patches/patch-src_actions.cc
new file mode 100644
index 00000000000..ece401e3573
--- /dev/null
+++ b/wm/bbkeys09/patches/patch-src_actions.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_actions.cc,v 1.1 2011/11/25 22:21:28 joerg Exp $
+
+--- src/actions.cc.orig 2011-11-25 16:59:00.000000000 +0000
++++ src/actions.cc
+@@ -24,6 +24,7 @@
+
+ #include "actions.hh"
+
++#include <cstdlib>
+ #include <iostream>
+ #include <string>
+ #include <sstream>
diff --git a/wm/bbkeys09/patches/patch-src_main.cpp b/wm/bbkeys09/patches/patch-src_main.cpp
new file mode 100644
index 00000000000..3097473886e
--- /dev/null
+++ b/wm/bbkeys09/patches/patch-src_main.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_main.cpp,v 1.1 2011/11/25 22:21:28 joerg Exp $
+
+--- src/main.cpp.orig 2011-11-25 17:00:21.000000000 +0000
++++ src/main.cpp
+@@ -21,7 +21,7 @@
+ // DEALINGS IN THE SOFTWARE.
+
+ // E_O_H_VR
+-
++#include <cstring>
+ #include "KeyClient.h"
+ #include "version.h"
+