Skip to content

fix FTBS on NetBSD

../hw/xfree86/os-support/bsd/bsd_init.c: In function ‘xf86CloseConsole’: ../hw/xfree86/os-support/xf86_os_support.h:22:6: error: ‘dispatchException’ undeclared (first use in this function) 22 | if (dispatchException & DE_TERMINATE) { | ^~~~~~~~~~~~~~~~~ ../hw/xfree86/os-support/bsd/bsd_init.c:634:13: note: in expansion of macro ‘xf86FatalError’ 634 | xf86FatalError("xf86CloseConsole: KDDISABIO failed (%s)", | ^~~~~~~~~~~~~~ ../hw/xfree86/os-support/xf86_os_support.h:22:6: note: each undeclared identifier is reported only once for each function it appears in 22 | if (dispatchException & DE_TERMINATE) { | ^~~~~~~~~~~~~~~~~ ../hw/xfree86/os-support/bsd/bsd_init.c:634:13: note: in expansion of macro ‘xf86FatalError’ 634 | xf86FatalError("xf86CloseConsole: KDDISABIO failed (%s)", | ^~~~~~~~~~~~~~ ../hw/xfree86/os-support/xf86_os_support.h:22:26: error: ‘DE_TERMINATE’ undeclared (first use in this function); did you mean ‘ACTION_TERMINATE’? 22 | if (dispatchException & DE_TERMINATE) { | ^~~~~~~~~~~~ ../hw/xfree86/os-support/bsd/bsd_init.c:634:13: note: in expansion of macro ‘xf86FatalError’ 634 | xf86FatalError("xf86CloseConsole: KDDISABIO failed (%s)", | ^~~~~~~~~~~~~~
Edited by Enrico Weigelt, metux IT consult

Merge request reports