diff options
author | steve <steve@FreeBSD.org> | 1999-01-18 10:29:37 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-01-18 10:29:37 +0800 |
commit | cacb83d570dc1249eb9120f93e2018e6c581fdac (patch) | |
tree | da32c7500e31f219e7097a079ae5fa5a46243885 /sysutils | |
parent | f9b3c91080e8cb87625eecfa15da6aad2c4485e0 (diff) | |
download | freebsd-ports-gnome-cacb83d570dc1249eb9120f93e2018e6c581fdac.tar.gz freebsd-ports-gnome-cacb83d570dc1249eb9120f93e2018e6c581fdac.tar.zst freebsd-ports-gnome-cacb83d570dc1249eb9120f93e2018e6c581fdac.zip |
Get this to build in -current.
PR: 9401
Submitted by: Allan Saddi <asaddi@philosophysw.com>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/wmmon/files/patch-ac | 16 |
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); + } |