changeset: 2434:c81fc1b2d6d5
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Thu Jan 29 21:31:53 2009 -0500
files: cmd/menu/Makefile cmd/menu/dat.h cmd/menu/menu.c
description:
Compile wimenu with -DXOPEN_SOURCE=600, link libXrender
diff -r 45e7382f4106 -r c81fc1b2d6d5 cmd/menu/Makefile
--- a/cmd/menu/Makefile Thu Jan 29 21:22:38 2009 -0500
+++ b/cmd/menu/Makefile Thu Jan 29 21:31: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 \
-lregexp9 -lbio -lfmt -lutf
CFLAGS += $(INCX11) -DVERSION=\"$(VERSION)\" \
-DIXP_NEEDAPI=86
diff -r 45e7382f4106 -r c81fc1b2d6d5 cmd/menu/dat.h
--- a/cmd/menu/dat.h Thu Jan 29 21:22:38 2009 -0500
+++ b/cmd/menu/dat.h Thu Jan 29 21:31:53 2009 -0500
@@ -1,3 +1,4 @@
+#define _XOPEN_SOURCE 600
#define IXP_P9_STRUCTS
#define IXP_NO_P9_
#include <fmt.h>
diff -r 45e7382f4106 -r c81fc1b2d6d5 cmd/menu/menu.c
--- a/cmd/menu/menu.c Thu Jan 29 21:22:38 2009 -0500
+++ b/cmd/menu/menu.c Thu Jan 29 21:31:53 2009 -0500
@@ -1,6 +1,6 @@
#include "dat.h"
#include <ctype.h>
-#include <string.h>
+#include <strings.h>
#include <unistd.h>
#include "fns.h"
Received on Fri Jan 30 2009 - 02:31:54 UTC
This archive was generated by hypermail 2.2.0 : Fri Jan 30 2009 - 02:36:04 UTC