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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user