File esound-esddsp-no-version-info.patch of Package esound

diff -Naur esound-0.2.39/esddsp.in esound-0.2.39-mp//esddsp.in
--- esound-0.2.39/esddsp.in	2008-07-15 12:05:18.000000000 -0400
+++ esound-0.2.39-mp//esddsp.in	2008-08-06 16:13:20.000000000 -0400
@@ -106,7 +106,7 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 
-LD_PRELOAD="${exec_prefix}/\$LIB/libesddsp.so.@ESD_MAJOR_VERSION@ ${exec_prefix}/\$LIB/libesd.so.@ESD_MAJOR_VERSION@ $LD_PRELOAD"
+LD_PRELOAD="${exec_prefix}/\$LIB/@PACKAGE@/libesddsp.so ${exec_prefix}/\$LIB/libesd.so.@ESD_MAJOR_VERSION@ $LD_PRELOAD"
 export LD_PRELOAD
 
 # invoke the program with the args given
diff -Naur esound-0.2.39/Makefile.am esound-0.2.39-mp//Makefile.am
--- esound-0.2.39/Makefile.am	2008-07-15 11:42:58.000000000 -0400
+++ esound-0.2.39-mp//Makefile.am	2008-08-06 16:12:54.000000000 -0400
@@ -10,7 +10,8 @@
 
 if BUILD_ESDDSP
 ESDDSP = esddsp
-libesddsp_la = libesddsp.la
+libesddspdir = $(libdir)/$(PACKAGE)
+libesddsp_LTLIBRARIES = libesddsp.la
 endif
 if BUILD_ESDPLAY
 ESDPLAY = esdplay
@@ -26,7 +27,7 @@
 	$(ESDDSP)	\
 	esd-config
 
-lib_LTLIBRARIES = libesd.la $(libesddsp_la)
+lib_LTLIBRARIES = libesd.la
 
 libesd_la_CFLAGS = $(AM_CFLAGS)
 libesd_la_LDFLAGS = -version-info $(ESD_VERSION_INFO) -no-undefined
@@ -60,7 +61,7 @@
 	audio_solaris.c		\
 	audio_win32.c
 
-libesddsp_la_LDFLAGS = -version-info $(ESD_VERSION_INFO)
+libesddsp_la_LDFLAGS = -module -avoid-version
 libesddsp_la_LIBADD = libesd.la $(DL_LIB) -lm
 
 libesddsp_la_SOURCES = \
openSUSE Build Service is sponsored by