From 3818e5b88335efd19375516ef8e9d9c6f2d6a2b6 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Fri, 2 Mar 2018 08:46:34 +0100 Subject: sys-process/htop: Fixed build with python2_7 Closes: https://bugs.gentoo.org/649250 Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- sys-process/htop/htop-2.1.0-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-process/htop/htop-2.1.0-r1.ebuild b/sys-process/htop/htop-2.1.0-r1.ebuild index a6d93f24ee22..14a9ecd0dfb1 100644 --- a/sys-process/htop/htop-2.1.0-r1.ebuild +++ b/sys-process/htop/htop-2.1.0-r1.ebuild @@ -28,7 +28,6 @@ DOCS=( ChangeLog README ) CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS" PATCHES=( - "${FILESDIR}/${PN}-2.1.0-MakeHeader-python3.patch" #646880 # Fixes from upstream (can usually be removed with next version bump) "${FILESDIR}/${P}-sysmacros.patch" @@ -54,6 +53,8 @@ src_prepare() { rm missing || die default + use python_single_target_python2_7 || \ + eapply "${FILESDIR}/${PN}-2.1.0-MakeHeader-python3.patch" #646880 eautoreconf python_fix_shebang scripts/MakeHeader.py } -- cgit v1.2.3-65-gdbad