freebsd-ports/multimedia/vlc/files/patch-src-network-udp.c
Juergen Lock 4faf948d76 - 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@gmail.com> [1]
Reported by:	Sulev-Madis Silber <madis555@hot.ee> (via private
		email) [2]
2012-09-05 20:37:05 +00:00

11 lines
467 B
C

--- 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;