summaryrefslogtreecommitdiffstats
path: root/main/cmake/fix-execinfo.h-detection.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-20 13:08:52 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-20 13:08:52 +0000
commitc46cd2811caa2f3bb6f3ddb7680551fcf7eb32ed (patch)
tree09f8070f543e74beb1f0431f8aaeb7f957197981 /main/cmake/fix-execinfo.h-detection.patch
parent2702db2a9ba4bb1f2ef819ae61c791477748784f (diff)
downloadaports-c46cd2811caa2f3bb6f3ddb7680551fcf7eb32ed.tar.bz2
aports-c46cd2811caa2f3bb6f3ddb7680551fcf7eb32ed.tar.xz
main/cmake: use system shared libs, and fix build against musl
Diffstat (limited to 'main/cmake/fix-execinfo.h-detection.patch')
-rw-r--r--main/cmake/fix-execinfo.h-detection.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/cmake/fix-execinfo.h-detection.patch b/main/cmake/fix-execinfo.h-detection.patch
new file mode 100644
index 000000000..4fdf830cd
--- /dev/null
+++ b/main/cmake/fix-execinfo.h-detection.patch
@@ -0,0 +1,11 @@
+--- cmake-2.8.11.2/Source/kwsys/SystemInformation.cxx
++++ cmake-2.8.11.2/Source/kwsys/SystemInformation.cxx
+@@ -130,7 +130,7 @@
+ # define KWSYS_SYSTEMINFORMATION_IMPLEMENT_FQDN
+ # endif
+ # endif
+-# if defined(__GNUC__)
++# if defined(__GNUC__) && defined(__GLIBC__)
+ # include <execinfo.h>
+ # if !(defined(__LSB_VERSION__) && __LSB_VERSION__ < 41)
+ # define KWSYS_SYSTEMINFORMATION_HAVE_BACKTRACE