summaryrefslogtreecommitdiff
path: root/wm/blackbox/patches
diff options
context:
space:
mode:
authorreed <reed>2003-08-30 20:34:14 +0000
committerreed <reed>2003-08-30 20:34:14 +0000
commit61b94c9943daeb94347e70c743858555df5ac753 (patch)
tree182b077d99e72a130206f9dd984af32b4c166468 /wm/blackbox/patches
parent818ca8a26c4396c1882ec962e06d4fc2dc08f96f (diff)
downloadpkgsrc-61b94c9943daeb94347e70c743858555df5ac753.tar.gz
Add patch-ad so it will build under gcc 3.3.1. Error was:
Window.cc:3234: error: `assert' undeclared (first use this function) (Approved by maintainer, jschauma.)
Diffstat (limited to 'wm/blackbox/patches')
-rw-r--r--wm/blackbox/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/wm/blackbox/patches/patch-ad b/wm/blackbox/patches/patch-ad
new file mode 100644
index 00000000000..290e41107e0
--- /dev/null
+++ b/wm/blackbox/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2003/08/30 20:34:14 reed Exp $
+
+--- src/Window.cc.orig 2002-09-17 08:23:35.000000000 -0700
++++ src/Window.cc
+@@ -44,6 +44,8 @@ extern "C" {
+ #endif // HAVE_STDLIB_H
+ }
+
++#include <cassert>
++
+ #include "i18n.hh"
+ #include "blackbox.hh"
+ #include "GCCache.hh"