mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 18:54:38 +00:00
> In file included from ../glx/glxdricommon.c:35: > /usr/local/include/GL/internal/dri_interface.h:445:26: warning: redefinition of typedef 'GLsync' is a C11 feature [-Wtypedef-redefinition] > 445 | typedef struct __GLsync *GLsync; > | ^ > /usr/local/include/GL/glext.h:1367:26: note: previous definition is here > 1367 | typedef struct __GLsync *GLsync; > | ^ Since it's coming from MESA, the only thing we can do here is suppressing this warning explicitly. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
21 lines
600 B
Bash
Executable File
21 lines
600 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
./.github/scripts/DragonFlyBSD/install-pkg.sh
|
|
|
|
echo "--> running xserver build ...."
|
|
export MESON_BUILDDIR=_build
|
|
|
|
CFLAGS="$CFLAGS -Wno-typedef-redefinition"
|
|
|
|
rm -rf "$MESON_BUILDDIR"
|
|
meson setup "$MESON_BUILDDIR" $MESON_ARGS
|
|
meson configure "$MESON_BUILDDIR"
|
|
meson compile -v -C "$MESON_BUILDDIR" $jobcount $ninja_args
|
|
# tests not working yet
|
|
# meson test -C "$MESON_BUILDDIR" --print-errorlogs $MESON_TEST_ARGS
|
|
meson install --no-rebuild -C "$MESON_BUILDDIR" $MESON_INSTALL_ARGS
|
|
# making trouble w/ git tree copied into the VM
|
|
# meson dist -C "$MESON_BUILDDIR" $MESON_DIST_ARGS
|