pkgsrc/multimedia/ffmpeg/patches/patch-ao
2007-08-02 21:48:33 +00:00

13 lines
386 B
Text

$NetBSD: patch-ao,v 1.1 2007/08/02 21:48:34 dbj Exp $
--- libavformat/tcp.c.orig 2004-06-18 20:59:34.000000000 -0700
+++ libavformat/tcp.c 2007-08-02 12:51:07.000000000 -0700
@@ -21,7 +21,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
-#if defined(__APPLE__) || defined(__BEOS__)
+#if defined(__BEOS__)
typedef int socklen_t;
#endif
#ifndef __BEOS__