diff options
author | danfe <danfe@FreeBSD.org> | 2006-10-04 07:22:04 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2006-10-04 07:22:04 +0800 |
commit | f6356fc961efbff93733e89221acb11873230e07 (patch) | |
tree | 974992a93d6a0f0e1fc525c98238fd6be4c3df9a /x11-wm/wmii | |
parent | 265106d628c320e085403f4fcea2241bdf8c1216 (diff) | |
download | freebsd-ports-gnome-f6356fc961efbff93733e89221acb11873230e07.tar.gz freebsd-ports-gnome-f6356fc961efbff93733e89221acb11873230e07.tar.zst freebsd-ports-gnome-f6356fc961efbff93733e89221acb11873230e07.zip |
Fix the build on 4.X.
Diffstat (limited to 'x11-wm/wmii')
-rw-r--r-- | x11-wm/wmii/files/patch-fbsd4 | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/x11-wm/wmii/files/patch-fbsd4 b/x11-wm/wmii/files/patch-fbsd4 new file mode 100644 index 000000000000..061880d192c7 --- /dev/null +++ b/x11-wm/wmii/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" |