diff options
author | Mike Frysinger <vapier@chromium.org> | 2021-06-09 14:11:02 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-09 14:14:52 -0400 |
commit | b5558e0aaa69df32e770c1dd333f783b1f73af4f (patch) | |
tree | c20581f7d4535c166bd49c7cbbcbd48d3983dc48 /app-arch/pbzip2 | |
parent | gui-libs/wlroots: clean up old (diff) | |
download | gentoo-b5558e0aaa69df32e770c1dd333f783b1f73af4f.tar.gz gentoo-b5558e0aaa69df32e770c1dd333f783b1f73af4f.tar.bz2 gentoo-b5558e0aaa69df32e770c1dd333f783b1f73af4f.zip |
app-arch/pbzip2: update to EAPI=7 #756880
Closes: https://bugs.gentoo.org/756880
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'app-arch/pbzip2')
-rw-r--r-- | app-arch/pbzip2/pbzip2-1.1.13.ebuild | 13 |
1 files changed, 10 insertions, 3 deletions
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 } |