package/sdl_sound: fix build with physfs
authorSam bobroff <sam.bobroff@au1.ibm.com>
Thu, 30 Mar 2017 04:31:23 +0000 (15:31 +1100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 1 Apr 2017 13:48:05 +0000 (15:48 +0200)
commit5d05319c1b6931e81c4aa07ffe2f2f11699227fc
treed2460f4c6f6c3cf232470974e35bc55ee2674acd
parentf8ff7ab0be1cd3aa846829dc234d8c67b1bda0dc
package/sdl_sound: fix build with physfs

A buildroot package for physfs has recently been added, and if it is
detected by sdl_sound's configure it enables code in the simple
player which fails to build (if the player is enabled).

(The build problem is due to physfs renaming a macro which has not been
reflected in sdl_sound.)

So, add the physfs dependency to the package information and correct
the build problem with a patch taken from Arch Linux, where they seem
to have already found and fixed this issue.

Fixes:
http://autobuild.buildroot.net/results/ae5839b978244c434dd86d49b672c437a7b19a66

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/sdl_sound/0003-renamed-physfs-export.patch [new file with mode: 0644]
package/sdl_sound/sdl_sound.mk