From c5cd45796e50d587680c6c7e60a1cee3c67e25ae Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Thu, 11 Feb 2021 21:19:45 +0100 Subject: sys-fs/lessfs: Apply gcc-10 workaround * Dead upstream Closes: https://bugs.gentoo.org/710090 Signed-off-by: Jakov Smolic Signed-off-by: Ben Kohler --- sys-fs/lessfs/lessfs-1.7.0-r1.ebuild | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'sys-fs') diff --git a/sys-fs/lessfs/lessfs-1.7.0-r1.ebuild b/sys-fs/lessfs/lessfs-1.7.0-r1.ebuild index 7f0e7606c04a..2691c219976f 100644 --- a/sys-fs/lessfs/lessfs-1.7.0-r1.ebuild +++ b/sys-fs/lessfs/lessfs-1.7.0-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit readme.gentoo-r1 + +inherit flag-o-matic readme.gentoo-r1 MY_PV="${PV/_/-}" MY_P="${PN}-${MY_PV}" @@ -17,14 +18,13 @@ KEYWORDS="amd64 x86" IUSE="berkdb crypt debug filelog memtrace lzo snappy" RDEPEND=" + app-crypt/mhash + dev-db/tokyocabinet + sys-fs/fuse:0 berkdb? ( sys-libs/db:* ) crypt? ( dev-libs/openssl:0= ) lzo? ( dev-libs/lzo ) - snappy? ( app-arch/snappy ) - >=dev-db/tokyocabinet-1.4.42 - app-crypt/mhash - >=sys-fs/fuse-2.8.0:0= -" + snappy? ( app-arch/snappy )" DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_P}" @@ -35,15 +35,19 @@ DOC_CONTENTS="Default configuration file: /etc/${PN}.cfg. PATCHES=( # From PLD-Linux, bug #674422 - "${FILESDIR}/${P}-openssl11.patch" + "${FILESDIR}"/${P}-openssl11.patch ) src_configure() { + append-flags -fcommon econf \ - $(use_enable debug) $(use_enable debug lckdebug) \ - $(use_enable filelog) $(use_with crypt crypto) \ - $(use_with lzo) $(use_enable memtrace) \ + $(use_enable debug) \ + $(use_enable debug lckdebug) \ + $(use_enable filelog) \ + $(use_enable memtrace) \ $(use_with berkdb berkeleydb) \ + $(use_with crypt crypto) \ + $(use_with lzo) \ $(use_with snappy) } -- cgit v1.2.3-65-gdbad