From ed270e4a02b2450c9e18d01710baa7860478f1cc Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sat, 30 May 2020 12:12:53 +0200 Subject: 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 --- .../unixtop/files/unixtop-3.8_beta1-recent-linux.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sys-process/unixtop/files/unixtop-3.8_beta1-recent-linux.patch (limited to 'sys-process/unixtop/files/unixtop-3.8_beta1-recent-linux.patch') 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 + + #include /* for HZ */ +-#include /* for PAGE_SHIFT */ ++#include /* for PAGE_SHIFT */ + + #if 0 + #include /* for PROC_SUPER_MAGIC */ -- cgit v1.2.3-65-gdbad