File xmms2-0.7-cunit.patch of Package xmms2

diff -uNr xmms2-0.7DrNo/tests/wscript new-xmms2//tests/wscript
--- xmms2-0.7DrNo/tests/wscript	2010-02-19 18:43:54.000000000 +0100
+++ new-xmms2//tests/wscript	2010-04-19 18:55:21.802887561 +0200
@@ -5,6 +5,7 @@ server_suite=["server/t_streamtype.c"]
 def configure(conf):
     conf.check_cc(header_name="CUnit/CUnit.h", mandatory=True)
     conf.check_cc(lib="cunit", uselib_store="cunit", mandatory=True)
+    conf.check_cc(lib="ncurses", uselib_store="ncurses")

     code = """
            static void T (void) __attribute__ ((constructor (220)));
@@ -20,7 +20,7 @@
     obj.source = ['runner/main.c', 'runner/valgrind.c'] + types_suite
     obj.includes = '. ../ runner/ ../src ../src/include'
     obj.uselib_local = 'xmmstypes'
-    obj.uselib = 'cunit valgrind'
+    obj.uselib = 'cunit ncurses valgrind'
     obj.install_path = None
 
     obj = bld.new_task_gen('cc', 'program')
@@ -28,7 +28,7 @@
     obj.source = ['runner/main.c', 'runner/valgrind.c', '../src/xmms/streamtype.c', '../src/xmms/object.c'] + server_suite
     obj.includes = '. ../ runner/ ../src ../src/includepriv ../src/include'
     obj.uselib_local = 'xmmstypes'
-    obj.uselib = 'cunit valgrind glib2 gthread2'
+    obj.uselib = 'cunit ncurses valgrind glib2 gthread2'
     obj.install_path = None