summaryrefslogtreecommitdiff
path: root/net/cap/files/patch-lib-cap-ablog.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-24 10:55:50 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-24 10:55:50 +0000
commit2359546dd75d8ecdf7846106ded44d305f8b83ea (patch)
treeb68f317ea0675b0d32d4b539fcaf50fa2340896d /net/cap/files/patch-lib-cap-ablog.c
parentFix lang/egcs on -current (diff)
Make net/cap compiling again
PR: ports/44879 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Notes
Notes: svn path=/head/; revision=70993
Diffstat (limited to 'net/cap/files/patch-lib-cap-ablog.c')
-rw-r--r--net/cap/files/patch-lib-cap-ablog.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/cap/files/patch-lib-cap-ablog.c b/net/cap/files/patch-lib-cap-ablog.c
new file mode 100644
index 000000000000..88c1db654032
--- /dev/null
+++ b/net/cap/files/patch-lib-cap-ablog.c
@@ -0,0 +1,11 @@
+--- lib/cap/ablog.c.foo Mon Nov 4 16:43:02 2002
++++ lib/cap/ablog.c Mon Nov 4 16:43:11 2002
+@@ -91,7 +91,7 @@
+ #endif USEVPRINTF
+ int saveerr;
+ extern int errno;
+- extern int sys_nerr;
++ extern __const int sys_nerr;
+ #ifndef __FreeBSD__
+ extern char *sys_errlist[];
+ #endif