pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/libgtop Correct build failure on NetBSD 8.99.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/f17e15c01b19
branches: trunk
changeset: 364303:f17e15c01b19
user: kamil <kamil%pkgsrc.org@localhost>
date: Fri Jun 23 16:42:05 2017 +0000
description:
Correct build failure on NetBSD 8.99.1
Fallout from <sys/user.h> removal.
diffstat:
sysutils/libgtop/distinfo | 10 ++++--
sysutils/libgtop/patches/patch-ai | 13 +++++++-
sysutils/libgtop/patches/patch-al | 13 +++++++-
sysutils/libgtop/patches/patch-an | 13 +++++++-
sysutils/libgtop/patches/patch-sysdeps_bsd_glibtop__machine.h | 16 +++++++++++
sysutils/libgtop/patches/patch-sysdeps_bsd_procmap.c | 15 ++++++++++
6 files changed, 70 insertions(+), 10 deletions(-)
diffs (138 lines):
diff -r e8458f8114ce -r f17e15c01b19 sysutils/libgtop/distinfo
--- a/sysutils/libgtop/distinfo Fri Jun 23 16:39:54 2017 +0000
+++ b/sysutils/libgtop/distinfo Fri Jun 23 16:42:05 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.32 2016/04/28 22:18:58 jperkin Exp $
+$NetBSD: distinfo,v 1.33 2017/06/23 16:42:05 kamil Exp $
SHA1 (libgtop-2.28.4.tar.bz2) = b6f002cc80a61dc0908dd96e0b543113a46bc4b7
RMD160 (libgtop-2.28.4.tar.bz2) = 96ac76aa409bbd202bedacd94df14cd549e10d6b
@@ -10,11 +10,11 @@
SHA1 (patch-ad) = 304b91c38fa9b39ffcfd2d39d9c382ecdc23469e
SHA1 (patch-ae) = 6e8386473dde21f316f867b5212d8c3324abb747
SHA1 (patch-ag) = 8ed7b66b4250dbc6f6321cef24941f58106fcbaf
-SHA1 (patch-ai) = 856c457b14e384b2c991bf51274f97a3a9c853f1
+SHA1 (patch-ai) = f797c8c4f25a61735f99459a418b0dbc9092dc56
SHA1 (patch-aj) = 94e41923f13732118e8e809a09ec4162bf2ca422
-SHA1 (patch-al) = 8d69828a73fd8f87cef08786bc5c3cd864210da6
+SHA1 (patch-al) = c1dcfd4f6bd01d690b9a6b47cf38f146093ac0bb
SHA1 (patch-am) = e69e9fd4ea90d2bb467050b5b4e8490baa162ef7
-SHA1 (patch-an) = 169366e6dc034db05eb54d6abb1416889f17a8e2
+SHA1 (patch-an) = 4e28ddb3fa77fa62eeedde0d891a4b352cca2f3a
SHA1 (patch-ao) = f58a1bd19d63377b86478e72f23bd5a4cca5af76
SHA1 (patch-aq) = 1d6f04fa2674f66a5702847c03f4740074b5dd24
SHA1 (patch-bc) = 3638dfee30a4f10bc9662c23063df3f6a8cdc914
@@ -37,6 +37,8 @@
SHA1 (patch-dl) = 9d6a44be02ec21d195076125c0cdfe5b51a0ab0a
SHA1 (patch-dm) = ef08973aecacb1fb69f258632dd36edfdafd8c50
SHA1 (patch-dn) = 66f66731a3abd1290f67d62f9ef654f68756bccb
+SHA1 (patch-sysdeps_bsd_glibtop__machine.h) = 1682156e3cb21d335499e38b6b91b8c315f1b962
+SHA1 (patch-sysdeps_bsd_procmap.c) = 8b65993423099040f20256ea8b3f797ecbca21b0
SHA1 (patch-sysdeps_bsd_sem_limits.c) = 0cdc5e85a4d8d1297f2f658c1f345bf54abfb02c
SHA1 (patch-sysdeps_bsd_shm_limits.c) = 2750d6b5c440f6071111c62ef1069d07867edcf2
SHA1 (patch-sysdeps_darwin_glibtop__suid.h) = 1887511f74e27c7ed628ae37d5eec173db71ee81
diff -r e8458f8114ce -r f17e15c01b19 sysutils/libgtop/patches/patch-ai
--- a/sysutils/libgtop/patches/patch-ai Fri Jun 23 16:39:54 2017 +0000
+++ b/sysutils/libgtop/patches/patch-ai Fri Jun 23 16:42:05 2017 +0000
@@ -1,7 +1,16 @@
-$NetBSD: patch-ai,v 1.4 2007/11/05 19:06:04 drochner Exp $
+$NetBSD: patch-ai,v 1.5 2017/06/23 16:42:05 kamil Exp $
---- sysdeps/bsd/prockernel.c.orig 2007-04-27 00:27:34.000000000 +0200
+--- sysdeps/bsd/prockernel.c.orig 2011-06-01 15:40:47.000000000 +0000
+++ sysdeps/bsd/prockernel.c
+@@ -30,7 +30,7 @@
+ #include <sys/param.h>
+ #include <sys/sysctl.h>
+ #include <sys/proc.h>
+-#if (!defined __OpenBSD__) && (!defined __bsdi__)
++#if (!defined __OpenBSD__) && (!defined __bsdi__) && (!defined __NetBSD__)
+ #include <sys/user.h>
+ #endif
+ #if !defined(__bsdi__) && !(defined(__FreeBSD__) && defined(__alpha__)) && \
@@ -45,6 +45,7 @@
#include <osreldate.h>
#endif
diff -r e8458f8114ce -r f17e15c01b19 sysutils/libgtop/patches/patch-al
--- a/sysutils/libgtop/patches/patch-al Fri Jun 23 16:39:54 2017 +0000
+++ b/sysutils/libgtop/patches/patch-al Fri Jun 23 16:42:05 2017 +0000
@@ -1,7 +1,16 @@
-$NetBSD: patch-al,v 1.6 2007/11/05 19:06:05 drochner Exp $
+$NetBSD: patch-al,v 1.7 2017/06/23 16:42:05 kamil Exp $
---- sysdeps/bsd/procmem.c.orig 2007-04-27 00:27:34.000000000 +0200
+--- sysdeps/bsd/procmem.c.orig 2011-06-01 15:40:47.000000000 +0000
+++ sysdeps/bsd/procmem.c
+@@ -42,7 +42,7 @@
+ #include <ufs/ufs/inode.h>
+
+ #include <sys/ucred.h>
+-#if (!defined __OpenBSD__) && (!defined __bsdi__)
++#if (!defined __OpenBSD__) && (!defined __bsdi__) && (!defined __NetBSD__)
+ #include <sys/user.h>
+ #endif
+ #include <sys/sysctl.h>
@@ -116,6 +116,9 @@ void
glibtop_get_proc_mem_p (glibtop *server, glibtop_proc_mem *buf,
pid_t pid)
diff -r e8458f8114ce -r f17e15c01b19 sysutils/libgtop/patches/patch-an
--- a/sysutils/libgtop/patches/patch-an Fri Jun 23 16:39:54 2017 +0000
+++ b/sysutils/libgtop/patches/patch-an Fri Jun 23 16:42:05 2017 +0000
@@ -1,7 +1,16 @@
-$NetBSD: patch-an,v 1.4 2007/11/05 19:06:05 drochner Exp $
+$NetBSD: patch-an,v 1.5 2017/06/23 16:42:05 kamil Exp $
---- sysdeps/bsd/procstate.c.orig 2007-04-27 00:27:34.000000000 +0200
+--- sysdeps/bsd/procstate.c.orig 2011-06-01 15:40:47.000000000 +0000
+++ sysdeps/bsd/procstate.c
+@@ -26,7 +26,7 @@
+
+ #include <glibtop_suid.h>
+
+-#if !defined(__OpenBSD__)
++#if !defined(__OpenBSD__) && !defined(__NetBSD__)
+ /* && (!defined __bsdi__) */
+ #include <sys/user.h>
+ #endif
@@ -54,7 +54,11 @@ glibtop_get_proc_state_p (glibtop *serve
glibtop_proc_state *buf,
pid_t pid)
diff -r e8458f8114ce -r f17e15c01b19 sysutils/libgtop/patches/patch-sysdeps_bsd_glibtop__machine.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgtop/patches/patch-sysdeps_bsd_glibtop__machine.h Fri Jun 23 16:42:05 2017 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-sysdeps_bsd_glibtop__machine.h,v 1.1 2017/06/23 16:42:05 kamil Exp $
+
+<sys/user.h> in this context is freebsdism.
+
+--- sysdeps/bsd/glibtop_machine.h.orig 2011-06-01 15:40:47.000000000 +0000
++++ sysdeps/bsd/glibtop_machine.h
+@@ -27,7 +27,9 @@
+ #include <kvm.h>
+ #include <sys/dkstat.h>
+ #include <time.h>
++#if defined(__FreeBSD__) || defined(__DragonFly__)
+ #include <sys/user.h>
++#endif
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
+
diff -r e8458f8114ce -r f17e15c01b19 sysutils/libgtop/patches/patch-sysdeps_bsd_procmap.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgtop/patches/patch-sysdeps_bsd_procmap.c Fri Jun 23 16:42:05 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-sysdeps_bsd_procmap.c,v 1.1 2017/06/23 16:42:05 kamil Exp $
+
+<sys/user.h> in this context is freebsdism.
+
+--- sysdeps/bsd/procmap.c.orig 2011-06-01 15:40:47.000000000 +0000
++++ sysdeps/bsd/procmap.c
+@@ -58,7 +58,7 @@
+ #include <ufs/ufs/inode.h>
+
+ #include <sys/ucred.h>
+-#if (!defined __OpenBSD__) && (!defined __bsdi__)
++#if (!defined __OpenBSD__) && (!defined __bsdi__) && (!defined __NetBSD__)
+ #include <sys/user.h>
+ #endif
+ #include <sys/sysctl.h>
Home |
Main Index |
Thread Index |
Old Index