svn commit: r303722 - in head/multimedia/vlc: . files

Juergen Lock nox at FreeBSD.org
Wed Sep 5 20:37:06 UTC 2012


Author: nox
Date: Wed Sep  5 20:37:05 2012
New Revision: 303722
URL: http://svn.freebsd.org/changeset/ports/303722

Log:
  - Add patch for (possible) compilation failure - even though the
    CXXFLAGS used in the PR are not supported. [1]
  - Fix runtime issue receiving UDP multicast streams. [2]
  - Bump PORTREVISION.
  
  PR:		ports/171341 [1]
  Submitted by:	arrowdodger <6yearold at gmail.com> [1]
  Reported by:	Sulev-Madis Silber <madis555 at hot.ee> (via private
  		email) [2]

Added:
  head/multimedia/vlc/files/patch-include-vlc_common.h   (contents, props changed)
  head/multimedia/vlc/files/patch-src-network-udp.c   (contents, props changed)
Modified:
  head/multimedia/vlc/Makefile

Modified: head/multimedia/vlc/Makefile
==============================================================================
--- head/multimedia/vlc/Makefile	Wed Sep  5 19:21:31 2012	(r303721)
+++ head/multimedia/vlc/Makefile	Wed Sep  5 20:37:05 2012	(r303722)
@@ -7,7 +7,7 @@
 
 PORTNAME=	vlc
 DISTVERSION=	2.0.3
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	3
 CATEGORIES=	multimedia audio ipv6 net www
 MASTER_SITES=	http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/p/-pre/}/ \

Added: head/multimedia/vlc/files/patch-include-vlc_common.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/vlc/files/patch-include-vlc_common.h	Wed Sep  5 20:37:05 2012	(r303722)
@@ -0,0 +1,11 @@
+--- include/vlc_common.h.orig
++++ include/vlc_common.h
+@@ -642,7 +642,7 @@ static inline unsigned popcount (unsigne
+ #endif
+ }
+ 
+-#ifdef __OS2__
++#if defined(__OS2__) || defined(__FreeBSD__)
+ #   undef bswap16
+ #   undef bswap32
+ #   undef bswap64

Added: head/multimedia/vlc/files/patch-src-network-udp.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/vlc/files/patch-src-network-udp.c	Wed Sep  5 20:37:05 2012	(r303722)
@@ -0,0 +1,11 @@
+--- src/network/udp.c.orig
++++ src/network/udp.c
+@@ -383,7 +383,7 @@ int net_Subscribe (vlc_object_t *obj, in
+ {
+ /* MCAST_JOIN_GROUP was introduced to OS X in v10.7, but it doesn't work,
+  * so ignore it to use the same code as on 10.5 or 10.6 */
+-#if defined (MCAST_JOIN_GROUP) && !defined (__APPLE__)
++#if defined (MCAST_JOIN_GROUP) && !defined (__APPLE__) && !defined (__FreeBSD__)
+     /* Agnostic SSM multicast join */
+     int level;
+     struct group_req gr;



More information about the svn-ports-all mailing list