summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-03-02 08:46:34 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-03-02 08:46:34 +0100
commit3818e5b88335efd19375516ef8e9d9c6f2d6a2b6 (patch)
treee31c90b27e12f53842fc3bb1b516a96f3244e157 /sys-process
parentmedia-libs/libraw: Removed a patch which is no longer necessary. (diff)
downloadgentoo-3818e5b88335efd19375516ef8e9d9c6f2d6a2b6.tar.gz
gentoo-3818e5b88335efd19375516ef8e9d9c6f2d6a2b6.tar.bz2
gentoo-3818e5b88335efd19375516ef8e9d9c6f2d6a2b6.zip
sys-process/htop: Fixed build with python2_7
Closes: https://bugs.gentoo.org/649250 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/htop/htop-2.1.0-r1.ebuild3
1 files changed, 2 insertions, 1 deletions
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
}