summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/sdl-sound/files/sdl-sound-1.0.2-headers.patch')
-rw-r--r--media-libs/sdl-sound/files/sdl-sound-1.0.2-headers.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/sdl-sound/files/sdl-sound-1.0.2-headers.patch b/media-libs/sdl-sound/files/sdl-sound-1.0.2-headers.patch
new file mode 100644
index 000000000000..c960692a93f9
--- /dev/null
+++ b/media-libs/sdl-sound/files/sdl-sound-1.0.2-headers.patch
@@ -0,0 +1,12 @@
+we use log() here, so need math.h
+
+--- decoders/shn.c (revision 553)
++++ decoders/shn.c (working copy)
+@@ -50,6 +50,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <math.h>
+
+ #include "SDL_sound.h"
+