diff options
author | Fabian Groffen <grobian@gentoo.org> | 2020-05-30 12:12:53 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2020-05-30 12:13:08 +0200 |
commit | ed270e4a02b2450c9e18d01710baa7860478f1cc (patch) | |
tree | 177953f9b8c3acfcb99cf71f6389af452ae3a29a /sys-process/unixtop/files/unixtop-3.8_beta1-recent-linux.patch | |
parent | net-dns/pdns: Mark 4.3.0 stable on amd64/x86 (diff) | |
download | gentoo-ed270e4a02b2450c9e18d01710baa7860478f1cc.tar.gz gentoo-ed270e4a02b2450c9e18d01710baa7860478f1cc.tar.bz2 gentoo-ed270e4a02b2450c9e18d01710baa7860478f1cc.zip |
sys-process/unixtop-3.8_beta1-r3: fix compilation on Linux #726052
Albeit not really keyworded, fix compilation on Linux, and add some
other fixes too:
- block sys-process/procps for conflicting /usr/bin/top
- add resize crash patch
- add patch to allow compilation on Linux
- fix curses patch to work with ncurses[tinfo]
Closes: https://bugs.gentoo.org/726052
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'sys-process/unixtop/files/unixtop-3.8_beta1-recent-linux.patch')
-rw-r--r-- | sys-process/unixtop/files/unixtop-3.8_beta1-recent-linux.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-process/unixtop/files/unixtop-3.8_beta1-recent-linux.patch b/sys-process/unixtop/files/unixtop-3.8_beta1-recent-linux.patch new file mode 100644 index 000000000000..f3777dacb80a --- /dev/null +++ b/sys-process/unixtop/files/unixtop-3.8_beta1-recent-linux.patch @@ -0,0 +1,13 @@ +grab PAGE_SHIFT from a location where it is defined nowadays + +--- a/machine/m_linux.c ++++ b/machine/m_linux.c +@@ -68,7 +68,7 @@ + #include <sys/vfs.h> + + #include <sys/param.h> /* for HZ */ +-#include <asm/page.h> /* for PAGE_SHIFT */ ++#include <sys/user.h> /* for PAGE_SHIFT */ + + #if 0 + #include <linux/proc_fs.h> /* for PROC_SUPER_MAGIC */ |