diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-12-24 12:24:24 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-12-30 07:24:10 +0100 |
commit | 473af436480f08e78377154783276b1c348b2625 (patch) | |
tree | aca23bfbaa6eb53aca8550c23e9e7fe7d2dfb572 /package/enlightenment/enlightenment-no-execinfo.patch | |
parent | 42bc7af2e23fb46d323617644dc1e6d29880cb36 (diff) | |
download | buildroot-novena-473af436480f08e78377154783276b1c348b2625.tar.gz buildroot-novena-473af436480f08e78377154783276b1c348b2625.zip |
enlightenment: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/enlightenment/enlightenment-no-execinfo.patch')
-rw-r--r-- | package/enlightenment/enlightenment-no-execinfo.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/package/enlightenment/enlightenment-no-execinfo.patch b/package/enlightenment/enlightenment-no-execinfo.patch new file mode 100644 index 000000000..81fbe17f7 --- /dev/null +++ b/package/enlightenment/enlightenment-no-execinfo.patch @@ -0,0 +1,27 @@ +Do not include <execinfo.h> when not available + +On uClibc, <execinfo.h> is not necessarily installed, depending on the +configuration. Enlightenment properly makes <execinfo.h> optional, but +uses __GLIBC__ to check if it is available or not. Unfortunately, +uClibc defines __GLIBC__, so it is not the right way to decide if +<execinfo.h> is available. + +Instead, Enlightenment already has a configure.ac check for +execinfo.h, so we simply use the result of this configure.ac check to +decide whether execinfo.h is to be included or not. + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> + +Index: b/src/bin/e.h +=================================================================== +--- a/src/bin/e.h ++++ b/src/bin/e.h +@@ -92,7 +92,7 @@ + # include <memcheck.h> + # endif + +-# ifdef __GLIBC__ ++# ifdef HAVE_EXECINFO_H + # include <execinfo.h> + # endif + |