# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# 
# T2 SDE: package/.../uclibc/patches/mono-uclibc.patch
# Copyright (C) 2004 - 2005 The T2 SDE Project
# 
# More information can be found in the files COPYING and README.
# 
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- mono-1.1.3/libgc/configure.orig	2005-01-25 15:38:18.000000000 -0800
+++ mono-1.1.3/libgc/configure	2005-01-25 15:38:57.000000000 -0800
@@ -9584,7 +9584,7 @@
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
-  ac_cv_lib_unwind_backtrace=yes
+  ac_cv_lib_unwind_backtrace=no
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
--- mono-1.1.3/libgc/include/gc.h.orig	2005-01-25 16:08:38.000000000 -0800
+++ mono-1.1.3/libgc/include/gc.h	2005-01-25 16:08:57.000000000 -0800
@@ -470,7 +470,7 @@
 # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
      && !defined(__ia64__)
 #   ifndef GC_HAVE_BUILTIN_BACKTRACE
-#     define GC_HAVE_BUILTIN_BACKTRACE
+#     undef GC_HAVE_BUILTIN_BACKTRACE
 #   endif
 # endif
 # if defined(__i386__) || defined(__x86_64__)
--- mono-1.1.3/mono/monoburg/Makefile.in.orig	2005-01-25 16:50:18.000000000 -0800
+++ mono-1.1.3/mono/monoburg/Makefile.in	2005-01-25 16:50:59.000000000 -0800
@@ -481,6 +481,6 @@
 	$(CC_FOR_BUILD) -o $@ $(srcdir)/monoburg.c parser.c $(INCLUDES) $(LDFLAGS) $(BUILD_GLIB_LIBS)
 
 sample.c: monoburg$(BUILD_EXEEXT) $(srcdir)/sample.brg
-	./monoburg$(BUILD_EXEEXT) $(srcdir)/sample.brg > sample.c
+	LD_LIBRARY_PATH="/lib:/usr/lib:"; for x in /opt/*/lib; do [ -d $$x ] && export LD_LIBRARY_PATH="$$LD_LIBRARY_PATH:$$x"; done; ./monoburg$(BUILD_EXEEXT) $(srcdir)/sample.brg > sample.c
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.