Adding a gitlab pipeline building this driver against Xserver major releases
since 1.18, including current master branch, on Debian as well as FreeBSD.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Adding a bunch of common scripts for building xorg drivers on different
platforms (for now Debian and FreeBSD) against different server versions.
Also designed to be executed locally (eg. within a VM), so one doesn't
always have to employ f.d.o gitlab.
For now, these are synced manually across various driver repos, until we've
found a viable solution for a central place.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Relies on C99 & later stdbool.h header to avoid making our own
definitions of bool, true, & false that C23 already defines for us.
./VBoxVideoIPRT.h:35:5: error: expected identifier before ‘false’
35 | false = 0,
| ^~~~~
./VBoxVideoIPRT.h:37:3: error: expected ‘;’, identifier or ‘(’ before ‘bool’
37 | } bool;
| ^~~~
./VBoxVideoIPRT.h:37:3: warning: useless type name in empty declaration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Different source files have slightly different variants of the MIT/X11
license in, so include all three in the COPYING file.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Clears -Wmissing-prototypes warning for every function in it,
none of which are referenced in any other file.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
The Xorg headers provide their own versions of strlcat, strlcpy, and
timingsafe_memcmp for platforms that don't have them in libc yet, but
rely on configure to set HAVE_* defines to determine if they should be
defined in the headers.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008,
so it's time to rely on it.
Clears autoconf warnings:
configure.ac:44: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:44: You should run autoupdate.
aclocal.m4:3515: AC_PROG_LIBTOOL is expanded from...
configure.ac:44: the top level
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>