summaryrefslogtreecommitdiff
path: root/sysutils/wmmon/files/patch-ac
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-01-18 02:29:37 +0000
committerSteve Price <steve@FreeBSD.org>1999-01-18 02:29:37 +0000
commit13e93cd99683c8c780ee8a04798154c290c9755f (patch)
treedfbe1fe1b849dcfe3a44099b0d498187da6d0cc7 /sysutils/wmmon/files/patch-ac
parentdirectory on ftp server changed slightly (diff)
Get this to build in -current.
PR: 9401 Submitted by: Allan Saddi <asaddi@philosophysw.com>
Notes
Notes: svn path=/head/; revision=16121
Diffstat (limited to '')
-rw-r--r--sysutils/wmmon/files/patch-ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/wmmon/files/patch-ac b/sysutils/wmmon/files/patch-ac
new file mode 100644
index 000000000000..6dc47b44f27b
--- /dev/null
+++ b/sysutils/wmmon/files/patch-ac
@@ -0,0 +1,16 @@
+--- wmmon.c.orig Fri Jan 8 16:54:07 1999
++++ wmmon.c Fri Jan 8 16:54:25 1999
+@@ -220,11 +220,13 @@
+ }
+ }
+
++#if __FreeBSD_version >= 300000
+ if( checkversion() < 0 )
+ {
+ fprintf( stderr, devstat_errbuf );
+ exit(1);
+ }
++#endif
+
+ wmmon_routine(argc, argv);
+ }