summaryrefslogtreecommitdiff
path: root/sysutils/htop
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-05-16 12:14:22 +0000
committerjperkin <jperkin@pkgsrc.org>2022-05-16 12:14:22 +0000
commit8c281b91cea2330eb7677d4d07a8cdeec7a7ab20 (patch)
tree57de67b7ec10e9d01a7245148dc5b9c4dd6af12e /sysutils/htop
parent988667fc0fc6e9db3773a7a4ada4f39d555260be (diff)
downloadpkgsrc-8c281b91cea2330eb7677d4d07a8cdeec7a7ab20.tar.gz
htop: Fix SunOS includes.
Diffstat (limited to 'sysutils/htop')
-rw-r--r--sysutils/htop/distinfo3
-rw-r--r--sysutils/htop/patches/patch-solaris_Platform.h23
2 files changed, 25 insertions, 1 deletions
diff --git a/sysutils/htop/distinfo b/sysutils/htop/distinfo
index 68c970ea889..51795f4fc0f 100644
--- a/sysutils/htop/distinfo
+++ b/sysutils/htop/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2022/05/07 16:37:49 fox Exp $
+$NetBSD: distinfo,v 1.21 2022/05/16 12:14:22 jperkin Exp $
BLAKE2s (htop-3.2.0.tar.gz) = e165b7b4baf45df3e1b8c826a4b04262987b11abad79ff3992dd74e5e030a676
SHA512 (htop-3.2.0.tar.gz) = 174eaa7333fa60e40f67148560c53125e7aaf46a48e7f3ecfa2daa68553c94b3d076d03320afd479dcee07e739c0ff286a81b67cbc994782c33e798d3ed4605c
@@ -6,3 +6,4 @@ Size (htop-3.2.0.tar.gz) = 393712 bytes
SHA1 (patch-netbsd_Platform.c) = a84e3a0c4c66e0da8df9825cdee3edb756dda2eb
SHA1 (patch-openbsd_Platform.c) = 0b4a7022a2b5be4f9ec7b8e11bff86835e86a951
SHA1 (patch-solaris_Platform.c) = b61123345578f36d0859db28ee9183cd23e889ce
+SHA1 (patch-solaris_Platform.h) = c23c6cf20607dd69e626be716337471fffd70d86
diff --git a/sysutils/htop/patches/patch-solaris_Platform.h b/sysutils/htop/patches/patch-solaris_Platform.h
new file mode 100644
index 00000000000..fcad1e91ada
--- /dev/null
+++ b/sysutils/htop/patches/patch-solaris_Platform.h
@@ -0,0 +1,23 @@
+$NetBSD: patch-solaris_Platform.h,v 1.1 2022/05/16 12:14:22 jperkin Exp $
+
+Remove unwanted and breaking includes.
+
+--- solaris/Platform.h.orig 2022-05-01 06:31:20.000000000 +0000
++++ solaris/Platform.h
+@@ -17,16 +17,12 @@ in the source distribution for its full
+ * Since ncruses macros use the ERR macro, we can not use another name.
+ */
+ #undef ERR
+-#include <libproc.h>
+ #undef ERR
+ #define ERR (-1)
+
+ #include <signal.h>
+ #include <stdbool.h>
+
+-#include <sys/mkdev.h>
+-#include <sys/proc.h>
+-#include <sys/types.h>
+
+ #include "Action.h"
+ #include "BatteryMeter.h"