Anselm R. Garbe --> dwm (2006-10-12 18:02:43 +0200):
> On Thu, Oct 12, 2006 at 05:45:21PM +0200, Cedric Krier wrote:
> > Here is a patch to add check for all user's groups instead of only the
> > real group.
>
> How portable is that? Can some BSD user check please?
Seems fine to me: getgroups() is POSIX.1, and the patch makes lsx work
as expected at least on NetBSD.
Cheers, Jukka
BTW: lsx shouldn't need libX11...
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
diff -r 0842010abe68 config.mk
--- a/config.mk Thu Oct 12 10:37:38 2006 +0200
+++ b/config.mk Fri Oct 13 10:41:10 2006 +0200
@@ -7,12 +7,9 @@ PREFIX = /usr/local
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
-X11INC = /usr/X11R6/include
-X11LIB = /usr/X11R6/lib
-
# includes and libs
-INCS = -I/usr/lib -I${X11INC}
-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
+INCS = -I/usr/lib
+LIBS = -L/usr/lib -lc
# flags
CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"