diff options
Diffstat (limited to 'lang/mozart/files/patch-ac')
-rw-r--r-- | lang/mozart/files/patch-ac | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/mozart/files/patch-ac b/lang/mozart/files/patch-ac new file mode 100644 index 000000000000..b181ed591c6f --- /dev/null +++ b/lang/mozart/files/patch-ac @@ -0,0 +1,20 @@ +--- mozart-orig/platform/emulator/unix.cc Wed Jun 21 15:24:22 2000 ++++ platform/emulator/unix.cc Wed Jun 21 15:25:14 2000 +@@ -1046,6 +1046,8 @@ + + #if __GLIBC__ == 2 + unsigned int length = sizeof(addr); ++#elif __FreeBSD__ > 2 ++ socklen_t length = sizeof(addr); + #else + int length = sizeof(addr); + #endif +@@ -1308,6 +1310,8 @@ + + #if __GLIBC__ == 2 + unsigned int fromlen = sizeof from; ++#elif __FreeBSD__ > 2 ++ socklen_t fromlen = sizeof from; + #else + int fromlen = sizeof from; + #endif |