[Mono-devel-list] [PATCHES] fixes for build issues on MacOS X 10.3

Peter Teichman peter at ximian.com
Thu Nov 6 21:30:35 EST 2003


Attached are three patches that fix issues I've had in getting mono up 
and running on the new release of OSX.

1) mono-detect-socklen.patch adds code to configure.in to detect the 
definition of socklen_t in <sys/socket.h>, and the relevant ifdef in 
mono/io-layer/sockets.h to conditionally define socklen_t there.

It was initially wrapped in an #ifdef __APPLE__, since socklen_t wasn't 
defined on earlier versions.  Since it is defined on 10.3, I moved the 
conditional to a feature check.

2) mono-gc-conditional-boehm.patch wraps a call to finalize_notify() in 
mono/metadata/gc.c in a HAVE_BOEHM_GC conditional.

3) mono-dont-link-libmono-in-profiler.patch removes libmono.la from the 
link line for libmono_profiler_cov.  This one may not be correct - I am 
assuming that anything linking with libmono_profiler_cov will also be 
linking with libmono.

Without this patch, the final link in profiler/ dies with "cannot link 
shared libraries into libtool libraries".  So if I'm wrong, we'll want 
another solution to the problem.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mono-detect-socklen.patch
Type: application/octet-stream
Size: 1257 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031106/36b07d01/attachment.obj 
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mono-gc-conditional-boehm.patch
Type: application/octet-stream
Size: 518 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031106/36b07d01/attachment-0001.obj 
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mono-dont-link-libmono-in-profiler.patch
Type: application/octet-stream
Size: 462 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20031106/36b07d01/attachment-0002.obj 


More information about the Mono-devel-list mailing list