pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/htop htop: add missing include to fix build o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2c2cda1c7c46
branches:  trunk
changeset: 360160:2c2cda1c7c46
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Mar 25 10:53:59 2017 +0000

description:
htop: add missing include to fix build on netbsd-7.99.x. must've
side-loaded sys/time.h before.

>From Chavdar Ivanov on pkgsrc-users.

diffstat:

 sysutils/htop/distinfo                    |   3 ++-
 sysutils/htop/patches/patch-TraceScreen.c |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 478ba45bcb7e -r 2c2cda1c7c46 sysutils/htop/distinfo
--- a/sysutils/htop/distinfo    Sat Mar 25 10:27:56 2017 +0000
+++ b/sysutils/htop/distinfo    Sat Mar 25 10:53:59 2017 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.9 2016/07/22 05:30:58 maya Exp $
+$NetBSD: distinfo,v 1.10 2017/03/25 10:53:59 maya Exp $
 
 SHA1 (htop-2.0.2.tar.gz) = 201f793f13dce2448e36047079875b9bd5bba75a
 RMD160 (htop-2.0.2.tar.gz) = af17b9f7e1744e2db4d6a28c95cdfb9536343786
 SHA512 (htop-2.0.2.tar.gz) = 1c9bf71a36c56b301667aa6d03756fc757fbcb63e848d9581d10db3df6193cdeb00e55ceb6e2392794ac03ea034b04459a8fe550b3ac2318cd86263a74c78cda
 Size (htop-2.0.2.tar.gz) = 476364 bytes
+SHA1 (patch-TraceScreen.c) = 85f9e26c9a2ddf1e1b4df7010194a43bf622b2ea
 SHA1 (patch-configure.ac) = 87557f0b0027462f244cd0c9e14739d10bbfc010
diff -r 478ba45bcb7e -r 2c2cda1c7c46 sysutils/htop/patches/patch-TraceScreen.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/htop/patches/patch-TraceScreen.c Sat Mar 25 10:53:59 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-TraceScreen.c,v 1.1 2017/03/25 10:53:59 maya Exp $
+
+Add missing include
+
+--- TraceScreen.c.orig 2016-05-26 00:37:01.000000000 +0000
++++ TraceScreen.c
+@@ -22,6 +22,7 @@ in the source distribution for its full 
+ #include <stdbool.h>
+ #include <unistd.h>
+ #include <fcntl.h>
++#include <sys/time.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
+ #include <signal.h>



Home | Main Index | Thread Index | Old Index