From b2368bf1991191bb7e12c4b70f8f3aab7e0d743c Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 14 Jun 2025 13:02:49 +0200 Subject: [PATCH] Fix sratom build in some systems Signed-off-by: falkTX --- patches/sratom/02_force-fix-zix-dep.patch | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 patches/sratom/02_force-fix-zix-dep.patch diff --git a/patches/sratom/02_force-fix-zix-dep.patch b/patches/sratom/02_force-fix-zix-dep.patch new file mode 100644 index 0000000..d8ba6a7 --- /dev/null +++ b/patches/sratom/02_force-fix-zix-dep.patch @@ -0,0 +1,24 @@ +--- sratom-static-0.6.18.orig/meson.build ++++ sratom-static-0.6.18/meson.build +@@ -119,6 +119,12 @@ c_suppressions = cc.get_supported_argume + + m_dep = cc.find_library('m', required: false) + ++zix_dep = dependency( ++ 'zix-0', ++ fallback: 'zix', ++ version: '>= 0.4.0' ++) ++ + serd_dep = dependency( + 'serd-0', + fallback: 'serd', +@@ -171,7 +177,7 @@ libsratom = library( + sources, + c_args: c_suppressions + extra_c_args + ['-DSRATOM_INTERNAL'], + darwin_versions: [major_version + '.0.0', meson.project_version()], +- dependencies: [m_dep, lv2_dep, serd_dep, sord_dep], ++ dependencies: [m_dep, lv2_dep, zix_dep, serd_dep, sord_dep], + gnu_symbol_visibility: 'hidden', + include_directories: include_dirs, + install: true,