summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-01-15 15:34:12 +0000
committerjoerg <joerg@pkgsrc.org>2013-01-15 15:34:12 +0000
commit905f598479104474a69db81df0597a659ed85af2 (patch)
treeba21215e96dbb12a049e87916e1b111de3aa8e09 /x11
parentd9c69524f425c7df63a7ad88b42e38bf183a339e (diff)
downloadpkgsrc-905f598479104474a69db81df0597a659ed85af2.tar.gz
Include sys/vmmeter.h and uvm/uvm_extern.h on NetBSD/current.
Diffstat (limited to 'x11')
-rw-r--r--x11/deforaos-panel/distinfo4
-rw-r--r--x11/deforaos-panel/patches/patch-src_applets_memory.c23
-rw-r--r--x11/deforaos-panel/patches/patch-src_applets_swap.c12
3 files changed, 38 insertions, 1 deletions
diff --git a/x11/deforaos-panel/distinfo b/x11/deforaos-panel/distinfo
index e92b3f9d4d4..a773fa35f8d 100644
--- a/x11/deforaos-panel/distinfo
+++ b/x11/deforaos-panel/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.1 2012/12/17 00:32:49 khorben Exp $
+$NetBSD: distinfo,v 1.2 2013/01/15 15:34:12 joerg Exp $
SHA1 (Panel-0.2.16.tar.gz) = 0d83b1fab7c8addfc28db648576820f33cc01383
RMD160 (Panel-0.2.16.tar.gz) = b3072072ac187b23ae49de97f7f16321f94c56cc
Size (Panel-0.2.16.tar.gz) = 107887 bytes
+SHA1 (patch-src_applets_memory.c) = bcc44e38c03fc60e6720e71d815178f7129fa798
+SHA1 (patch-src_applets_swap.c) = 75599dd9b7aed08895c542376d2a6b7883a91f7f
diff --git a/x11/deforaos-panel/patches/patch-src_applets_memory.c b/x11/deforaos-panel/patches/patch-src_applets_memory.c
new file mode 100644
index 00000000000..e4ebb2ac24a
--- /dev/null
+++ b/x11/deforaos-panel/patches/patch-src_applets_memory.c
@@ -0,0 +1,23 @@
+$NetBSD: patch-src_applets_memory.c,v 1.1 2013/01/15 15:34:12 joerg Exp $
+
+--- src/applets/memory.c.orig 2013-01-15 13:21:08.000000000 +0000
++++ src/applets/memory.c
+@@ -21,12 +21,13 @@
+ #include <errno.h>
+ #if defined(__linux__)
+ # include <sys/sysinfo.h>
+-#elif defined(__FreeBSD__) || defined(__NetBSD__)
++#elif defined(__NetBSD__)
++# include <sys/sysctl.h>
++# include <sys/vmmeter.h>
++#elif defined(__FreeBSD__)
+ # include <sys/sysctl.h>
+-# if defined(__FreeBSD__)
+-# include <sys/vmmeter.h>
+-# include <vm/vm_param.h>
+-# endif
++# include <sys/vmmeter.h>
++# include <vm/vm_param.h>
+ #endif
+ #include <libintl.h>
+ #include "Panel.h"
diff --git a/x11/deforaos-panel/patches/patch-src_applets_swap.c b/x11/deforaos-panel/patches/patch-src_applets_swap.c
new file mode 100644
index 00000000000..d1280b9d878
--- /dev/null
+++ b/x11/deforaos-panel/patches/patch-src_applets_swap.c
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_applets_swap.c,v 1.1 2013/01/15 15:34:12 joerg Exp $
+
+--- src/applets/swap.c.orig 2013-01-15 13:22:55.000000000 +0000
++++ src/applets/swap.c
+@@ -23,6 +23,7 @@
+ # include <sys/sysinfo.h>
+ #elif defined(__NetBSD__)
+ # include <sys/sysctl.h>
++# include <uvm/uvm_extern.h>
+ #endif
+ #include <libintl.h>
+ #include "Panel.h"