diff options
| author | Jun Kuriyama <kuriyama@FreeBSD.org> | 1999-06-14 13:29:14 +0000 |
|---|---|---|
| committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 1999-06-14 13:29:14 +0000 |
| commit | ce44d21673ec9afeca4ca4fe9f7c04d174e6cd37 (patch) | |
| tree | 996fa27b26c8e1679da570700dad36ac141550ec /sysutils/wmmon/files/patch-ac | |
| parent | Fogot to copy two files (MJ700V2C.FAQ, gdevmjc.ps) for gdevmjc-0.8 (diff) | |
Fix to compile on -current (and others).
Change MAINTAINER to Stephen Kiernam <sk-ports@vegamuse.org>.
PR: ports/11880
Submitted by: Stephen Kiernam <sk-ports@vegamuse.org>
No response from: old maintainer
Diffstat (limited to 'sysutils/wmmon/files/patch-ac')
| -rw-r--r-- | sysutils/wmmon/files/patch-ac | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/sysutils/wmmon/files/patch-ac b/sysutils/wmmon/files/patch-ac index 6dc47b44f27b..78d2d262b954 100644 --- a/sysutils/wmmon/files/patch-ac +++ b/sysutils/wmmon/files/patch-ac @@ -1,16 +1,13 @@ ---- 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); - } +*** ../../wmmon.app/wmgeneral/misc.c.orig Tue May 19 17:13:23 1998 +--- ../../wmmon.app/wmgeneral/misc.c Mon May 24 21:26:26 1999 +*************** +*** 64,69 **** +--- 64,71 ---- + + t = ret = malloc(strlen(word)+1); + ptr = word; ++ ++ if (ret==NULL) return NULL; + + state = 0; + *t = 0; |
