Index: multimedia/vlc/Makefile =================================================================== --- multimedia/vlc/Makefile (revision 309244) +++ multimedia/vlc/Makefile (working copy) @@ -2,9 +2,8 @@ # $FreeBSD$ PORTNAME= vlc -DISTVERSION= 2.0.4 +DISTVERSION= 2.0.5 PORTEPOCH= 3 -PORTREVISION= 1 CATEGORIES= multimedia audio ipv6 net www MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/p/-pre/}/ \ http://ftp.snt.utwente.nl/pub/software/videolan/${PORTNAME}/${DISTVERSION}/ \ @@ -770,7 +769,7 @@ .if ${PORT_OPTIONS:MNLS} cd ${FAKEDIR}/share/locale && ${FIND} -s * -type f -o -type l | \ ${SED} -e 's|^|share/locale/|' >> ${PLIST} -.for locale in ach cgg bn_IN ckb co ff fur gd kk km kmr lg my oc ps tet tl zu +.for locale in ach cgg bn_IN ckb co ff fur gd ia kk km kmr lg my oc ps tet tl zu ${ECHO_CMD} "@dirrmtry share/locale/${locale}/LC_MESSAGES" >> ${PLIST} ${ECHO_CMD} "@dirrmtry share/locale/${locale}" >> ${PLIST} .endfor Index: multimedia/vlc/distinfo =================================================================== --- multimedia/vlc/distinfo (revision 309244) +++ multimedia/vlc/distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (vlc-2.0.4.tar.xz) = 4e066ed0d48ddc85aa1f01964945af666b5713cb6230d76347aebbc9a6553db6 -SIZE (vlc-2.0.4.tar.xz) = 18518272 +SHA256 (vlc-2.0.5.tar.xz) = dff9eb00861bcd9f8446ff5cedbd3c5fd2bed460e6bfa84bd9e01f750ed96b6e +SIZE (vlc-2.0.5.tar.xz) = 18369292 Index: multimedia/vlc/files/patch-modules-access-dtv-linux.c =================================================================== --- multimedia/vlc/files/patch-modules-access-dtv-linux.c (revision 309244) +++ multimedia/vlc/files/patch-modules-access-dtv-linux.c (working copy) @@ -1,31 +0,0 @@ ---- modules/access/dtv/linux.c.orig -+++ modules/access/dtv/linux.c -@@ -173,7 +173,14 @@ static int dvb_open_adapter (uint8_t ada - char dir[20]; - - snprintf (dir, sizeof (dir), "/dev/dvb/adapter%"PRIu8, adapter); -+#ifdef O_CLOEXEC - return open (dir, O_SEARCH|O_DIRECTORY|O_CLOEXEC); -+#else -+ int fd = open (dir, O_SEARCH|O_DIRECTORY); -+ if (fd != -1) -+ fcntl(fd, F_SETFD, FD_CLOEXEC); -+ return fd; -+#endif - } - - /** Opens the DVB device node of the specified type */ -@@ -183,7 +190,13 @@ static int dvb_open_node (dvb_device_t * - char path[strlen (type) + 4]; - - snprintf (path, sizeof (path), "%s%u", type, d->device); -+#ifdef O_CLOEXEC - fd = openat (d->dir, path, flags|O_CLOEXEC); -+#else -+ fd = openat (d->dir, path, flags); -+ if (fd != -1) -+ fcntl(fd, F_SETFD, FD_CLOEXEC); -+#endif - if (fd != -1) - fcntl (fd, F_SETFL, fcntl (fd, F_GETFL) | O_NONBLOCK); - return fd; Index: multimedia/vlc/files/patch-modules-audio_output-vlcpulse.c =================================================================== --- multimedia/vlc/files/patch-modules-audio_output-vlcpulse.c (revision 309244) +++ multimedia/vlc/files/patch-modules-audio_output-vlcpulse.c (working copy) @@ -1,32 +0,0 @@ ---- modules/audio_output/vlcpulse.c.orig -+++ modules/audio_output/vlcpulse.c -@@ -113,10 +113,12 @@ pa_context *vlc_pa_connect (vlc_object_t - struct passwd pwbuf, *pw; - char buf[len]; - -- if (getpwuid_r (getuid (), &pwbuf, buf, sizeof (buf), &pw) == 0 -- && pw != NULL) -- pa_proplist_sets (props, PA_PROP_APPLICATION_PROCESS_USER, -- pw->pw_name); -+ if (getpwuid_r (getuid (), &pwbuf, buf, sizeof (buf), &pw) == 0) { -+ if (pw != NULL) -+ pa_proplist_sets (props, PA_PROP_APPLICATION_PROCESS_USER, -+ pw->pw_name); -+ break; -+ } - } - - for (size_t max = sysconf (_SC_HOST_NAME_MAX), len = max % 1024 + 1024; -@@ -124,9 +126,11 @@ pa_context *vlc_pa_connect (vlc_object_t - { - char hostname[len]; - -- if (gethostname (hostname, sizeof (hostname)) == 0) -+ if (gethostname (hostname, sizeof (hostname)) == 0) { - pa_proplist_sets (props, PA_PROP_APPLICATION_PROCESS_HOST, - hostname); -+ break; -+ } - } - - const char *session = getenv ("XDG_SESSION_COOKIE");