From 2fb3e0f128889daf49f251c06172afe6921f34c4 Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Mon, 1 Aug 2022 10:04:32 +0300 Subject: [PATCH] dev-libs/libb64: bump EAPI to 8 --- dev-libs/libb64/libb64-1.2.1.ebuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/dev-libs/libb64/libb64-1.2.1.ebuild b/dev-libs/libb64/libb64-1.2.1.ebuild index 9391b01..868e0cb 100644 --- a/dev-libs/libb64/libb64-1.2.1.ebuild +++ b/dev-libs/libb64/libb64-1.2.1.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# $Header: $ -EAPI=5 +EAPI=8 -inherit eutils multilib toolchain-funcs +inherit multilib toolchain-funcs DESCRIPTION="C/C++ routines for fast encoding/decoding data into and from a base64-encoded format" HOMEPAGE="http://libb64.sourceforge.net" @@ -17,14 +16,16 @@ KEYWORDS="~amd64 ~x86" DEPEND="app-arch/unzip" RDEPEND="" +#PATCHES=( "${FILESDIR}/${P}-build-shared-lib.patch" ) + src_prepare() { # Respect compiler environment tc-export CC CXX # Build shared library instead of static - epatch "${FILESDIR}/${P}-build-shared-lib.patch" + eapply -p0 "${FILESDIR}/${P}-build-shared-lib.patch" - epatch_user + eapply_user } src_compile() {