SDL2: upstream patch needed after pipewire update

This commit is contained in:
Vladimír Čunát
2025-03-07 10:02:25 +01:00
parent 15d99ee58d
commit 8efa6b714a
@@ -3,6 +3,7 @@
stdenv,
config,
fetchFromGitHub,
fetchpatch,
nix-update-script,
pkg-config,
mesa,
@@ -91,6 +92,11 @@ stdenv.mkDerivation (finalAttrs: {
# but on NixOS they're spread across different paths.
# This patch + the setup-hook will ensure that `sdl2-config --cflags` works correctly.
./find-headers.patch
# https://github.com/libsdl-org/SDL/issues/12224
(fetchpatch {
url = "https://github.com/libsdl-org/SDL/commit/9e079fe9c7931738ed63d257b1d7fb8a07b66824.diff";
hash = "sha256-G8gAivCtw5zuPVI9wvEq2oIo/NxFdnPqyLwrmHG1EJ4=";
})
];
postPatch = ''