aboutsummaryrefslogtreecommitdiffstats
path: root/net/libsocket++
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-01-17 06:03:32 +0800
committerarved <arved@FreeBSD.org>2004-01-17 06:03:32 +0800
commit3ac4b67c4c9aef86ccb31a21fe8b6b6521722966 (patch)
tree46016fffe7bdf865623ede3d4b385caff14a0a50 /net/libsocket++
parentc096d1eb212fbcc8bd47e1ecac3a828bbc05a35b (diff)
downloadfreebsd-ports-gnome-3ac4b67c4c9aef86ccb31a21fe8b6b6521722966.tar.gz
freebsd-ports-gnome-3ac4b67c4c9aef86ccb31a21fe8b6b6521722966.tar.zst
freebsd-ports-gnome-3ac4b67c4c9aef86ccb31a21fe8b6b6521722966.zip
Fix a compile problem with recent gcc versions.
Diffstat (limited to 'net/libsocket++')
-rw-r--r--net/libsocket++/files/patch-sockstream.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/libsocket++/files/patch-sockstream.h b/net/libsocket++/files/patch-sockstream.h
new file mode 100644
index 000000000000..8264259d99c2
--- /dev/null
+++ b/net/libsocket++/files/patch-sockstream.h
@@ -0,0 +1,16 @@
+--- socket++/sockstream.h.orig Fri Jan 16 22:35:55 2004
++++ socket++/sockstream.h Fri Jan 16 22:39:09 2004
+@@ -151,10 +151,12 @@
+ enum msgflag {
+ msg_oob = MSG_OOB,
+ msg_peek = MSG_PEEK,
+- msg_dontroute = MSG_DONTROUTE,
+
+ #if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
++ msg_dontroute = MSG_DONTROUTE,
+ msg_maxiovlen = MSG_MAXIOVLEN
++#else
++ msg_dontroute = MSG_DONTROUTE
+ #endif
+ };
+ enum shuthow {