Index: configure --- configure.orig 2004-06-25 01:28:02 +0200 +++ configure 2004-06-26 09:30:14 +0200 @@ -14005,6 +14005,11 @@ JIT_SUPPORTED=no LIBC="libc.so.6" INTL="libc.so.6" +case "$host" in + *-*-freebsd* ) + LIBC="libc.so" + ;; +esac jit_wanted=false case "$host" in Index: libc/include/private/gcconfig.h diff -Nau libgc/include/private/gcconfig.h.orig libgc/include/private/gcconfig.h --- libgc/include/private/gcconfig.h.orig 2004-05-18 20:43:11 +0200 +++ libgc/include/private/gcconfig.h 2004-06-16 20:17:58 +0200 @@ -1186,8 +1186,8 @@ # ifndef GC_FREEBSD_THREADS # define MPROTECT_VDB # endif -# define SIG_SUSPEND SIGUSR1 -# define SIG_THR_RESTART SIGUSR2 +# define SIG_SUSPEND SIGTSTP +# define SIG_THR_RESTART SIGCONT # define FREEBSD_STACKBOTTOM # ifdef __ELF__ # define DYNAMIC_LOADING @@ -1501,8 +1501,8 @@ # ifdef FREEBSD # define OS_TYPE "FREEBSD" /* MPROTECT_VDB is not yet supported at all on FreeBSD/alpha. */ -# define SIG_SUSPEND SIGUSR1 -# define SIG_THR_RESTART SIGUSR2 +# define SIG_SUSPEND SIGTSTP +# define SIG_THR_RESTART SIGCONT # define FREEBSD_STACKBOTTOM # ifdef __ELF__ # define DYNAMIC_LOADING Index: mono/Makefile.in diff -Nau mono/Makefile.in.orig mono/Makefile.in --- mono/Makefile.in.orig 2004-06-14 19:28:59 +0200 +++ mono/Makefile.in 2004-06-16 20:17:58 +0200 @@ -126,7 +126,7 @@ @PLATFORM_WIN32_TRUE@ arch monograph interpreter mini tests benchmark profiler @PLATFORM_WIN32_FALSE@SUBDIRS = utils io-layer monoburg os metadata cil dis \ -@PLATFORM_WIN32_FALSE@ arch monograph interpreter mini tests benchmark handles profiler +@PLATFORM_WIN32_FALSE@ arch monograph interpreter mini benchmark handles profiler subdir = mono mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs Index: mono/mini/mini-x86.c diff -Nau mono/mini/mini-x86.c.orig mono/mini/mini-x86.c --- mono/mini/mini-x86.c.orig 2004-05-27 05:06:43 +0200 +++ mono/mini/mini-x86.c 2004-06-16 20:17:58 +0200 @@ -47,6 +47,34 @@ return "unknown"; } +#ifndef signbit +union IEEEd2bits { + double d; + struct { +#if _BYTE_ORDER == _LITTLE_ENDIAN + unsigned int manl :32; + unsigned int manh :20; + unsigned int exp :11; + unsigned int sign :1; +#else + unsigned int sign :1; + unsigned int exp :11; + unsigned int manh :20; + unsigned int manl :32; +#endif + } bits; +}; + +int +signbit(double d) +{ + union IEEEd2bits u; + + u.d = d; + return (u.bits.sign); +} + +#endif /* signbit */ /* * mono_arch_get_argument_info: * @csig: a method signature