xserver/hw/xfree86/os-support
Alan Coopersmith e1c5be126b bsd_init.c: fix build on FreeBSD
Commit 0d4a7ed6 put the definition of pcvt_version inside #ifdef __NetBSD__
but left one use of it outside of the ifdefs, resulting in a build failure
on FreeBSD 14.0 in the gitlab CI for xf86-input-keyboard.

../hw/xfree86/os-support/bsd/bsd_init.c:540:21:
  error: use of undeclared identifier 'pcvt_version'
                    pcvt_version.rmajor, pcvt_version.rminor);
                    ^
../hw/xfree86/os-support/bsd/bsd_init.c:540:42:
  error: use of undeclared identifier 'pcvt_version'
                    pcvt_version.rmajor, pcvt_version.rminor);
                                         ^

Fixes: 0d4a7ed68 ("bsd_init.c: fix build on OpenBSD")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1424>
2024-03-20 03:32:23 +00:00
..
bsd bsd_init.c: fix build on FreeBSD 2024-03-20 03:32:23 +00:00
bus Remove autotools support 2021-10-27 13:15:40 +03:00
hurd Revert "Fix missing includes of <errno.h>" 2024-03-19 00:33:26 +00:00
linux Revert "Fix missing includes of <errno.h>" 2024-03-19 00:33:26 +00:00
misc Remove autotools support 2021-10-27 13:15:40 +03:00
shared Revert "Fix missing includes of <errno.h>" 2024-03-19 00:33:26 +00:00
solaris Revert "Fix missing includes of <errno.h>" 2024-03-19 00:33:26 +00:00
stub Remove autotools support 2021-10-27 13:15:40 +03:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
meson.build Revert "Compile lnx_platform.c on FreeBSD too." 2023-12-02 11:39:24 -08:00
xf86OSpriv.h xfree86: Remove xf86LinearVidMem 2014-09-16 11:58:53 -04:00
xf86_OSlib.h xfree86: os-support: drop obsolete Solaris specific LED defines 2024-03-19 00:54:38 +00:00
xf86_OSproc.h xfree86: os-support: drop unused xf86SerialSendBreak() 2024-03-15 04:33:43 +00:00