summaryrefslogtreecommitdiff
path: root/packages/mono/files
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-12-13 12:23:25 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-12-13 12:23:25 +0000
commit8fc8bc3b10da16da6174e42c15d4377757a2b923 (patch)
treec95967c0d6ca033bd173cf9152bfcffbdb92989b /packages/mono/files
parent9bb32b78d06986d7ca89070e476fb923dc5e6023 (diff)
parent704fafa6aaeb82cf39068fc80decd8dfac31a9e6 (diff)
merge of '14a147908792e6213800ab92d6cfc1d77dbe07b4'
and 'bd9716558226c1049f7159d28c7f245818a2471f'
Diffstat (limited to 'packages/mono/files')
-rw-r--r--packages/mono/files/mono-libgc-configure.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/mono/files/mono-libgc-configure.patch b/packages/mono/files/mono-libgc-configure.patch
new file mode 100644
index 0000000000..641635da3c
--- /dev/null
+++ b/packages/mono/files/mono-libgc-configure.patch
@@ -0,0 +1,20 @@
+Index: mono-1.2.6/libgc/configure.in
+===================================================================
+--- mono-1.2.6.orig/libgc/configure.in 2007-12-12 15:02:31.000000000 -0500
++++ mono-1.2.6/libgc/configure.in 2007-12-12 15:05:10.000000000 -0500
+@@ -17,6 +17,15 @@
+ AC_PREREQ(2.53)
+ AC_INIT(libgc-mono, 6.6, Hans_Boehm@hp.com)
+
++# the following is a very strange bug. CPPFLAGS does not get set correctly
++# if CPPFLAGS is set in the environment. The top level configure script
++# appends to the CPPFLAGS variable, and then exports it. This change should
++# be picked up by this configure script, but it is not. The original
++# env variable is still used for some reason. If CPPFLAGS is not set in the
++# environment, everything works fine.
++# Someone more experienced with autoconf will have to come up with a better fix.
++CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -DUSE_COMPILER_TLS"
++echo "CPPFLAGS verify: start of libgc/configure.in, CPPFLAGS = $CPPFLAGS"
+ AM_INIT_AUTOMAKE(libgc-mono, 6.6, no-define)
+
+ AC_CONFIG_SRCDIR(gcj_mlc.c)