openbsd-ports/x11/freerdp/patches/patch-libfreerdp_tcp_c
giovanni 7d0a3c4f95 Import freerdp, an open source client for Windows Terminal Server
Initial port by merdely@, updates and tweaks by me.
ok merdely@

freerdp is a fork of the rdesktop project and is an open source client
for Windows NT and 2000 Terminal Server, capable of natively speaking
the Remote Desktop Protocol (RDP) in order to present the user's Windows
desktop.
2010-10-26 12:56:57 +00:00

15 lines
362 B
Plaintext

$OpenBSD: patch-libfreerdp_tcp_c,v 1.1.1.1 2010/10/26 12:56:57 giovanni Exp $
--- libfreerdp/tcp.c.orig Tue Jul 27 10:34:38 2010
+++ libfreerdp/tcp.c Tue Jul 27 10:35:58 2010
@@ -50,6 +50,10 @@
#define TCP_BLOCKS (errno == EWOULDBLOCK)
#endif
+#ifdef __OpenBSD__
+#define MSG_NOSIGNAL 0
+#endif
+
#ifdef __APPLE__
#define MSG_NOSIGNAL SO_NOSIGPIPE
#endif