diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 07:37:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 07:37:54 +0100 |
commit | 81db58116c7a9c27f54243a4d8f364c7e94c6f36 (patch) | |
tree | eb568d2a6d5b95a55b7f5a5ec305e1e6f5566e93 /dev-libs/libzia/libzia-4.36.ebuild | |
parent | 179be85ade6b2b47bf362865b5c375969ab5ddc8 (diff) |
gentoo auto-resync : 11:10:2022 - 07:37:54
Diffstat (limited to 'dev-libs/libzia/libzia-4.36.ebuild')
-rw-r--r-- | dev-libs/libzia/libzia-4.36.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-libs/libzia/libzia-4.36.ebuild b/dev-libs/libzia/libzia-4.36.ebuild index 7d83b69f0dae..e877cfb8b8ca 100644 --- a/dev-libs/libzia/libzia-4.36.ebuild +++ b/dev-libs/libzia/libzia-4.36.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="Platform abstraction code for tucnak package" HOMEPAGE="http://tucnak.nagano.cz" @@ -18,7 +18,8 @@ RDEPEND="dev-libs/glib:2 x11-libs/gtk+:2 media-libs/libsdl media-libs/libpng:0 - ftdi? ( dev-embedded/libftdi:1 )" + ftdi? ( dev-embedded/libftdi:1 ) + elibc_musl? ( sys-libs/libunwind )" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" @@ -32,10 +33,15 @@ src_prepare() { # Fix QA-Warning "QA Notice: pkg-config files with wrong LDFLAGS detected" sed -i -e 's/@LDFLAGS@//' libzia.pc.in || die + # fix build for MUSL (bug #832235) + if use elibc_musl ; then + sed -i -e "s/ backtrace(/ unw_backtrace(/" src/zbfd.c || die + fi eautoreconf } src_configure() { + use elibc_musl && append-libs -lunwind econf \ $(use_with ftdi) --with-sdl \ --with-png --without-bfd \ |