- drop a patch now that we have MSG_NOSIGNAL defined

from fgsch@ via MAINTAINER
This commit is contained in:
jasper 2011-12-30 14:05:31 +00:00
parent a059491a7a
commit df6181bec7
2 changed files with 2 additions and 27 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.13 2011/12/03 12:49:11 jasper Exp $
# $OpenBSD: Makefile,v 1.14 2011/12/30 14:05:31 jasper Exp $
SHARED_ONLY = Yes
COMMENT = GLib ICE implementation
DISTNAME = libnice-0.1.0
REVISION = 0
REVISION = 1
SHARED_LIBS += nice 1.1
CATEGORIES = net

View File

@ -1,25 +0,0 @@
$OpenBSD: patch-stun_tests_test-bind_c,v 1.4 2011/03/02 07:32:04 jasper Exp $
--- stun/tests/test-bind.c.orig Tue Mar 9 17:34:55 2010
+++ stun/tests/test-bind.c Sat Feb 19 09:45:19 2011
@@ -50,9 +50,6 @@
#include <winsock2.h>
#include <ws2tcpip.h>
-#define MSG_DONTWAIT 0
-#define MSG_NOSIGNAL 0
-
#define alarm(...)
#define close closesocket
#else
@@ -60,6 +57,11 @@
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netdb.h>
+#endif
+
+#if defined(_WIN32) || defined(__OpenBSD__)
+#define MSG_DONTWAIT 0
+#define MSG_NOSIGNAL 0
#endif
#undef NDEBUG /* ensure assertions are built-in */