diff options
Diffstat (limited to 'community/mate-power-manager/0001-execinfo-patch.patch')
-rw-r--r-- | community/mate-power-manager/0001-execinfo-patch.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/community/mate-power-manager/0001-execinfo-patch.patch b/community/mate-power-manager/0001-execinfo-patch.patch new file mode 100644 index 0000000000..2c07ef12f1 --- /dev/null +++ b/community/mate-power-manager/0001-execinfo-patch.patch @@ -0,0 +1,56 @@ +From f117ad21ce676d67df265e522bfc1047118958ba Mon Sep 17 00:00:00 2001 +From: Alan Lacerda <alacerda@alpinelinux.org> +Date: Thu, 16 Apr 2015 18:53:43 +0000 +Subject: [PATCH] execinfo patch + +--- + applets/brightness/egg-debug.c | 2 ++ + applets/inhibit/egg-debug.c | 2 ++ + src/egg-debug.c | 2 ++ + 3 files changed, 6 insertions(+) + +diff --git a/applets/brightness/egg-debug.c b/applets/brightness/egg-debug.c +index 2f140f2..3a8e6e7 100644 +--- a/applets/brightness/egg-debug.c ++++ b/applets/brightness/egg-debug.c +@@ -39,7 +39,9 @@ + #include <sys/stat.h> + #include <fcntl.h> + #include <time.h> ++#if defined (__GLIBC__) + #include <execinfo.h> ++#endif + + #include "egg-debug.h" + +diff --git a/applets/inhibit/egg-debug.c b/applets/inhibit/egg-debug.c +index 2f140f2..3a8e6e7 100644 +--- a/applets/inhibit/egg-debug.c ++++ b/applets/inhibit/egg-debug.c +@@ -39,7 +39,9 @@ + #include <sys/stat.h> + #include <fcntl.h> + #include <time.h> ++#if defined (__GLIBC__) + #include <execinfo.h> ++#endif + + #include "egg-debug.h" + +diff --git a/src/egg-debug.c b/src/egg-debug.c +index 2f140f2..3a8e6e7 100644 +--- a/src/egg-debug.c ++++ b/src/egg-debug.c +@@ -39,7 +39,9 @@ + #include <sys/stat.h> + #include <fcntl.h> + #include <time.h> ++#if defined (__GLIBC__) + #include <execinfo.h> ++#endif + + #include "egg-debug.h" + +-- +2.3.3 + |