1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/lang/mozart/files/patch-ab
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

15 lines
435 B
Plaintext

--- mozart-orig/platform/emulator/os.cc Wed Jun 21 15:24:20 2000
+++ platform/emulator/os.cc Wed Jun 21 15:25:14 2000
@@ -1399,8 +1399,10 @@
{
#if __GLIBC__ == 2
int ret = accept(s,addr,(unsigned int*)addrlen);
+#elif __FreeBSD__ > 2
+ int ret = accept(s,addr,(socklen_t*) addrlen);
#else
- int ret = accept(s,addr,addrlen);
+ int ret = accept(s,addr,(socklen_t*) addrlen);
#endif
if (ret >= 0)
registerSocket(ret);