From b5558e0aaa69df32e770c1dd333f783b1f73af4f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 9 Jun 2021 14:11:02 -0400 Subject: app-arch/pbzip2: update to EAPI=7 #756880 Closes: https://bugs.gentoo.org/756880 Signed-off-by: Mike Frysinger --- app-arch/pbzip2/pbzip2-1.1.13.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'app-arch') diff --git a/app-arch/pbzip2/pbzip2-1.1.13.ebuild b/app-arch/pbzip2/pbzip2-1.1.13.ebuild index f9ccda454629..6304e2335b93 100644 --- a/app-arch/pbzip2/pbzip2-1.1.13.ebuild +++ b/app-arch/pbzip2/pbzip2-1.1.13.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI="7" -inherit flag-o-matic epatch toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="Parallel bzip2 (de)compressor using libbz2" HOMEPAGE="http://compression.ca/pbzip2/ https://launchpad.net/pbzip2" @@ -21,10 +21,17 @@ RDEPEND=" DEPEND="${RDEPEND} static? ( ${LIB_DEPEND} )" +PATCHES=( + "${FILESDIR}"/${PN}-1.1.10-makefile.patch +) + src_prepare() { + default # https://bugs.launchpad.net/pbzip2/+bug/1746369 sed -i 's:"PRIuMAX":" PRIuMAX ":g' *.cpp || die - epatch "${FILESDIR}"/${PN}-1.1.10-makefile.patch +} + +src_configure() { tc-export CXX use static && append-ldflags -static } -- cgit v1.2.3-65-gdbad