[hackers] [wmii] Fix (hopefully) building on Darwin. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Wed, 28 Jan 2009 23:36:01 +0000 (UTC)

changeset: 2432:7f43306e0fed
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Wed Jan 28 18:35:53 2009 -0500
files: cmd/menu/dat.h cmd/menu/main.c cmd/wmii/Makefile cmd/wmii/main.c cmd/wmii/view.c
description:
Fix (hopefully) building on Darwin.

diff -r 4f35d93209d9 -r 7f43306e0fed cmd/menu/dat.h
--- a/cmd/menu/dat.h Wed Jan 28 18:32:13 2009 -0500
+++ b/cmd/menu/dat.h Wed Jan 28 18:35:53 2009 -0500
@@ -4,6 +4,7 @@
 #include <stdarg.h>
 #include <stdbool.h>
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 #include <util.h>
 #include <ixp.h>
diff -r 4f35d93209d9 -r 7f43306e0fed cmd/menu/main.c
--- a/cmd/menu/main.c Wed Jan 28 18:32:13 2009 -0500
+++ b/cmd/menu/main.c Wed Jan 28 18:35:53 2009 -0500
@@ -7,7 +7,6 @@
 #include "dat.h"
 #include <X11/Xproto.h>
 #include <locale.h>
-#include <string.h>
 #include <strings.h>
 #include <bio.h>
 #include "fns.h"
diff -r 4f35d93209d9 -r 7f43306e0fed cmd/wmii/Makefile
--- a/cmd/wmii/Makefile Wed Jan 28 18:32:13 2009 -0500
+++ b/cmd/wmii/Makefile Wed Jan 28 18:35:53 2009 -0500
@@ -8,7 +8,7 @@
 HFILES= dat.h fns.h
 
 LIB = $(LIBIXP)
-LDFLAGS += -lm $(LIBX11) -lXext -lXrandr -lXinerama \
+LDFLAGS += -lm $(LIBX11) -lXext -lXrandr -lXrender -lXinerama \
            $(LIBICONV) -lregexp9 -lbio -lfmt -lutf
 
 CFLAGS += $(INCX11) $(INCICONV) -DVERSION=\"$(VERSION)\" \
diff -r 4f35d93209d9 -r 7f43306e0fed cmd/wmii/main.c
--- a/cmd/wmii/main.c Wed Jan 28 18:32:13 2009 -0500
+++ b/cmd/wmii/main.c Wed Jan 28 18:35:53 2009 -0500
@@ -10,7 +10,7 @@
 #include <fcntl.h>
 #include <locale.h>
 #include <pwd.h>
-#include <signal.h>
+#include <sys/signal.h>
 #include <sys/stat.h>
 #include <unistd.h>
 #include "fns.h"
diff -r 4f35d93209d9 -r 7f43306e0fed cmd/wmii/view.c
--- a/cmd/wmii/view.c Wed Jan 28 18:32:13 2009 -0500
+++ b/cmd/wmii/view.c Wed Jan 28 18:35:53 2009 -0500
@@ -111,9 +111,9 @@
 void
 view_destroy(View *v) {
         View **vp;
- Frame *f, *fn;
+ Frame *f;
         View *tv;
- Area *a, *an;
+ Area *a;
         int s;
 
         if(v->dead)
Received on Wed Jan 28 2009 - 23:36:01 UTC

This archive was generated by hypermail 2.2.0 : Wed Jan 28 2009 - 23:48:03 UTC