mpd-touch-screen-gui: fix build with gcc15

Co-Authored-By: Doron Behar <doron.behar@gmail.com>
This commit is contained in:
Xiangyan Sun
2026-05-05 10:48:53 +03:00
committed by Doron Behar
co-authored by Doron Behar
parent 85356ccf96
commit 30560595b9
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
pkg-config,
autoreconfHook,
SDL2,
@@ -25,6 +26,13 @@ stdenv.mkDerivation (finalAttrs: {
rev = "156eaebede89da2b83a98d8f9dfa46af12282fb4";
sha256 = "sha256-vr/St4BghrndjUQ0nZI/uJq+F/MjEj6ulc4DYwQ/pgU=";
};
patches = [
# Fixes build with gcc15. See: https://github.com/muesli4/mpd-touch-screen-gui/pull/15
(fetchpatch {
url = "https://github.com/muesli4/mpd-touch-screen-gui/pull/15/commits/ecbe6fe2d7e30b81584e1f15e3003e0dba013f24.patch";
hash = "sha256-p4TywZl7SQrMsKGEZgcctTY5DgnIWddQSFadVpyCbTU=";
})
];
nativeBuildInputs = [
pkg-config