43e73f96b4
PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. The actual nuts-and-bolts distro tool (yum, apt, conary, etc) is used by PackageKit using compiled and scripted helpers. PackageKit isn't meant to replace these tools, instead providing a common set of abstractions that can be used by standard GUI and text mode package managers. PackageKit itself is a system activated daemon called packagekitd. Being system activated means that it's only being run when the user is using a text mode or graphical tool, and quits when it's no longer being used. This means we don't delay the boot sequence or session startup and don't consume memory when not being used.
32 lines
731 B
Text
32 lines
731 B
Text
$NetBSD: patch-ac,v 1.1.1.1 2009/01/08 00:21:00 jmcneill Exp $
|
|
|
|
--- contrib/command-not-found/egg-debug.c.orig 2008-11-06 03:19:07.000000000 -0500
|
|
+++ contrib/command-not-found/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
|
|
}
|
|
|
|
/**
|