From 16042e2291f9e7b6d62591d9d2eb717b2b6a93fc Mon Sep 17 00:00:00 2001 From: sanpei Date: Mon, 2 Dec 2002 14:29:00 +0000 Subject: Fix build with compile error on -current(conflicting types for `sys_nerr') Reported by: bento --- japanese/oleo/files/patch-ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 japanese/oleo/files/patch-ac 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)) */ -- cgit v1.1