This patch enables the specification of WSDISPLAY_MAXSCREEN as an option in a config(8) file. Without, a multiple-definition error is thrown.
This patch is expected to affect only the kernel, and then only at config(8) time. Index: src/sys/dev/wscons/wsdisplayvar.h =================================================================== RCS file: /cvs/src/sys/dev/wscons/wsdisplayvar.h,v retrieving revision 1.31 diff -u -p -r1.31 wsdisplayvar.h --- src/sys/dev/wscons/wsdisplayvar.h 19 Jul 2017 14:34:10 -0000 1.31 +++ src/sys/dev/wscons/wsdisplayvar.h 24 Dec 2018 06:13:54 -0000 @@ -56,7 +56,9 @@ struct device; * WSDISPLAY interfaces */ +#ifndef WSDISPLAY_MAXSCREEN #define WSDISPLAY_MAXSCREEN 12 +#endif /* * Emulation functions, for displays that can support glass-tty terminal