gentoo/dev-libs/Ice/files/Ice-3.7.7-fix-musl-build.patch

14 lines
568 B
Diff

https://github.com/void-linux/void-packages/blob/master/srcpkgs/Ice/patches/fix-musl.patch
--- a/cpp/src/IceUtil/UtilException.cpp
+++ b/cpp/src/IceUtil/UtilException.cpp
@@ -43,7 +43,7 @@
# endif
# endif
-# if !defined(_AIX) && !defined(__sun) && !defined(__FreeBSD__) && !defined(__MINGW32__) && !defined(ICE_STATIC_LIBS)
+# if !defined(_AIX) && !defined(__sun) && !defined(__FreeBSD__) && !defined(__MINGW32__) && !defined(ICE_STATIC_LIBS) && defined(__GLIBC__)
# include <execinfo.h>
# include <cxxabi.h>
# include <stdint.h>