File xmms2-0.7-ld_fix.patch of Package xmms2

Index: xmms2-0.7DrNo/src/clients/vistest/wscript
===================================================================
--- xmms2-0.7DrNo.orig/src/clients/vistest/wscript
+++ xmms2-0.7DrNo/src/clients/vistest/wscript
@@ -21,7 +21,7 @@ def build(bld):
         obj.source = 'ripper.c'
         obj.includes = '. ../../.. ../../include'
         obj.uselib_local = 'xmmsclient'
-        obj.uselib = 'vorbisenc'
+        obj.uselib = 'vorbisenc vorbis ogg'
 
     if bld.env['LIB_visual'] and bld.env['LIB_sdl']:
         obj = bld.new_task_gen('cc', 'program')
@@ -39,6 +39,8 @@ def configure(conf):
     conf.check_cfg(package='libvisual-0.4', uselib_store='visual', args='--cflags --libs')
     conf.check_cfg(package='sdl', uselib_store='sdl', args='--cflags --libs')
     conf.check_cfg(package='vorbisenc', uselib_store='vorbisenc', args='--cflags --libs')
+    conf.check_cfg(package='vorbis', uselib_store='vorbis', args='--cflags --libs')
+    conf.check_cfg(package='ogg', uselib_store='ogg', args='--cflags --libs')
 
 def set_options(opt):
     pass