summaryrefslogtreecommitdiffstats
path: root/main/gnome-power-manager/execinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gnome-power-manager/execinfo.patch')
-rw-r--r--main/gnome-power-manager/execinfo.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/gnome-power-manager/execinfo.patch b/main/gnome-power-manager/execinfo.patch
new file mode 100644
index 000000000..c9def1be1
--- /dev/null
+++ b/main/gnome-power-manager/execinfo.patch
@@ -0,0 +1,26 @@
+--- gnome-power-manager-2.32.0.orig/src/egg-debug.c
++++ gnome-power-manager-2.32.0/src/egg-debug.c
+@@ -39,7 +39,6 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <time.h>
+-#include <execinfo.h>
+
+ #include "egg-debug.h"
+
+@@ -78,6 +77,7 @@
+ void
+ egg_debug_backtrace (void)
+ {
++#if 0
+ void *call_stack[512];
+ int call_stack_size;
+ char **symbols;
+@@ -95,6 +95,7 @@
+ pk_set_console_mode (CONSOLE_RESET);
+ free (symbols);
+ }
++#endif
+ }
+
+ /**