summaryrefslogtreecommitdiff
path: root/wm/bbpager04/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-25 22:22:05 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-25 22:22:05 +0000
commit502268104bb28f799ab9705333ce7e5c4b4151b1 (patch)
treedf7f44ba6df0e256feb4b4952e4c77f53e8cef3c /wm/bbpager04/patches
parentc37f2f596bc5e081468d07c5f38c0f4aba39d704 (diff)
downloadpkgsrc-502268104bb28f799ab9705333ce7e5c4b4151b1.tar.gz
Fix build with modern GCC.
Diffstat (limited to 'wm/bbpager04/patches')
-rw-r--r--wm/bbpager04/patches/patch-src_Baseresource.cxx12
-rw-r--r--wm/bbpager04/patches/patch-src_main.cxx12
-rw-r--r--wm/bbpager04/patches/patch-src_resource.cxx13
3 files changed, 37 insertions, 0 deletions
diff --git a/wm/bbpager04/patches/patch-src_Baseresource.cxx b/wm/bbpager04/patches/patch-src_Baseresource.cxx
new file mode 100644
index 00000000000..c86e99460cf
--- /dev/null
+++ b/wm/bbpager04/patches/patch-src_Baseresource.cxx
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_Baseresource.cxx,v 1.1 2011/11/25 22:22:05 joerg Exp $
+
+--- src/Baseresource.cxx.orig 2011-11-25 17:02:36.000000000 +0000
++++ src/Baseresource.cxx
+@@ -19,6 +19,7 @@
+ // (See the included file COPYING / GPL-2.0)
+ //
+
++#include <strings.h>
+ #include <string>
+ #include "Baseresource.h"
+ #include <stdio.h>
diff --git a/wm/bbpager04/patches/patch-src_main.cxx b/wm/bbpager04/patches/patch-src_main.cxx
new file mode 100644
index 00000000000..0e535b75f35
--- /dev/null
+++ b/wm/bbpager04/patches/patch-src_main.cxx
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_main.cxx,v 1.1 2011/11/25 22:22:05 joerg Exp $
+
+--- src/main.cxx.orig 2011-11-25 17:02:24.000000000 +0000
++++ src/main.cxx
+@@ -24,6 +24,7 @@
+ #include "config.h"
+
+ #include <stdio.h>
++#include <cstring>
+ #include <string>
+ #include <iostream>
+
diff --git a/wm/bbpager04/patches/patch-src_resource.cxx b/wm/bbpager04/patches/patch-src_resource.cxx
new file mode 100644
index 00000000000..63636a42672
--- /dev/null
+++ b/wm/bbpager04/patches/patch-src_resource.cxx
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_resource.cxx,v 1.1 2011/11/25 22:22:05 joerg Exp $
+
+--- src/resource.cxx.orig 2011-11-25 17:02:49.000000000 +0000
++++ src/resource.cxx
+@@ -18,7 +18,7 @@
+ //
+ // (See the included file COPYING / GPL-2.0)
+ //
+-
++#include <strings.h>
+ #include "resource.h"
+ #include "blackboxstyle.h"
+