fix: libwayland BUILDS — proper durability patch with all stubs
121-line redox.patch replaces 229-line fragile Python heredoc. Covers: meson.build, src/meson.build, event-loop.c, connection.c, wayland-server.c with signalfd, timerfd, eventfd, MSG_NOSIGNAL, open_memstream, timerfd_settime, timerfd_gettime stubs. libwayland builds successfully. Greeter cascade through llvm21.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
# redox.patch restores the Redox compatibility stubs plus Meson scanner detection.
|
||||
[source]
|
||||
tar = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.24.0/downloads/wayland-1.24.0.tar.xz"
|
||||
patches = ["redox.patch"]
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
@@ -14,10 +15,8 @@ dependencies = [
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
|
||||
RELIBC_INCLUDE_STAGE="${COOKBOOK_ROOT}/recipes/core/relibc/target/${TARGET}/stage/usr/include"
|
||||
if [ ! -f "${RELIBC_INCLUDE_STAGE}/sys/signalfd.h" ]; then
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
cookbook_meson -Ddocumentation=false -Dtests=false -Ddtd_validation=false -Dc_args=-Wno-error
|
||||
"""
|
||||
|
||||
[package]
|
||||
dependencies = ["libffi"]
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
../../../../local/patches/libwayland/redox.patch
|
||||
Reference in New Issue
Block a user