diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2024-07-06 10:27:26 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2024-07-06 10:27:26 +0200 |
commit | e8f8a86dc108182ce20b16ff8ed82934caa95902 (patch) | |
tree | 6b5a968c5bed447666ce8092a77dc110c8aaa83a /dev-libs/libzia | |
parent | sys-power/upower: remove unused patch(es) (diff) | |
download | gentoo-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/libzia')
-rw-r--r-- | dev-libs/libzia/libzia-4.59.ebuild | 3 | ||||
-rw-r--r-- | dev-libs/libzia/libzia-4.60.ebuild | 3 |
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 |