From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 663791382C5 for ; Wed, 9 Jun 2021 18:15:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F1C0E07F9; Wed, 9 Jun 2021 18:15:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 41CB9E07F9 for ; Wed, 9 Jun 2021 18:15:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 05519335D3D for ; Wed, 9 Jun 2021 18:15:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9572C27E for ; Wed, 9 Jun 2021 18:14:58 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1623262492.b5558e0aaa69df32e770c1dd333f783b1f73af4f.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/pbzip2/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/pbzip2/pbzip2-1.1.13.ebuild X-VCS-Directories: app-arch/pbzip2/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: b5558e0aaa69df32e770c1dd333f783b1f73af4f X-VCS-Branch: master Date: Wed, 9 Jun 2021 18:14:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 525bbc56-0068-4612-8d40-41c5059b5844 X-Archives-Hash: 904bbdd3fdd08d2c581ae0e97e540834 commit: b5558e0aaa69df32e770c1dd333f783b1f73af4f Author: Mike Frysinger chromium org> AuthorDate: Wed Jun 9 18:11:02 2021 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Wed Jun 9 18:14:52 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5558e0a app-arch/pbzip2: update to EAPI=7 #756880 Closes: https://bugs.gentoo.org/756880 Signed-off-by: Mike Frysinger gentoo.org> app-arch/pbzip2/pbzip2-1.1.13.ebuild | 13 ++++++++++--- 1 file 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 f9ccda45462..6304e2335b9 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 }