freebsd-ports/lang/mozart/files/patch-aa
Steve Price d7377ebf72 Adding mozart version 1.1.0.20000207.
A concurrent, object-oriented, distributed language with constraint-based
inference.

PR:		19476
Submitted by:	Mathias Picker <mathiasp@virtual-earth.de>
2000-07-10 03:37:42 +00:00

11 lines
357 B
Text

--- mozart-orig/platform/emulator/libdp/network.cc Wed Jun 21 15:24:16 2000
+++ platform/emulator/libdp/network.cc Wed Jun 21 15:33:49 2000
@@ -2357,6 +2357,8 @@
struct sockaddr_in addr1;
#if __GLIBC__ == 2
unsigned int length = sizeof(addr1);
+#elif __FreeBSD__ > 2
+ socklen_t length = sizeof(addr1);
#else
int length = sizeof(addr1);
#endif