Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-updates-src > by-pkgid > 397764f175378802720d3d96747d68ed > files > 5

libmikmod-3.2.0-0.beta2.7.1mdv2010.1.src.rpm

Bug #163938: Change the library name dlopen uses to libesd.so.0, since we hard
depend on libesd0-dev. Probably this should be integrated into autoconf?

diff -Ndurp libmikmod-3.1.10.orig/drivers/drv_esd.c libmikmod-3.1.10/drivers/drv_esd.c
--- libmikmod-3.1.10.orig/drivers/drv_esd.c	2002-01-12 19:00:36.000000000 +0100
+++ libmikmod-3.1.10/drivers/drv_esd.c	2003-01-22 18:03:37.000000000 +0100
@@ -100,7 +100,7 @@ static BOOL ESD_Link(void)
 	if (libesd) return 0;
 
 	/* load libesd.so */
-	libesd=dlopen("libesd.so",RTLD_LAZY|RTLD_GLOBAL);
+	libesd=dlopen("libesd.so.0",RTLD_LAZY|RTLD_GLOBAL);
 	if (!libesd) return 1;
 
 	/* resolve function references */