Anselm Garbe:
* dwm-6.2: https://dl.suckless.org/dwm/dwm-6.2.tar.gz

I'm having trouble building this on Debian 9.9, while dwm-6.1 works nicely:

/usr/local/src/dwm-6.2 % make
dwm build options:
CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include 
-I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 
-DVERSION="6.2" -DXINERAMA
LDFLAGS  = -L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft
CC       = cc
cp config.def.h config.h
cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include 
-I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 
-DVERSION=\"6.2\" -DXINERAMA drw.c
drw.c: In function ‘xfont_create’:
drw.c:143:38: error: ‘FC_COLOR’ undeclared (first use in this function)
 if(FcPatternGetBool(xfont->pattern, FC_COLOR, 0, &iscol) == FcResultMatch && 
iscol) {
                                     ^~~~~~~~
drw.c:143:38: note: each undeclared identifier is reported only once for each 
function it appears in
drw.c: In function ‘drw_text’:
drw.c:353:32: error: ‘FC_COLOR’ undeclared (first use in this function)
   FcPatternAddBool(fcpattern, FC_COLOR, FcFalse);
                               ^~~~~~~~
Makefile:18: recipe for target 'drw.o' failed
make: *** [drw.o] Error 1

Any hint what I'm doing wrong?

Thanks, and keep up the good work!

--
ilf

If you upload your address book to "the cloud", I don't want to be in it.

Reply via email to