diff options
author | wiz <wiz> | 2001-02-20 13:00:36 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-02-20 13:00:36 +0000 |
commit | 18dac4c6591616f38aba64a99bd9b4e1d88eb145 (patch) | |
tree | 956e48c87ad97e4150333e3c2b9190b8f6d6aab6 /sysutils | |
parent | a4913611ccb2ab4e3099f979b2273ffc39b15f41 (diff) | |
download | pkgsrc-18dac4c6591616f38aba64a99bd9b4e1d88eb145.tar.gz |
Fix compilation on < 1.5. Patch provided by Havard Eidnes.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/xuvmstat/files/patch-sum | 7 | ||||
-rw-r--r-- | sysutils/xuvmstat/patches/patch-aa | 14 |
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> |