sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
pkg set -yn pkg:mesa-dri # hack to skip llvm dependency
pkg install -y git meson gcc pkgconf cairo pango evdev-proto \
- hwdata wayland-protocols wlroots019 libdisplay-info
+ hwdata wayland-protocols libdisplay-info libepoll-shim \
+ wlroots019
run: echo "setup done"
- name: Install Void Linux dependencies
#include <stdint.h>
#include <stdlib.h>
#include <strings.h>
+#ifdef __FreeBSD__
+#include <sys/event.h> /* For signalfd() */
+#endif
#include <sys/signalfd.h>
#include <sys/stat.h>
#include <sys/timerfd.h>
)
endforeach
+if host_machine.system() in ['freebsd', 'openbsd']
+ # For signalfd()
+ epoll_dep = dependency('epoll-shim')
+else
+ epoll_dep = []
+endif
+
executable(
'labnag',
nag_sources,
wayland_cursor,
wlroots,
server_protos,
+ epoll_dep,
],
install: true
)
$var !~ /^(?:_?Pango\w+)/ &&
$var !~ /^(?:xml\w+)/ &&
$var !~ /^(?:GString|GError|GHashTable)/ &&
+ $var !~ /^(?:__FreeBSD__)/ &&
$var !~ /^(?:RsvgRectangle|RsvgHandle)/ &&
$var !~ /^(?:XKB_KEY_XF86Switch_VT_1)/ &&