Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Update
FAudio
faudio-older-sdl2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File faudio-older-sdl2.patch of Package FAudio
Index: FNA/lib/FAudio/CMakeLists.txt =================================================================== --- FNA.orig/lib/FAudio/CMakeLists.txt +++ FNA/lib/FAudio/CMakeLists.txt @@ -182,14 +182,14 @@ else() endif() elseif (TARGET SDL2) message(STATUS "using TARGET SDL2") - target_link_libraries(FAudio PUBLIC SDL2) + target_link_libraries(FAudio PUBLIC SDL2 m) if(INSTALL_MINGW_DEPENDENCIES) install_shared_libs(TARGETS SDL2 DESTINATION bin NO_INSTALL_SYMLINKS REQUIRED) endif() else() message(STATUS "no TARGET SDL2::SDL2, or SDL2, using variables") target_include_directories(FAudio PUBLIC "$<BUILD_INTERFACE:${SDL2_INCLUDE_DIRS}>") - target_link_libraries(FAudio PUBLIC ${SDL2_LIBRARIES}) + target_link_libraries(FAudio PUBLIC ${SDL2_LIBRARIES} m) if(INSTALL_MINGW_DEPENDENCIES) install_shared_libs(${SDL2_LIBRARIES} DESTINATION bin NO_INSTALL_SYMLINKS) endif() Index: FNA/lib/FAudio/src/FAudio_internal.h =================================================================== --- FNA.orig/lib/FAudio/src/FAudio_internal.h +++ FNA/lib/FAudio/src/FAudio_internal.h @@ -111,7 +111,7 @@ #define FAudio_floor(x) SDL_floor(x) #define FAudio_abs(x) SDL_abs(x) #define FAudio_ldexp(v, e) SDL_scalbn(v, e) -#define FAudio_exp(x) SDL_exp(x) +#define FAudio_exp(x) exp(x) #define FAudio_cosf(x) SDL_cosf(x) #define FAudio_sinf(x) SDL_sinf(x)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor