File fix-wayland-protocol-deps.patch of Package efl

From: xaphir <xaphir@opensuse.org>
Subject: Fix wayland-util.h include failure in wayland_protocol build target

The static_library('wayland_protocol') target compiles wayland-scanner
generated C files that #include "wayland-util.h", but does not declare
a dependency on wayland_client. This causes build failures on systems
where wayland headers are not in a default compiler search path (e.g.
OBS chroot builds).

The wayland_client dependency object already exists in the same file
(line 4) and is already used in the declare_dependency() block below.
It simply was never passed to the static_library() call that needs it.

Reference: Wayfire compositor handles this correctly with:
  static_library('wl_protos', ..., dependencies: [wayland_client])

--- a/src/wayland_protocol/meson.build
+++ b/src/wayland_protocol/meson.build
@@ -52,6 +52,7 @@
 
 wayland_protocol_lib = static_library('wayland_protocol',
     gen_obj_c + gen_obj_header,
+    dependencies: wayland_client,
 )
 
 wayland_protocol = declare_dependency(
openSUSE Build Service is sponsored by