File vlc-beta.patch of Package vlc-beta

control/cli/cli.c: In function 'Run':
control/cli/cli.c:541:1: error: no return statement in function returning non-void [-Werror=return-type]

--- a/configure.ac
+++ b/configure.ac
@@ -2105,7 +2105,7 @@ AS_IF([test "$SYS" = "linux" -a "${enabl
 dnl
 dnl dvdread module: check for libdvdread
 dnl
-PKG_ENABLE_MODULES_VLC([DVDREAD], [], [dvdread > 6.0.0], [dvdread input module], [auto])
+PKG_ENABLE_MODULES_VLC([DVDREAD], [], [dvdread >= 6.0.0], [dvdread input module], [auto])
 
 dnl
 dnl libdvdnav plugin
@@ -2443,7 +2443,7 @@ AC_ARG_ENABLE([mod],
   AS_HELP_STRING([--disable-mod],
     [do not use libmodplug (default auto)]))
 if test "${enable_mod}" != "no" ; then
-    PKG_CHECK_MODULES(LIBMODPLUG, [libmodplug >= 0.8.9.0], [
+    PKG_CHECK_MODULES(LIBMODPLUG, [libmodplug], [
           VLC_ADD_PLUGIN([mod])
           VLC_ADD_CXXFLAGS([mod],[$LIBMODPLUG_CFLAGS])
           VLC_ADD_CFLAGS([mod],[$LIBMODPLUG_CFLAGS]) #modules/demux/mod.c needs CFLAGS_mod, not CXXFLAGS_mod
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -60,6 +60,7 @@
 #include <liveMedia.hh>
 #include <liveMedia_version.hh>
 #include <Base64.hh>
+#include <NetAddress.hh>
 
 extern "C" {
 #include "../access/mms/asf.h"  /* Who said ugly ? */
@@ -859,8 +860,10 @@ static int SessionsSetup( demux_t *p_dem
             if( sub->readSource() == NULL ) continue;
             if( !p_sys->b_multicast )
             {
+                struct sockaddr_storage addr;
                 /* We need different rollover behaviour for multicast */
-                p_sys->b_multicast = IsMulticastAddress( sub->connectionEndpointAddress() );
+                sub->getConnectionEndpointAddress( addr );
+                p_sys->b_multicast = IsMulticastAddress( addr );
             }
 
             tk = (live_track_t*)malloc( sizeof( live_track_t ) );
--- a/modules/control/cli/cli.c
+++ b/modules/control/cli/cli.c
@@ -529,9 +529,8 @@ static void cli_client_delete(struct cli
     free(cl);
 }
 
-static void *Run(void *data)
+static void _Run(intf_thread_t *intf)
 {
-    intf_thread_t *intf = data;
     intf_sys_t *sys = intf->p_sys;
 
     assert(sys->pi_socket_listen != NULL);
@@ -566,6 +565,13 @@ static void *Run(void *data)
     }
 }
 
+static void *Run(void *data)
+{
+    intf_thread_t *intf = data;
+    _Run(intf);
+    return NULL;
+}
+
 #else
 static void msg_vprint(intf_thread_t *p_intf, const char *psz_fmt, va_list args)
 {