diff options
author | Cedric Schieli <cschieli@gmail.com> | 2010-06-01 12:37:47 +0000 |
---|---|---|
committer | Cedric Schieli <cschieli@gmail.com> | 2010-06-01 12:37:47 +0000 |
commit | 10b8b99e48384b4470cac1330080c12d2ade01de (patch) | |
tree | 7bb4ad6cd94a2c9a960fd9a4532d123eee5151d5 /main/gegl/gegl-uclibc.patch | |
parent | 9252f1cfd78299b137400ed8169a79f7f833daac (diff) | |
parent | c6c0b6f9dbde1244e7b31f74c703178a867e873f (diff) | |
download | aports-to-upstream.tar.bz2 aports-to-upstream.tar.xz |
Merge remote branch 'upstream/master' into to-upstreamto-upstream
Diffstat (limited to 'main/gegl/gegl-uclibc.patch')
-rw-r--r-- | main/gegl/gegl-uclibc.patch | 22 |
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 00000000..cb93f0fe --- /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; |