summaryrefslogtreecommitdiffstats
path: root/main/gegl/gegl-uclibc.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-22 13:55:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-22 13:55:15 +0000
commitca650ad135f79741f6db6c4ef7503a1b3d52bd7a (patch)
tree62f7b1adfc8bea1fc4f77bce2c688ddf62f00417 /main/gegl/gegl-uclibc.patch
parent28100c216e2838a9bbc22ba7162d355cf71e99d8 (diff)
downloadaports-fcolista-ca650ad135f79741f6db6c4ef7503a1b3d52bd7a.tar.bz2
aports-fcolista-ca650ad135f79741f6db6c4ef7503a1b3d52bd7a.tar.xz
main/gegl: moved from testing
Diffstat (limited to 'main/gegl/gegl-uclibc.patch')
-rw-r--r--main/gegl/gegl-uclibc.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/gegl/gegl-uclibc.patch b/main/gegl/gegl-uclibc.patch
new file mode 100644
index 0000000000..cb93f0fec7
--- /dev/null
+++ b/main/gegl/gegl-uclibc.patch
@@ -0,0 +1,22 @@
+--- ./gegl/buffer/gegl-buffer.c.orig
++++ ./gegl/buffer/gegl-buffer.c
+@@ -80,7 +80,7 @@
+ /* #define GEGL_BUFFER_DEBUG_ALLOCATIONS to print allocation stack
+ * traces for leaked GeglBuffers using GNU C libs backtrace_symbols()
+ */
+-#ifndef G_OS_WIN32
++#if !defined(G_OS_WIN32) && !defined(__UCLIBC__)
+ #include <execinfo.h>
+ #endif
+
+@@ -876,8 +876,8 @@
+ gegl_buffer_get_alloc_stack (void)
+ {
+ char *result = NULL;
+-#ifdef G_OS_WIN32
+- result = g_strdup ("backtrack not available on win32\n");
++#if defined(G_OS_WIN32) || defined(__UCLIBC__)
++ result = g_strdup ("backtrack not available\n");
+ #else
+ void *functions[MAX_N_FUNCTIONS];
+ int n_functions = 0;