diff options
-rw-r--r-- | multimedia/vlc/Makefile | 10 | ||||
-rw-r--r-- | multimedia/vlc/distinfo | 4 | ||||
-rw-r--r-- | multimedia/vlc/files/extra-patch-modules__misc__inhibit__xdg.c | 20 |
3 files changed, 17 insertions, 17 deletions
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index a6c561193822..5550d0b8621a 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/Makefile @@ -6,7 +6,7 @@ # PORTNAME= vlc -DISTVERSION= 1.1.6 +DISTVERSION= 1.1.7 PORTEPOCH= 3 CATEGORIES= multimedia audio ipv6 net www MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION}/ \ @@ -265,10 +265,10 @@ CONFIGURE_ARGS+=--enable-dca .if defined(WITH_DVBPSI) LIB_DEPENDS+= dvbpsi.6:${PORTSDIR}/multimedia/libdvbpsi -CONFIGURE_ARGS+=--enable-dvbpsi \ +CONFIGURE_ARGS+=--enable-dvb --enable-dvbpsi \ --with-dvbpsi=${LOCALBASE} .else -CONFIGURE_ARGS+=--disable-dvbpsi +CONFIGURE_ARGS+=--disable-dvb --disable-dvbpsi .endif .if defined(WITHOUT_DVDREAD) @@ -613,10 +613,10 @@ CONFIGURE_ARGS+=--disable-upnp # Video for Linux and DVB (Digital Video Broadcast) support .if defined(WITHOUT_V4L) -CONFIGURE_ARGS+=--disable-v4l --disable-dvb +CONFIGURE_ARGS+=--disable-v4l .else BUILD_DEPENDS+= v4l_compat>=1.0.20100321:${PORTSDIR}/multimedia/v4l_compat -CONFIGURE_ARGS+=--enable-v4l --enable-dvb +CONFIGURE_ARGS+=--enable-v4l .endif .if defined(WITHOUT_VCD) diff --git a/multimedia/vlc/distinfo b/multimedia/vlc/distinfo index 4001087c9654..c382cf3b48ac 100644 --- a/multimedia/vlc/distinfo +++ b/multimedia/vlc/distinfo @@ -1,2 +1,2 @@ -SHA256 (vlc-1.1.6.tar.bz2) = e797f9fe60cbfc9df7c2cb019c27554213e32230a7beb4a3c6abc5287f069cac -SIZE (vlc-1.1.6.tar.bz2) = 24631857 +SHA256 (vlc-1.1.7.tar.bz2) = 28059ef17d0866c3d9d5808fb6bf56783f72486b1b80f7ea8f6106612db0c1d5 +SIZE (vlc-1.1.7.tar.bz2) = 24635812 diff --git a/multimedia/vlc/files/extra-patch-modules__misc__inhibit__xdg.c b/multimedia/vlc/files/extra-patch-modules__misc__inhibit__xdg.c index e0435a756f2d..0e40f4f1ba08 100644 --- a/multimedia/vlc/files/extra-patch-modules__misc__inhibit__xdg.c +++ b/multimedia/vlc/files/extra-patch-modules__misc__inhibit__xdg.c @@ -1,24 +1,24 @@ ---- ./modules/misc/inhibit/xdg.c.orig 2010-07-10 19:56:31.000000000 -0400 -+++ ./modules/misc/inhibit/xdg.c 2010-07-10 20:07:33.000000000 -0400 -@@ -25,7 +25,6 @@ - #include <vlc_common.h> +--- ./modules/misc/inhibit/xdg.c.orig 2011-02-02 06:49:43.000000000 -0500 ++++ ./modules/misc/inhibit/xdg.c 2011-02-02 06:50:22.000000000 -0500 +@@ -26,7 +26,6 @@ #include <vlc_plugin.h> #include <vlc_inhibit.h> + #include <assert.h> -#include <spawn.h> #include <sys/wait.h> static int Open (vlc_object_t *); -@@ -123,19 +122,9 @@ +@@ -134,19 +133,10 @@ id, NULL, }; - pid_t pid; - int canc = vlc_savecancel (); + vlc_mutex_unlock (&p_sys->lock); - if (!posix_spawnp (&pid, "xdg-screensaver", NULL, NULL, argv, environ)) - { - int status; -- + - msg_Dbg (ih, "started xdg-screensaver (PID = %d)", (int)pid); - /* Wait for command to complete */ - while (waitpid (pid, &status, 0) == -1); @@ -26,6 +26,6 @@ - else/* We don't handle the error, but busy looping would be worse :( */ - msg_Warn (ih, "could not start xdg-screensaver"); + msg_Warn (ih, "could not start xdg-screensaver"); - suspended = !suspended; - vlc_restorecancel (canc); - } + + vlc_mutex_lock (&p_sys->lock); + p_sys->suspended = p_sys->suspend; |