summaryrefslogtreecommitdiff
path: root/sysutils/xuvmstat
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-02-20 13:00:36 +0000
committerwiz <wiz@pkgsrc.org>2001-02-20 13:00:36 +0000
commitb70fb4d9bb6583001b75ea41304fca65bc7711ac (patch)
tree956e48c87ad97e4150333e3c2b9190b8f6d6aab6 /sysutils/xuvmstat
parent5de11cd51a08b7e042ee7db078fd58791ced3a35 (diff)
downloadpkgsrc-b70fb4d9bb6583001b75ea41304fca65bc7711ac.tar.gz
Fix compilation on < 1.5. Patch provided by Havard Eidnes.
Diffstat (limited to 'sysutils/xuvmstat')
-rw-r--r--sysutils/xuvmstat/files/patch-sum7
-rw-r--r--sysutils/xuvmstat/patches/patch-aa14
2 files changed, 16 insertions, 5 deletions
diff --git a/sysutils/xuvmstat/files/patch-sum b/sysutils/xuvmstat/files/patch-sum
index 64736789515..14e53a5fe6a 100644
--- a/sysutils/xuvmstat/files/patch-sum
+++ b/sysutils/xuvmstat/files/patch-sum
@@ -1,6 +1,3 @@
-$NetBSD: patch-sum,v 1.2 2001/02/19 14:34:53 simonb Exp $
+$NetBSD: patch-sum,v 1.3 2001/02/20 13:00:36 wiz Exp $
-This placeholder file is generated by the ``makepatchsum'' target
-whenever the patches directory is empty or missing. Its purpose
-is to ensure that the presence of any obsolete patches will cause
-the proper error to be emitted at build time.
+MD5 (patch-aa) = cb130390c1d93f51f7140c01dbb4a0ff
diff --git a/sysutils/xuvmstat/patches/patch-aa b/sysutils/xuvmstat/patches/patch-aa
new file mode 100644
index 00000000000..cb711f2350c
--- /dev/null
+++ b/sysutils/xuvmstat/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.3 2001/02/20 13:00:37 wiz Exp $
+
+--- xuvmstat.c.orig Mon Feb 19 15:23:55 2001
++++ xuvmstat.c
+@@ -31,6 +31,9 @@
+ #include <sys/param.h>
+ #include <sys/errno.h>
+ #include <sys/time.h>
++#if (__NetBSD_Version__ < 105000000)
++#include <vm/vm.h>
++#endif
+ #include <uvm/uvm_extern.h>
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>