gentoo-ebuilds/games-puzzle/anagramarama/files/anagramarama-0.2-c23.patch
Sam James c3448f3a9c
games-puzzle/anagramarama: EAPI 8, fix C23 compat
Closes: https://bugs.gentoo.org/944388
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-24 19:49:59 +01:00

15 lines
429 B
Diff

https://bugs.gentoo.org/944388
The comment for clearSoundBuffer() makes clear it uses the global soundCache,
as do the other functions that operate on it.
--- a/src/ag.c
+++ b/src/ag.c
@@ -1772,7 +1772,7 @@ struct sprite* letters = NULL;
// tidy up and exit
free(rootWord);
Mix_CloseAudio();
- clearSoundBuffer(&soundCache);
+ clearSoundBuffer();
//trashDLBTree();
destroyLetters(&letters);
SDL_FreeSurface(screen);