summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libzia/libzia-4.59.ebuild3
-rw-r--r--dev-libs/libzia/libzia-4.60.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/dev-libs/libzia/libzia-4.59.ebuild b/dev-libs/libzia/libzia-4.59.ebuild
index 557c11cf75df..6d812e180441 100644
--- a/dev-libs/libzia/libzia-4.59.ebuild
+++ b/dev-libs/libzia/libzia-4.59.ebuild
@@ -31,8 +31,9 @@ src_prepare() {
sed -i -e "s/docsdir/#docsdir/g" \
-e "s/docs_/#docs_/g" Makefile.am || die
- # fix build for MUSL (bug #832235)
+ # fix build for MUSL (bugs #832235, 935544)
if use elibc_musl ; then
+ sed -i -e "s/zstr.h>/zstr.h>\\n#include <libunwind.h>/" src/zbfd.c || die
sed -i -e "s/ backtrace(/ unw_backtrace(/" src/zbfd.c || die
fi
eautoreconf
diff --git a/dev-libs/libzia/libzia-4.60.ebuild b/dev-libs/libzia/libzia-4.60.ebuild
index 0fe1254dbfda..67650de1be5b 100644
--- a/dev-libs/libzia/libzia-4.60.ebuild
+++ b/dev-libs/libzia/libzia-4.60.ebuild
@@ -31,8 +31,9 @@ src_prepare() {
sed -i -e "s/docsdir/#docsdir/g" \
-e "s/docs_/#docs_/g" Makefile.am || die
- # fix build for MUSL (bug #832235)
+ # fix build for MUSL (bugs #832235, 935544)
if use elibc_musl ; then
+ sed -i -e "s/zstr.h>/zstr.h>\\n#include <libunwind.h>/" src/zbfd.c || die
sed -i -e "s/ backtrace(/ unw_backtrace(/" src/zbfd.c || die
fi
eautoreconf