aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/wmii-devel
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2006-10-03 23:22:04 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2006-10-03 23:22:04 +0000
commit21f9eace677f7fd18c8118e175961b300626b507 (patch)
tree5a13dbc321253a6c480878fc28787e294004cdb3 /x11-wm/wmii-devel
parent911f1f934359be24e542bc700ccf33dad85b6424 (diff)
downloadports-21f9eace677f7fd18c8118e175961b300626b507.tar.gz
ports-21f9eace677f7fd18c8118e175961b300626b507.zip
Fix the build on 4.X.
Notes
Notes: svn path=/head/; revision=174408
Diffstat (limited to 'x11-wm/wmii-devel')
-rw-r--r--x11-wm/wmii-devel/files/patch-fbsd441
1 files changed, 41 insertions, 0 deletions
diff --git a/x11-wm/wmii-devel/files/patch-fbsd4 b/x11-wm/wmii-devel/files/patch-fbsd4
new file mode 100644
index 000000000000..061880d192c7
--- /dev/null
+++ b/x11-wm/wmii-devel/files/patch-fbsd4
@@ -0,0 +1,41 @@
+--- cmd/wm/client.c.orig Sat Jun 17 18:44:30 2006
++++ cmd/wm/client.c Wed Oct 4 06:17:02 2006
+@@ -129,15 +129,20 @@
+ void
+ focus_client(Client *c, Bool restack)
+ {
++ Client *old, *old_in_area;
++ Frame *f;
++ View *v;
++ int i;
++ static char buf[256];
++
+ if (!sel_screen)
+ return;
+
+- Client *old = sel_client();
+- Frame *f = c->frame.data[c->sel];
+- Client *old_in_area = sel_client_of_area(f->area);
+- View *v = f->area->view;
+- int i = idx_of_area(f->area);
+- static char buf[256];
++ old = sel_client();
++ f = c->frame.data[c->sel];
++ old_in_area = sel_client_of_area(f->area);
++ v = f->area->view;
++ i = idx_of_area(f->area);
+
+ v->sel = i;
+ f->area->sel = idx_of_frame(f);
+--- libixp/client.c.orig Sat Jun 17 18:44:30 2006
++++ libixp/client.c Wed Oct 4 06:17:14 2006
+@@ -6,8 +6,8 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <sys/socket.h>
+ #include <sys/types.h>
++#include <sys/socket.h>
+ #include <unistd.h>
+
+ #include "ixp.h"