summaryrefslogtreecommitdiffstats
path: root/package/mono/mono-001-gc-fix-uclibc.patch
diff options
context:
space:
mode:
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>2014-10-22 22:22:10 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-25 10:48:51 +0200
commit7b98c99a60e2daaf1516c60baf9dd045a21d7de4 (patch)
treef1512f50c53f416490f1d22c22ed6b5cf104db02 /package/mono/mono-001-gc-fix-uclibc.patch
parent9cd62c96e9d4db3e688e5a28abbb2a61d4ccc90d (diff)
downloadbuildroot-7b98c99a60e2daaf1516c60baf9dd045a21d7de4.tar.gz
buildroot-7b98c99a60e2daaf1516c60baf9dd045a21d7de4.zip
package/mono: new package
This patch adds the complete Mono implementation. This patch builds both the native and managed parts. [Thomas: - adjust license informations - add missing host-gettext dependency to host-mono - minor formatting tweaks.] Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mono/mono-001-gc-fix-uclibc.patch')
-rw-r--r--package/mono/mono-001-gc-fix-uclibc.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/mono/mono-001-gc-fix-uclibc.patch b/package/mono/mono-001-gc-fix-uclibc.patch
new file mode 100644
index 0000000000..62b52cd789
--- /dev/null
+++ b/package/mono/mono-001-gc-fix-uclibc.patch
@@ -0,0 +1,16 @@
+Disable backtrace on not supported uclibc.
+
+Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
+
+diff -purN mono-native-3.8.0.orig/libgc/include/gc.h mono-native-3.8.0/libgc/include/gc.h
+--- mono-native-3.8.0.orig/libgc/include/gc.h 2014-10-07 15:00:21.259466731 +0200
++++ mono-native-3.8.0/libgc/include/gc.h 2014-10-07 15:05:25.560975681 +0200
+@@ -500,7 +500,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_of
+ #ifdef __linux__
+ # include <features.h>
+ # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
+- && !defined(__ia64__)
++ && !defined(__ia64__) && !defined(__UCLIBC__)
+ # ifndef GC_HAVE_BUILTIN_BACKTRACE
+ # define GC_HAVE_BUILTIN_BACKTRACE
+ # endif
OpenPOWER on IntegriCloud