[Mono-list] [PATCH] fix io-layer/daemon-messages on FreeBSD
Aidan Skinner
aidan@velvet.net
Tue, 28 May 2002 17:21:03 +0100
--2/5bycvrmDh4d1IB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
mono/io-layer/deamon-messages.c uses MSG_NOSIGNAL in it's socket code,
which isn't defined in FreeBSD.
there's previous discussion of it at:
http://lists.ximian.com/archives/public/mono-list/2002-May/005608.html
A patch is attached to #define it to 0 on FreeBSD.
I've also created a FreeBSD port of mono and submitted it to the
project (which includes the attached patch to make it build), its'
currently using the 24-May-02 snapshot, but I'll try to keep that
updated as and when.
I'm working on getting the testsuite to run, and will post results
when I have them.
- Aidan
--
aidan@velvet.net http://www.velvet.net/~aidan/ aim:aidans42
finger for pgp key fingerprint |Unix Programmer/Admin actively seeking work
01AA 1594 2DB0 09E3 B850 |CV at http://www.velvet.net/~aidan/cv.txt
C2D0 9A2C 4CC9 3EC4 75E1 |Gis a job, go on, I can do that, go on, gis it.
--2/5bycvrmDh4d1IB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="mono_daemon_messages_freebsd.patch"
--- mono/io-layer/daemon-messages.c.orig Thu May 9 14:10:18 2002
+++ mono/io-layer/daemon-messages.c Sun May 26 17:27:48 2002
@@ -16,6 +16,10 @@
#include <mono/io-layer/wapi.h>
#include <mono/io-layer/daemon-messages.h>
+#if defined (__FreeBSD__)
+#define MSG_NOSIGNAL 0
+#endif
+
/* Send request on fd, wait for response (called by applications, not
* the daemon)
*/
--2/5bycvrmDh4d1IB--