diff options
author | Göktürk Yüksek <gokturk@gentoo.org> | 2017-12-11 21:50:32 -0500 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2017-12-11 21:51:02 -0500 |
commit | be3d7f08f2496cd21802420d5d5d16fb78f38c72 (patch) | |
tree | 5fc21fe0d2ec9bb634499781c8ad6cfcfd294029 /app-forensics/libewf/libewf-20140608-r1.ebuild | |
parent | dev-python/flufl-lock: fixing description (diff) | |
download | gentoo-be3d7f08f2496cd21802420d5d5d16fb78f38c72.tar.gz gentoo-be3d7f08f2496cd21802420d5d5d16fb78f38c72.tar.bz2 gentoo-be3d7f08f2496cd21802420d5d5d16fb78f38c72.zip |
app-forensics/libewf: fix the build failure #568738
Backport a patch from upstream that marks some inlined functions,
which cause undefined symbol errors, un-inlined so that linking
succeeds.
Closes: https://bugs.gentoo.org/568738
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'app-forensics/libewf/libewf-20140608-r1.ebuild')
-rw-r--r-- | app-forensics/libewf/libewf-20140608-r1.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-forensics/libewf/libewf-20140608-r1.ebuild b/app-forensics/libewf/libewf-20140608-r1.ebuild new file mode 100644 index 000000000000..4f45bb342f11 --- /dev/null +++ b/app-forensics/libewf/libewf-20140608-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +inherit eutils autotools-utils + +DESCRIPTION="Implementation of the EWF (SMART and EnCase) image format" +HOMEPAGE="https://github.com/libyal/libewf" +SRC_URI="https://googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/${P}.tar.gz + https://dev.gentoo.org/~gokturk/distfiles/app-forensics/libewf/libewf-20140608-libuna-remove-inline.patch" + +LICENSE="BSD" +SLOT="0/2" +KEYWORDS="~amd64 ~hppa ~ppc ~x86" +# upstream bug #2597171, pyewf has implicit declarations +#IUSE="debug python unicode" +IUSE="bfio debug ewf +fuse +ssl static-libs +uuid unicode zlib" + +DEPEND=" + sys-libs/zlib + bfio? ( =app-forensics/libbfio-0.0.20120425_alpha ) + fuse? ( sys-fs/fuse:= ) + uuid? ( sys-apps/util-linux ) + ssl? ( dev-libs/openssl:0= ) + zlib? ( sys-libs/zlib )" +RDEPEND="${DEPEND}" + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +PATCHES=( "${DISTDIR}"/${P}-libuna-remove-inline.patch ) + +DOCS=( AUTHORS ChangeLog NEWS README documents/header.txt documents/header2.txt ) + +src_configure() { + local myeconfargs=( + $(use_enable debug debug-output) + $(use_enable debug verbose-output) + $(use_enable ewf v1-api) + $(use_enable unicode wide-character-type) + $(use_with zlib) + # autodetects bzip2 but does not use + --without-bzip2 + $(use_with bfio libbfio) + $(use_with ssl openssl) + $(use_with uuid libuuid) + $(use_with fuse libfuse) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + doman manuals/*.1 manuals/*.3 +} |