aboutsummaryrefslogtreecommitdiff
path: root/japanese/oleo
diff options
context:
space:
mode:
authorMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2002-12-02 14:29:00 +0000
committerMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2002-12-02 14:29:00 +0000
commit620fa2c603188333e2094843d7372002dacae888 (patch)
tree30d344506927e43ecff4f85e2108a89fc92e9d87 /japanese/oleo
parent09a269be2a12326e4c670a51baf373cf63c5358e (diff)
downloadports-620fa2c603188333e2094843d7372002dacae888.tar.gz
ports-620fa2c603188333e2094843d7372002dacae888.zip
Fix build with compile error on -current(conflicting types for `sys_nerr')
Reported by: bento
Notes
Notes: svn path=/head/; revision=71321
Diffstat (limited to 'japanese/oleo')
-rw-r--r--japanese/oleo/files/patch-ac12
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 000000000000..310fb1980d3b
--- /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)) */