Hello,
I don't know if this is the wrong form but I'm using dwm and trying to add the centermaster patch but I get errors
---
- joe@debian:~/dwm$ sudo make install clean
- 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=200809L -DVERSION="6.4" -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=200809L -DVERSION=\"6.4\" -DXINERAMA drw.c
- 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=200809L -DVERSION=\"6.4\" -DXINERAMA dwm.c
- dwm.c:2350:1: error: redefinition of ‘centeredmaster’
- 2350 | centeredmaster(Monitor *m)
- | ^~~~~~~~~~~~~~
- dwm.c:2247:1: note: previous definition of ‘centeredmaster’ with type ‘void(Monitor *)’
- 2247 | centeredmaster(Monitor *m)
- | ^~~~~~~~~~~~~~
- dwm.c:2405:1: error: redefinition of ‘centeredfloatingmaster’
- 2405 | centeredfloatingmaster(Monitor *m)
- | ^~~~~~~~~~~~~~~~~~~~~~
- dwm.c:2302:1: note: previous definition of ‘centeredfloatingmaster’ with type ‘void(Monitor *)’
- 2302 | centeredfloatingmaster(Monitor *m)
- | ^~~~~~~~~~~~~~~~~~~~~~
- make: *** [Makefile:18: dwm.o] Error 1
---
I know how to patch a little I've patched about 4 layouts already. Never ran into this
The guys over at #suckless take a while to respond on irc so I decided to reach out
Thanks
Joe B