summaryrefslogtreecommitdiff
path: root/wm/blackbox
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-26 17:22:25 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-26 17:22:25 +0000
commit5c87dfc228aa9c3e940bef32ac651cb7e057f7b7 (patch)
tree14e61bc4bf1484424a75eac19a70bd0cb42d102c /wm/blackbox
parentd5d57bc5e499954abb4451f11919b2db3f26f584 (diff)
downloadpkgsrc-5c87dfc228aa9c3e940bef32ac651cb7e057f7b7.tar.gz
Fix build with modern GCC
Diffstat (limited to 'wm/blackbox')
-rw-r--r--wm/blackbox/distinfo3
-rw-r--r--wm/blackbox/patches/patch-src_Image.cc12
2 files changed, 14 insertions, 1 deletions
diff --git a/wm/blackbox/distinfo b/wm/blackbox/distinfo
index 1314d6b9eb3..7e8556f87ad 100644
--- a/wm/blackbox/distinfo
+++ b/wm/blackbox/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2006/01/02 21:47:43 joerg Exp $
+$NetBSD: distinfo,v 1.12 2011/11/26 17:22:25 joerg Exp $
SHA1 (blackbox-0.65.0.tar.gz) = 903a35526b1c29912ca500b7f8c205368e60fc38
RMD160 (blackbox-0.65.0.tar.gz) = d88d9c5d9375274da149c77d3c63bb9c92470f26
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = 6081da04f0dbab0f711523114e130c176a0f1f05
SHA1 (patch-ac) = 5f249a2e6d75e5d88605d6d8a1675d003b1cb52f
SHA1 (patch-ad) = 0906aa36c45b1e9ebd8c10e166ac1ba8e345fd9e
SHA1 (patch-ae) = 0e919952cd5209e787807548ca7ce45c5ed03497
+SHA1 (patch-src_Image.cc) = fa9ad93eae4fa6e21b8e9f2811298e87a4901c15
diff --git a/wm/blackbox/patches/patch-src_Image.cc b/wm/blackbox/patches/patch-src_Image.cc
new file mode 100644
index 00000000000..49202690edc
--- /dev/null
+++ b/wm/blackbox/patches/patch-src_Image.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_Image.cc,v 1.1 2011/11/26 17:22:25 joerg Exp $
+
+--- src/Image.cc.orig 2011-11-26 14:37:13.000000000 +0000
++++ src/Image.cc
+@@ -29,6 +29,7 @@
+ # include <stdio.h>
+ #endif // HAVE_STDIO_H
+
++#include <cstring>
+ #include <algorithm>
+ using std::max;
+ using std::min;