ports/multimedia/ffmpeg-devel/files/patch-libavformat::udp.c
Mario Sergio Fujikawa Ferreira 2ad8ab31b2 o Commit updates after repo copy from multimedia/ffmpeg
o Update to CVS snapshot 20050511
o Add FreeBSD native byteswap support
o Video capture is not working and help is appreciated on this
  matter. Join irc.freenode.net #freebsd-multimedia to help. Some fixes
  have been borrowed from [2], [3] and [4]
o IPV6 support fixed [1]

Submitted by:	ahze [1],
		Jacob Meuser <jakemsr@jakemsr.com> [4],
		Vladimir Kushnir <vkushnir@i.kiev.ua> [4]
Reviewed by:	ahze,
		Jacob Meuser <jakemsr@jakemsr.com>,
		Vladimir Kushnir <vkushnir@i.kiev.ua>,
		countless others at FreeBSD-multimedia@FreeBSD.org
		mailing list
Obtained from:	FFmpeg CVS repo [2],
		OpenBSD FFmpeg port [3]
2005-05-12 02:54:48 +00:00

13 lines
337 B
C

--- libavformat/udp.c.orig Tue May 10 01:08:33 2005
+++ libavformat/udp.c Tue May 10 01:09:27 2005
@@ -27,6 +27,10 @@
# include "barpainet.h"
#endif
#include <netdb.h>
+#ifndef IPV6_ADD_MEMBERSHIP
+#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
+#define IPV6_DROP_MEMBERSHIP IPV6_LEAVE_GROUP
+#endif
typedef struct {
int udp_fd;