pkgsrc/audio/SDL2_mixer/patches/patch-configure
adam 68a8ce3786 SDL2_mixer: updated to 2.0.4
2.0.4:
* Removed smpeg support for mp3 music, now that it's replaced by libmpg123
* Fixed mp3 mad decoder to skip tags, which otherwise would lead to crashes
* Added support for Opus music playback using opusfile library

2.0.3:
* Fixed regression where Mix_Init() would return 0 for available music formats
2018-11-01 21:12:40 +00:00

15 lines
652 B
Text

$NetBSD: patch-configure,v 1.1 2018/11/01 21:12:40 adam Exp $
Use absolute paths for dlopen(); don't expect users set LD_LIBRARY_PATH.
--- configure.orig 2018-11-01 20:04:16.000000000 +0000
+++ configure
@@ -11150,7 +11150,7 @@ find_lib()
host_lib_path="/usr/$base_libdir /usr/local/$base_libdir"
fi
for path in $env_lib_path $gcc_bin_path $gcc_lib_path $host_lib_path; do
- lib=`ls -- $path/$1 2>/dev/null | sed -e '/\.so\..*\./d' -e 's,.*/,,' | sort | tail -1`
+ lib=`ls -- $path/$1 2>/dev/null | sed -e '/\.so\..*\./d' | sort | tail -1`
if test x$lib != x; then
echo $lib
return