diff options
author | sanpei <sanpei@FreeBSD.org> | 2002-12-02 14:29:00 +0000 |
---|---|---|
committer | sanpei <sanpei@FreeBSD.org> | 2002-12-02 14:29:00 +0000 |
commit | 16042e2291f9e7b6d62591d9d2eb717b2b6a93fc (patch) | |
tree | a32fdeb26364834874e8c180da929616b7737df7 /japanese/oleo | |
parent | f2e8b7795954e13820f08b64401fa5d151bfc25f (diff) | |
download | FreeBSD-ports-16042e2291f9e7b6d62591d9d2eb717b2b6a93fc.zip FreeBSD-ports-16042e2291f9e7b6d62591d9d2eb717b2b6a93fc.tar.gz |
Fix build with compile error on -current(conflicting types for `sys_nerr')
Reported by: bento
Diffstat (limited to 'japanese/oleo')
-rw-r--r-- | japanese/oleo/files/patch-ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/japanese/oleo/files/patch-ac b/japanese/oleo/files/patch-ac new file mode 100644 index 0000000..310fb19 --- /dev/null +++ b/japanese/oleo/files/patch-ac @@ -0,0 +1,12 @@ +--- utils.c.org Mon Dec 2 23:28:08 2002 ++++ utils.c Mon Dec 2 23:28:26 2002 +@@ -68,7 +68,9 @@ + #endif + #endif /* _DEBUG_MALLOC_INC */ + ++#if __FreeBSD_version < 500038 + extern int sys_nerr; ++#endif + #if !(defined(BSD) && ((BSD)>=199306)) + extern char *sys_errlist[]; + #endif /* !(defined(BSD) && ((BSD)>=199306)) */ |