mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user