openbsd-ports/net/rtmpdump/patches/patch-streams_c
sthen da67ad76c1 - update to 2.1d, fixes a corruption problem with resume
- sync port Makefile with flvstreamer

ok jasper@, earlier version ok benoit@
(reminder, ports is not fully open, do not commit without specific permission)
2010-02-26 18:46:26 +00:00

23 lines
478 B
Plaintext

$OpenBSD: patch-streams_c,v 1.2 2010/02/26 18:46:26 sthen Exp $
--- streams.c.orig Sun Jan 10 03:28:13 2010
+++ streams.c Tue Jan 12 12:55:19 2010
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
+#include <pthread.h>
#include <signal.h>
#include <getopt.h>
@@ -38,6 +39,10 @@
#define RD_INCOMPLETE 2
#define PACKET_SIZE 1024*1024
+
+#ifndef MSG_NOSIGNAL
+#define MSG_NOSIGNAL 0
+#endif
#ifdef WIN32
#define InitSockets() {\