diff options
author | Emil Lundmark <lndmrk@chromium.org> | 2018-12-20 17:59:05 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2019-02-28 23:49:33 +0100 |
commit | 03b1702e2d96eb257c30e2b59addf644e55469f8 (patch) | |
tree | 9594cef5d0479d44d4de1b43266da439a4b25885 /sys-process/iotop/iotop-0.6.ebuild | |
parent | media-video/obs-studio: remove old version and unused patches. (diff) | |
download | gentoo-03b1702e2d96eb257c30e2b59addf644e55469f8.tar.gz gentoo-03b1702e2d96eb257c30e2b59addf644e55469f8.tar.bz2 gentoo-03b1702e2d96eb257c30e2b59addf644e55469f8.zip |
sys-process/iotop: fix parse_proc_pid_status().
iotop does not work on kernels that populate /proc/*/status either with
empty lines or lines containing spaces after the : character. These
patches from the upstream iotop project fixes the parsing of status.
Signed-off-by: Emil Lundmark <lndmrk@chromium.org>
Closes: https://github.com/gentoo/gentoo/pull/11157
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'sys-process/iotop/iotop-0.6.ebuild')
-rw-r--r-- | sys-process/iotop/iotop-0.6.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-process/iotop/iotop-0.6.ebuild b/sys-process/iotop/iotop-0.6.ebuild index 3faec2aa4511..01dc5a097efd 100644 --- a/sys-process/iotop/iotop-0.6.ebuild +++ b/sys-process/iotop/iotop-0.6.ebuild @@ -21,7 +21,12 @@ CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS ~VM_EVENT_COUNTERS DOCS=( NEWS README THANKS ChangeLog ) -PATCHES=( "${FILESDIR}"/${P}-setup.py3.patch ) +PATCHES=( + "${FILESDIR}"/${P}-setup.py3.patch + "${FILESDIR}"/${P}-Only-split-proc-status-lines-on-the-character.patch + "${FILESDIR}"/${P}-Ignore-invalid-lines-in-proc-status-files.patch + "${FILESDIR}"/${P}-Actually-skip-invalid-lines-in-proc-status.patch +) pkg_setup() { linux-info_pkg_setup |