libmikmod/libmikmod-3.1.11-esd_dlopen.patch

15 lines
529 B
Diff
Raw Permalink Normal View History

diff -pur libmikmod-3.1.11/drivers/drv_esd.c libmikmod-3.1.11-fix/drivers/drv_esd.c
--- libmikmod-3.1.11/drivers/drv_esd.c 2005-08-04 11:06:31.000000000 +0200
+++ libmikmod-3.1.11-fix/drivers/drv_esd.c 2005-08-04 11:07:43.000000000 +0200
@@ -99,8 +99,8 @@ static BOOL ESD_Link(void)
{
if (libesd) return 0;
- /* load libesd.so */
- libesd=dlopen("libesd.so",RTLD_LAZY|RTLD_GLOBAL);
+ /* load libesd.so.0 */
+ libesd=dlopen("libesd.so.0",RTLD_LAZY|RTLD_GLOBAL);
if (!libesd) return 1;
/* resolve function references */