diff options
Diffstat (limited to 'pkgtools/packagekit/patches/patch-ae')
-rw-r--r-- | pkgtools/packagekit/patches/patch-ae | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgtools/packagekit/patches/patch-ae b/pkgtools/packagekit/patches/patch-ae new file mode 100644 index 00000000000..76c6d1b4367 --- /dev/null +++ b/pkgtools/packagekit/patches/patch-ae @@ -0,0 +1,32 @@ +$NetBSD: patch-ae,v 1.1.1.1 2009/01/08 00:21:00 jmcneill Exp $ + +--- lib/packagekit-glib/egg-debug.c.orig 2008-11-06 03:19:07.000000000 -0500 ++++ lib/packagekit-glib/egg-debug.c +@@ -39,7 +39,9 @@ + #include <sys/stat.h> + #include <fcntl.h> + #include <time.h> ++#ifdef __linux__ + #include <execinfo.h> ++#endif + + #include "egg-debug.h" + +@@ -78,6 +80,7 @@ pk_set_console_mode (guint console_code) + void + egg_debug_backtrace (void) + { ++#ifdef __linux__ + void *call_stack[512]; + int call_stack_size; + char **symbols; +@@ -95,6 +98,9 @@ egg_debug_backtrace (void) + pk_set_console_mode (CONSOLE_RESET); + free (symbols); + } ++#else ++ g_print ("egg_debug_backtrace not implemented on this platform\n"); ++#endif + } + + /** |