summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2024-07-06 10:27:26 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2024-07-06 10:27:26 +0200
commite8f8a86dc108182ce20b16ff8ed82934caa95902 (patch)
tree6b5a968c5bed447666ce8092a77dc110c8aaa83a /dev-libs
parentsys-power/upower: remove unused patch(es) (diff)
downloadgentoo-e8f8a86dc108182ce20b16ff8ed82934caa95902.tar.gz
gentoo-e8f8a86dc108182ce20b16ff8ed82934caa95902.tar.bz2
gentoo-e8f8a86dc108182ce20b16ff8ed82934caa95902.zip
dev-libs/libzia: Fix implicit declaration with musl
Closes: https://bugs.gentoo.org/935544 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'dev-libs')
-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