summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-12-05 22:56:58 +0000
committerjoerg <joerg@pkgsrc.org>2011-12-05 22:56:58 +0000
commita4c6c08a92ac484d7a228f2192af15e357e6d3c7 (patch)
tree832e5524d6b9c625e85e1f69e3d048839cff29bf /wm
parent79465753dd19f7c2c0db0669d7eebec5a44456b6 (diff)
downloadpkgsrc-a4c6c08a92ac484d7a228f2192af15e357e6d3c7.tar.gz
Fix build with modern GCC
Diffstat (limited to 'wm')
-rw-r--r--wm/wmi/distinfo7
-rw-r--r--wm/wmi/patches/patch-src_action.cpp9
-rw-r--r--wm/wmi/patches/patch-src_logger.cpp10
-rw-r--r--wm/wmi/patches/patch-src_main.cpp12
-rw-r--r--wm/wmi/patches/patch-src_util.cpp12
-rw-r--r--wm/wmi/patches/patch-src_wmiremote.cpp12
6 files changed, 61 insertions, 1 deletions
diff --git a/wm/wmi/distinfo b/wm/wmi/distinfo
index fd690b23064..e9af6702355 100644
--- a/wm/wmi/distinfo
+++ b/wm/wmi/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2007/12/10 13:25:03 obache Exp $
+$NetBSD: distinfo,v 1.7 2011/12/05 22:56:58 joerg Exp $
SHA1 (wmi-10.tar.gz) = 46fbafc5d896863f5e22c2d7c77244b21fbd5d35
RMD160 (wmi-10.tar.gz) = 49ba3c481c6149a815c89d9de5f3233ede25edeb
@@ -6,3 +6,8 @@ Size (wmi-10.tar.gz) = 193148 bytes
SHA1 (patch-ab) = d0112ad98f1812aa9be96f0531670a02d01de71f
SHA1 (patch-ac) = cc10b19adf1867926a4bc15de12f64172d3ddcae
SHA1 (patch-ad) = 91cab093a6111b05652a614b6f160a28617279b3
+SHA1 (patch-src_action.cpp) = ee9d8eccbed2b3a4974a2b7e9a6f65b1fd3d57ab
+SHA1 (patch-src_logger.cpp) = b755296c5e3e719b6e093a973d4827484a508a7b
+SHA1 (patch-src_main.cpp) = f54f951aee73cad73286a5791563025c9cbfb183
+SHA1 (patch-src_util.cpp) = 53a037bdd1e0d482396e66bda0563bfbe1cba406
+SHA1 (patch-src_wmiremote.cpp) = 1a3aae0e0679e7ee3dde5e3bf9760b626d54763f
diff --git a/wm/wmi/patches/patch-src_action.cpp b/wm/wmi/patches/patch-src_action.cpp
new file mode 100644
index 00000000000..cec8789e75c
--- /dev/null
+++ b/wm/wmi/patches/patch-src_action.cpp
@@ -0,0 +1,9 @@
+$NetBSD: patch-src_action.cpp,v 1.1 2011/12/05 22:56:58 joerg Exp $
+
+--- src/action.cpp.orig 2011-12-05 20:32:53.000000000 +0000
++++ src/action.cpp
+@@ -5,2 +5,4 @@
+
++#include <cstdlib>
++#include <cstring>
+ #include <string>
diff --git a/wm/wmi/patches/patch-src_logger.cpp b/wm/wmi/patches/patch-src_logger.cpp
new file mode 100644
index 00000000000..6a2f32892d7
--- /dev/null
+++ b/wm/wmi/patches/patch-src_logger.cpp
@@ -0,0 +1,10 @@
+$NetBSD: patch-src_logger.cpp,v 1.1 2011/12/05 22:56:58 joerg Exp $
+
+--- src/logger.cpp.orig 2011-12-05 20:33:20.000000000 +0000
++++ src/logger.cpp
+@@ -5,4 +5,5 @@
+
+ #include <iostream>
++#include <cstdlib>
+
+ #include "logger.h"
diff --git a/wm/wmi/patches/patch-src_main.cpp b/wm/wmi/patches/patch-src_main.cpp
new file mode 100644
index 00000000000..8efed6b0463
--- /dev/null
+++ b/wm/wmi/patches/patch-src_main.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_main.cpp,v 1.1 2011/12/05 22:56:58 joerg Exp $
+
+--- src/main.cpp.orig 2011-12-05 20:33:30.000000000 +0000
++++ src/main.cpp
+@@ -13,6 +13,7 @@ extern "C" {
+ #include <X11/Xlib.h>
+ }
+
++#include <cstring>
+ #include <iostream>
+ #include <string>
+ #include <sstream>
diff --git a/wm/wmi/patches/patch-src_util.cpp b/wm/wmi/patches/patch-src_util.cpp
new file mode 100644
index 00000000000..b9702df2d9e
--- /dev/null
+++ b/wm/wmi/patches/patch-src_util.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_util.cpp,v 1.1 2011/12/05 22:56:58 joerg Exp $
+
+--- src/util.cpp.orig 2011-12-05 20:33:57.000000000 +0000
++++ src/util.cpp
+@@ -10,6 +10,7 @@ extern "C" {
+
+ #include <sstream>
+ #include <iostream>
++#include <cstdlib>
+
+ #include "util.h"
+
diff --git a/wm/wmi/patches/patch-src_wmiremote.cpp b/wm/wmi/patches/patch-src_wmiremote.cpp
new file mode 100644
index 00000000000..e89f5a6ddba
--- /dev/null
+++ b/wm/wmi/patches/patch-src_wmiremote.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_wmiremote.cpp,v 1.1 2011/12/05 22:56:58 joerg Exp $
+
+--- src/wmiremote.cpp.orig 2011-12-05 20:34:12.000000000 +0000
++++ src/wmiremote.cpp
+@@ -12,6 +12,7 @@ extern "C" {
+ #include <X11/Xutil.h>
+ }
+
++#include <cstdlib>
+ #include <iostream>
+ #include <string>
+