[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdemultimedia/xine_artsplugin
From:       Ewald Snel <ewald () rambo ! its ! tudelft ! nl>
Date:       2003-11-30 14:11:14
[Download RAW message or body]

CVS commit by snel: 

Fix compatibility issue with latest version of xine-libs
(approved by wheels on #kde-devel)


  M +1 -1      audio_fifo_out.c   1.7
  M +7 -0      configure.in.in   1.11


--- kdemultimedia/xine_artsplugin/audio_fifo_out.c  #1.6:1.7
@@ -313,5 +313,5 @@ xine_audio_port_t *init_audio_out_plugin
     *ao_driver          = (void *)ao;
 
-    return ao_new_port( xine, (ao_driver_t *)ao, 0 );
+    return _x_ao_new_port( xine, (ao_driver_t *)ao, 0 );
 }
 

--- kdemultimedia/xine_artsplugin/configure.in.in  #1.10:1.11
@@ -228,4 +228,11 @@
 AC_LANG_RESTORE()
 
+dnl Check for new internal xine symbol names
+AC_CHECK_LIB(xine, _x_ao_new_port, , 
+[
+  AC_DEFINE(_x_ao_new_port, ao_new_port, [Compatibility with older version of xine])
+])
+AC_CHECK_FUNC([ao_new_port])
+
 dnl Check for xine libs (1.0.0 or higher)
 AC_PATH_XINE(1.0.0,,


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic