summaryrefslogtreecommitdiffstats
path: root/main/gnome-power-manager/execinfo.patch
blob: c9def1be10669dd3e09291a262a90720188285ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
 }
 
 /**