mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Get this to build in -current.
PR: 9401 Submitted by: Allan Saddi <asaddi@philosophysw.com>
This commit is contained in:
parent
b9d1a0f013
commit
13e93cd996
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=16121
16
sysutils/wmmon/files/patch-ac
Normal file
16
sysutils/wmmon/files/patch-ac
Normal file
@ -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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user