diff options
author | romain <romain@FreeBSD.org> | 2015-03-09 23:12:26 +0800 |
---|---|---|
committer | romain <romain@FreeBSD.org> | 2015-03-09 23:12:26 +0800 |
commit | 7e09699d3def356a7963bf92919a35c596a7180b (patch) | |
tree | 749bceebf608ea93e135c742e67c77f808050126 | |
parent | 56b13ecbbb38fd5084c2e1e5c3de1a666a3cfd0e (diff) | |
download | freebsd-ports-gnome-7e09699d3def356a7963bf92919a35c596a7180b.tar.gz freebsd-ports-gnome-7e09699d3def356a7963bf92919a35c596a7180b.tar.zst freebsd-ports-gnome-7e09699d3def356a7963bf92919a35c596a7180b.zip |
Fix build on FreeBSD 8.
PR: ports/198404
Reported by: kib
-rw-r--r-- | lang/mono/files/patch-mono_metadata_socket-io.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/mono/files/patch-mono_metadata_socket-io.c b/lang/mono/files/patch-mono_metadata_socket-io.c new file mode 100644 index 000000000000..3ad2593b8614 --- /dev/null +++ b/lang/mono/files/patch-mono_metadata_socket-io.c @@ -0,0 +1,16 @@ + +$FreeBSD$ + +Fix build on FreeBSD 8 +https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198404#c6 + +--- mono/metadata/socket-io.c.orig ++++ mono/metadata/socket-io.c +@@ -23,6 +23,7 @@ + #ifdef HOST_WIN32 + #include <ws2tcpip.h> + #else ++#include <sys/types.h> + #include <sys/socket.h> + #include <sys/ioctl.h> + #include <netinet/in.h> |