diff options
author | steve <steve@FreeBSD.org> | 2000-07-10 11:37:42 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-07-10 11:37:42 +0800 |
commit | d9f20a0f5c7a299fe5029f6fcf5979957f69d49f (patch) | |
tree | 53021ae5ae4122433b4c46dd9e6825821466ea31 /lang/mozart/files | |
parent | 749f5565dacd540385b09ae8549fceb478c11d51 (diff) | |
download | freebsd-ports-gnome-d9f20a0f5c7a299fe5029f6fcf5979957f69d49f.tar.gz freebsd-ports-gnome-d9f20a0f5c7a299fe5029f6fcf5979957f69d49f.tar.zst freebsd-ports-gnome-d9f20a0f5c7a299fe5029f6fcf5979957f69d49f.zip |
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>
Diffstat (limited to 'lang/mozart/files')
-rw-r--r-- | lang/mozart/files/patch-aa | 11 | ||||
-rw-r--r-- | lang/mozart/files/patch-ab | 14 | ||||
-rw-r--r-- | lang/mozart/files/patch-ac | 20 | ||||
-rw-r--r-- | lang/mozart/files/patch-ad | 29 | ||||
-rw-r--r-- | lang/mozart/files/patch-ae | 24 |
5 files changed, 98 insertions, 0 deletions
diff --git a/lang/mozart/files/patch-aa b/lang/mozart/files/patch-aa new file mode 100644 index 000000000000..271a5139058e --- /dev/null +++ b/lang/mozart/files/patch-aa @@ -0,0 +1,11 @@ +--- 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 diff --git a/lang/mozart/files/patch-ab b/lang/mozart/files/patch-ab new file mode 100644 index 000000000000..fe7331a07e56 --- /dev/null +++ b/lang/mozart/files/patch-ab @@ -0,0 +1,14 @@ +--- 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); 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 diff --git a/lang/mozart/files/patch-ad b/lang/mozart/files/patch-ad new file mode 100644 index 000000000000..7dc4b9ffe6f6 --- /dev/null +++ b/lang/mozart/files/patch-ad @@ -0,0 +1,29 @@ +--- mozart-orig/platform/emulator/urlc.cc Wed Jun 21 15:24:22 2000 ++++ platform/emulator/urlc.cc Wed Jun 21 15:26:54 2000 +@@ -331,6 +331,8 @@ + // save local address for later use (esp. ftp PORT) + #if __GLIBC__ == 2 + unsigned int lin_len = sizeof(lin); ++#elif __FreeBSD__ > 2 ++ socklen_t lin_len = sizeof(lin); + #else + int lin_len = sizeof(lin); + #endif +@@ -993,6 +995,8 @@ + struct sockaddr_in rem_addr; + #if __GLIBC__ == 2 + unsigned int local_addr_len = sizeof(local_addr); ++#elif __FreeBSD__ > 2 ++ socklen_t local_addr_len = sizeof(local_addr); + #else + int local_addr_len = sizeof(local_addr); + #endif +@@ -1049,6 +1053,8 @@ + struct sockaddr_in pcin; // peer control connection address + #if __GLIBC__ == 2 + unsigned int pcin_len = sizeof(pcin); ++#elif __FreeBSD__ > 2 ++ socklen_t pcin_len = sizeof(pcin); + #else + int pcin_len = sizeof(pcin); + #endif diff --git a/lang/mozart/files/patch-ae b/lang/mozart/files/patch-ae new file mode 100644 index 000000000000..fc0a4ecc19ce --- /dev/null +++ b/lang/mozart/files/patch-ae @@ -0,0 +1,24 @@ +--- ../mozart-orig/platform/emulator/mem.cc Fri Jun 23 12:59:01 2000 ++++ platform/emulator/mem.cc Fri Jun 23 12:59:36 2000 +@@ -90,18 +90,19 @@ + // This is optional - that's kind'f not clear which evil is the + // smallest one: rely on "choose a nearest next free address" linux + // behaviour, or to use the discouraged 'MAP_FIXED' option; +-#if defined(LINUX_I486) ++#if defined(LINUX_I486) || defined (__FreeBSD__) + #define USE_AUTO_PLACEMENT + #endif + + // + #if defined(HAVE_MMAP) + ++#include <sys/mman.h> ++ + #if ( !defined(MAP_ANONYMOUS) && defined(MAP_ANON) ) + #define MAP_ANONYMOUS MAP_ANON + #endif + +-#include <sys/mman.h> + #include <fcntl.h> + + #if !defined(USE_AUTO_PLACEMENT) |