diff --git a/recipes-support/mako/mako/0001-meson.build-make-epoll-shim-dependency-optional.patch b/recipes-support/mako/mako/0001-meson.build-make-epoll-shim-dependency-optional.patch new file mode 100644 index 0000000..a0e1fcf --- /dev/null +++ b/recipes-support/mako/mako/0001-meson.build-make-epoll-shim-dependency-optional.patch @@ -0,0 +1,28 @@ +From e7973e352b8649b10053f3feb82134d9cefb851e Mon Sep 17 00:00:00 2001 +From: Markus Volk +Date: Tue, 17 May 2022 19:00:02 +0200 +Subject: [PATCH] meson.build: make epoll-shim dependency optional + +After updating my host system, meson.build tries to depend on the epoll-shim. +Since we are not on BSD, we dont have it and it is not needed. Make the +dependency on it optional. +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 84abdcb..9687b23 100644 +--- a/meson.build ++++ b/meson.build +@@ -35,7 +35,7 @@ wayland_cursor = dependency('wayland-cursor') + epoll = dependency('', required: false) + if (not cc.has_function('timerfd_create', prefix: '#include ') or + not cc.has_function('signalfd', prefix: '#include ')) +- epoll = dependency('epoll-shim') ++ epoll = dependency('epoll-shim', required: false) + endif + + if get_option('sd-bus-provider') == 'auto' +-- +2.25.1 + diff --git a/recipes-support/mako/mako_git.bb b/recipes-support/mako/mako_git.bb index 8f9a7eb..3da1dc1 100644 --- a/recipes-support/mako/mako_git.bb +++ b/recipes-support/mako/mako_git.bb @@ -9,6 +9,7 @@ REQUIRED_DISTRO_FEATURES = "wayland" SRC_URI = " \ git://github.com/emersion/mako.git;protocol=https;branch=master \ + file://0001-meson.build-make-epoll-shim-dependency-optional.patch \ " DEPENDS = " \