summaryrefslogtreecommitdiff
path: root/wm/wmi/patches
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-12-10 13:25:03 +0000
committerobache <obache@pkgsrc.org>2007-12-10 13:25:03 +0000
commit77c29bd3e0a1e53017b90f92ddb0bd68da9dd403 (patch)
tree0c9eab21376dc4c99cd710f4e2fd9d20d77e96fb /wm/wmi/patches
parentad6e9dd0f70d8b0b5558b1641b510b931f12b47c (diff)
downloadpkgsrc-77c29bd3e0a1e53017b90f92ddb0bd68da9dd403.tar.gz
Try to fix build problem on NetBSD 4.
Diffstat (limited to 'wm/wmi/patches')
-rw-r--r--wm/wmi/patches/patch-ab13
-rw-r--r--wm/wmi/patches/patch-ac13
-rw-r--r--wm/wmi/patches/patch-ad22
3 files changed, 48 insertions, 0 deletions
diff --git a/wm/wmi/patches/patch-ab b/wm/wmi/patches/patch-ab
new file mode 100644
index 00000000000..9668edc8fb3
--- /dev/null
+++ b/wm/wmi/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2007/12/10 13:25:08 obache Exp $
+
+--- src/kernel.h.orig 2004-09-27 18:22:51.000000000 +0000
++++ src/kernel.h
+@@ -167,7 +167,7 @@ public:
+
+ void cleanup();
+
+- Prompt *Kernel::defaultPrompt() const;
++ Prompt *defaultPrompt() const;
+
+ void setMenuMode(bool isMenuMode);
+
diff --git a/wm/wmi/patches/patch-ac b/wm/wmi/patches/patch-ac
new file mode 100644
index 00000000000..9ad7b9bf822
--- /dev/null
+++ b/wm/wmi/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2007/12/10 13:25:10 obache Exp $
+
+--- src/frame.h.orig 2004-09-27 18:22:51.000000000 +0000
++++ src/frame.h
+@@ -35,7 +35,7 @@ public:
+ void focus(Client *client);
+
+ void attach(Client *client);
+- Client *Frame::detach(Client *client);
++ Client *detach(Client *client);
+
+ virtual Window window();
+
diff --git a/wm/wmi/patches/patch-ad b/wm/wmi/patches/patch-ad
new file mode 100644
index 00000000000..3a44276df0e
--- /dev/null
+++ b/wm/wmi/patches/patch-ad
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1 2007/12/10 13:25:10 obache Exp $
+
+--- src/inputbar.cpp.orig 2004-09-27 18:22:51.000000000 +0000
++++ src/inputbar.cpp
+@@ -31,7 +31,7 @@ InputBar::InputBar(Monitor *monitor, Rec
+ prompt_ = 0;
+ promptCounter_ = 0;
+ isArgument_ = false;
+- entryBegin_ = entryEnd_ = 0;
++ entryBegin_ = entryEnd_ = names_.end();
+ partitionBegin_ = selected_ = entryBegin_;
+ args_ = "";
+ LOGDEBUG("creating input");
+@@ -233,7 +233,7 @@ void InputBar::queryText(string text) {
+ clearPrevPartitionsStack();
+ }
+ else {
+- entryBegin_ = entryEnd_ = 0;
++ entryBegin_ = entryEnd_ = names_.end();
+ partitionBegin_ = selected_ = entryBegin_;
+ text_ = text;
+ }