aboutsummaryrefslogtreecommitdiffstats
path: root/community/gegl/gegl-uclibc.patch
blob: cb93f0fec757d0e8d15781250eafaa8786b05bd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;