From 5c5f853192099faa880d50d95acadc912aaad30f Mon Sep 17 00:00:00 2001 From: Admin Pupkin Date: Thu, 28 May 2026 18:36:57 +0300 Subject: [PATCH] fix: correct libdrm patch relative paths for symlink resolution MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cookbook resolves patch paths from recipe.dir which is the symlink path (recipes/libs/libdrm/), not the physical path (local/recipes/). Fix ../../../patches/libdrm/ → ../../../local/patches/libdrm/ to match the convention used by kernel, base, relibc, and other recipes. --- local/recipes/libs/libdrm/recipe.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/recipes/libs/libdrm/recipe.toml b/local/recipes/libs/libdrm/recipe.toml index d90d40bd4a..1582a49d0d 100644 --- a/local/recipes/libs/libdrm/recipe.toml +++ b/local/recipes/libs/libdrm/recipe.toml @@ -1,7 +1,7 @@ [source] tar = "https://gitlab.freedesktop.org/mesa/libdrm/-/archive/libdrm-2.4.125/libdrm-libdrm-2.4.125.tar.gz" blake3 = "33e6448252639f4ff8a8cd30129b335c5d85356c1c93f8d77a79221003b14f66" -patches = ["redox.patch", "../../../patches/libdrm/P1-drm-ioctl-bridge.patch", "../../../patches/libdrm/P2-drm-get-pci-info.patch", "../../../patches/libdrm/P3-drm-get-version-driver-name.patch", "../../../patches/libdrm/P4-drmGetDeviceFromDevId-redox.patch"] +patches = ["redox.patch", "../../../local/patches/libdrm/P1-drm-ioctl-bridge.patch", "../../../local/patches/libdrm/P2-drm-get-pci-info.patch", "../../../local/patches/libdrm/P3-drm-get-version-driver-name.patch", "../../../local/patches/libdrm/P4-drmGetDeviceFromDevId-redox.patch"] [build] template = "meson"