trackballs: fix build

On the update of SDL2_ttf from 2.22.0 -> 2.24.0, trackballs got broken. The
relevant commit in SDL2_ttf is 22347419ee08e49d77411c680f15e314ef870ab7,
which renamed the struct _TTF_Font to TTF_Font.
This commit is contained in:
Anton Mosich
2025-04-15 10:00:14 +02:00
parent e6064cfce1
commit aff8243f34
+4
View File
@@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
sha256 = "sha256-JKSiNe5mu8rRztUhduGFY6IsSMx6VyBqKcGO5EssI+8=";
};
postPatch = ''
substituteInPlace src/glHelp.h --replace-fail _TTF_Font TTF_Font
'';
nativeBuildInputs = [ cmake ];
buildInputs = [
zlib