pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/htop htop: Fix SunOS includes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ec2a6e60fa0
branches:  trunk
changeset: 379415:9ec2a6e60fa0
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon May 16 12:14:22 2022 +0000

description:
htop: Fix SunOS includes.

diffstat:

 sysutils/htop/distinfo                         |   3 ++-
 sysutils/htop/patches/patch-solaris_Platform.h |  23 +++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r 90eaa1645011 -r 9ec2a6e60fa0 sysutils/htop/distinfo
--- a/sysutils/htop/distinfo    Mon May 16 11:57:31 2022 +0000
+++ b/sysutils/htop/distinfo    Mon May 16 12:14:22 2022 +0000
@@ -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 @@
 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 -r 90eaa1645011 -r 9ec2a6e60fa0 sysutils/htop/patches/patch-solaris_Platform.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/htop/patches/patch-solaris_Platform.h    Mon May 16 12:14:22 2022 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index