diff options
Diffstat (limited to 'devel/sdl20/files/patch-src_audio_alsa_SDL__alsa_audio.c')
| -rw-r--r-- | devel/sdl20/files/patch-src_audio_alsa_SDL__alsa_audio.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/sdl20/files/patch-src_audio_alsa_SDL__alsa_audio.c b/devel/sdl20/files/patch-src_audio_alsa_SDL__alsa_audio.c new file mode 100644 index 000000000000..249198bf3e7b --- /dev/null +++ b/devel/sdl20/files/patch-src_audio_alsa_SDL__alsa_audio.c @@ -0,0 +1,11 @@ +--- src/audio/alsa/SDL_alsa_audio.c.orig 2025-07-17 18:15:25 UTC ++++ src/audio/alsa/SDL_alsa_audio.c +@@ -88,7 +88,7 @@ static int (*ALSA_snd_pcm_info_malloc)(snd_pcm_info_t + static int (*ALSA_snd_pcm_info_get_card)(const snd_pcm_info_t *); + static int (*ALSA_snd_card_get_name)(int, char **); + static int (*ALSA_snd_pcm_info_malloc)(snd_pcm_info_t **); +-static int (*ALSA_snd_pcm_info_free)(snd_pcm_info_t *); ++static void (*ALSA_snd_pcm_info_free)(snd_pcm_info_t *); + #ifdef SND_CHMAP_API_VERSION + static snd_pcm_chmap_t *(*ALSA_snd_pcm_get_chmap)(snd_pcm_t *); + static int (*ALSA_snd_pcm_chmap_print)(const snd_pcm_chmap_t *map, size_t maxlen, char *buf); |
