Подскажите, пожалуйста. В DWM уже стоят патчи pertag и systray. Захотел поставить pwkl. Скачал патч, поставил патч с результатом:
> patch -i dwm-5.9-pwkl.diff
patching file dwm.c
Hunk #2 succeeded at 114 (offset 20 lines).
Hunk #3 succeeded at 974 (offset 151 lines).
Hunk #4 succeeded at 1251 with fuzz 2 (offset 156 lines).
Hunk #5 succeeded at 1431 with fuzz 2 (offset 281 lines).
Hunk #6 succeeded at 2016 (offset 310 lines).
а вот компилироваться не захотел:
> make
dwm build options:
CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="6.0" -DXINERAMA
LDFLAGS = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -L/usr/X11R6/lib -lXinerama
CC = cc
CC dwm.c
dwm.c: In function ‘keypress’:
dwm.c:1226:2: warning: ‘XKeycodeToKeysym’ is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Wdeprecated-declarations]
dwm.c: In function ‘manage’:
dwm.c:1254:14: warning: unused variable ‘kbd_state’ [-Wunused-variable]
dwm.c: In function ‘pop’:
dwm.c:1434:36: error: ‘kbd_state’ undeclared (first use in this function)
dwm.c:1434:36: note: each undeclared identifier is reported only once for each function it appears in
In file included from dwm.c:328:0:
dwm.c: At top level:
config.h:71:20: warning: ‘apluscmd’ defined but not used [-Wunused-variable]
config.h:72:20: warning: ‘aminuscmd’ defined but not used [-Wunused-variable]
make: *** [dwm.o] Ошибка 1
мой dwm.c после патча (т.е. на момент отказа компилироваться)
мой config.h - вроде он не затронут патчем