pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/libgtop



Module Name:    pkgsrc
Committed By:   kamil
Date:           Fri Jun 23 16:42:05 UTC 2017

Modified Files:
        pkgsrc/sysutils/libgtop: distinfo
        pkgsrc/sysutils/libgtop/patches: patch-ai patch-al patch-an
Added Files:
        pkgsrc/sysutils/libgtop/patches: patch-sysdeps_bsd_glibtop__machine.h
            patch-sysdeps_bsd_procmap.c

Log Message:
Correct build failure on NetBSD 8.99.1

Fallout from <sys/user.h> removal.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/sysutils/libgtop/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/libgtop/patches/patch-ai \
    pkgsrc/sysutils/libgtop/patches/patch-an
cvs rdiff -u -r1.6 -r1.7 pkgsrc/sysutils/libgtop/patches/patch-al
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/libgtop/patches/patch-sysdeps_bsd_glibtop__machine.h \
    pkgsrc/sysutils/libgtop/patches/patch-sysdeps_bsd_procmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/libgtop/distinfo
diff -u pkgsrc/sysutils/libgtop/distinfo:1.32 pkgsrc/sysutils/libgtop/distinfo:1.33
--- pkgsrc/sysutils/libgtop/distinfo:1.32       Thu Apr 28 22:18:58 2016
+++ pkgsrc/sysutils/libgtop/distinfo    Fri Jun 23 16:42:05 2017
@@ -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-ac) = dc45ad98e21de821b4b230
 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-dk) = c95e5aa709dff7685af03f
 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

Index: pkgsrc/sysutils/libgtop/patches/patch-ai
diff -u pkgsrc/sysutils/libgtop/patches/patch-ai:1.4 pkgsrc/sysutils/libgtop/patches/patch-ai:1.5
--- pkgsrc/sysutils/libgtop/patches/patch-ai:1.4        Mon Nov  5 19:06:04 2007
+++ pkgsrc/sysutils/libgtop/patches/patch-ai    Fri Jun 23 16:42:05 2017
@@ -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
Index: pkgsrc/sysutils/libgtop/patches/patch-an
diff -u pkgsrc/sysutils/libgtop/patches/patch-an:1.4 pkgsrc/sysutils/libgtop/patches/patch-an:1.5
--- pkgsrc/sysutils/libgtop/patches/patch-an:1.4        Mon Nov  5 19:06:05 2007
+++ pkgsrc/sysutils/libgtop/patches/patch-an    Fri Jun 23 16:42:05 2017
@@ -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)

Index: pkgsrc/sysutils/libgtop/patches/patch-al
diff -u pkgsrc/sysutils/libgtop/patches/patch-al:1.6 pkgsrc/sysutils/libgtop/patches/patch-al:1.7
--- pkgsrc/sysutils/libgtop/patches/patch-al:1.6        Mon Nov  5 19:06:05 2007
+++ pkgsrc/sysutils/libgtop/patches/patch-al    Fri Jun 23 16:42:05 2017
@@ -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)

Added files:

Index: pkgsrc/sysutils/libgtop/patches/patch-sysdeps_bsd_glibtop__machine.h
diff -u /dev/null pkgsrc/sysutils/libgtop/patches/patch-sysdeps_bsd_glibtop__machine.h:1.1
--- /dev/null   Fri Jun 23 16:42:05 2017
+++ pkgsrc/sysutils/libgtop/patches/patch-sysdeps_bsd_glibtop__machine.h        Fri Jun 23 16:42:05 2017
@@ -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>
+ 
Index: pkgsrc/sysutils/libgtop/patches/patch-sysdeps_bsd_procmap.c
diff -u /dev/null pkgsrc/sysutils/libgtop/patches/patch-sysdeps_bsd_procmap.c:1.1
--- /dev/null   Fri Jun 23 16:42:05 2017
+++ pkgsrc/sysutils/libgtop/patches/patch-sysdeps_bsd_procmap.c Fri Jun 23 16:42:05 2017
@@ -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