summaryrefslogtreecommitdiff
path: root/devel/libgtop/patches/patch-af
diff options
context:
space:
mode:
authoragc <agc>1998-10-07 13:11:35 +0000
committeragc <agc>1998-10-07 13:11:35 +0000
commitd8edab8d8dc09235a61150b53252d2484dce3593 (patch)
tree40b3c73bd329a67738bb243f5af8933f3f4897ec /devel/libgtop/patches/patch-af
parentf62c4ba5d5cd38b8f5c839f69098f0a7ed8294da (diff)
downloadpkgsrc-d8edab8d8dc09235a61150b53252d2484dce3593.tar.gz
Initial import of libgtop-0.26 into the Packages Collection. This is
part of the GNOME project, and is used to retrieve system information, such as CPU usage etc. This is not yet complete, but is functional to the point where the whole thing compiles and installs. Someone else can pick this up and run with it now.
Diffstat (limited to 'devel/libgtop/patches/patch-af')
-rw-r--r--devel/libgtop/patches/patch-af17
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/libgtop/patches/patch-af b/devel/libgtop/patches/patch-af
new file mode 100644
index 00000000000..c7c294a80eb
--- /dev/null
+++ b/devel/libgtop/patches/patch-af
@@ -0,0 +1,17 @@
+$NetBSD: patch-af,v 1.1.1.1 1998/10/07 13:11:35 agc Exp $
+
+--- sysdeps/bsd/shm_limits.c 1998/10/06 17:04:40 1.1
++++ sysdeps/bsd/shm_limits.c 1998/10/06 17:08:48
+@@ -27,7 +27,12 @@
+
+ /* #define KERNEL to get declaration of `struct shminfo'. */
+
++/* Tut, tut, tut - what about those namespaces? */
++#ifdef __NetBSD__
++#define _KERNEL
++#else
+ #define KERNEL
++#endif
+
+ #include <sys/ipc.h>
+ #include <sys/shm.h>