dev-libs/libzia: Fix implicit declaration with musl

Closes: https://bugs.gentoo.org/935544
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
Thomas Beierlein
2024-07-06 10:27:26 +02:00
parent 6cf219b52e
commit e8f8a86dc1
2 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -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