From 2ea367839bf6eb6eef1e954601b1cab63e218b84 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 15 Apr 2024 13:42:17 +0000 Subject: build: Unbreak build on FreeBSD by adjusting dependencies (#5595) * deps: add epoll-shim for some BSDs after 863c7b6072d6 ld: error: undefined symbol: timerfd_create >>> referenced by EventLoopManager.cpp >>> src/Hyprland.p/managers_eventLoop_EventLoopManager.cpp.o:(CEventLoopManager::CEventLoopManager()) ld: error: undefined symbol: timerfd_settime >>> referenced by EventLoopManager.cpp >>> src/Hyprland.p/managers_eventLoop_EventLoopManager.cpp.o:(CEventLoopManager::nudgeTimers()) See also https://github.com/freebsd/freebsd-src/commit/af93fea71038 https://github.com/netbsd/src/commit/75f1bc6655cf * deps: drop unused xcb-image after 45945a3e7d44 $ pkg install $ pkg install meson jq `pkg rquery %dn wlroots` hwdata $ gmake all [...] -- Checking for modules 'xcb;xwayland;xcb-util;xcb-render;xcb-image;xcb-xfixes;xcb-icccm;xcb-composite;xcb-res;xcb-ewmh' -- Package 'xcb-image' not found CMake Error at /usr/local/share/cmake/Modules/FindPkgConfig.cmake:619 (message): The following required packages were not found: - xcb-image Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindPkgConfig.cmake:841 (_pkg_check_modules_internal) CMakeLists.txt:177 (pkg_check_modules) See also https://github.com/swaywm/wlroots/commit/ae7c3f3d1c56 --- src/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/meson.build b/src/meson.build index 59771fcf..d490cddb 100644 --- a/src/meson.build +++ b/src/meson.build @@ -19,6 +19,7 @@ executable('Hyprland', src, dependency('libinput'), xcb_dep, backtrace_dep, + epoll_dep, systemd_dep, udis86, -- cgit v1.2.3