summaryrefslogtreecommitdiff
path: root/net/cap/files
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-02-14 20:18:00 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-02-14 20:18:00 +0000
commitf10aa2ade55e8b38263e0c0b371feb3fa550d7ed (patch)
treed085ebe429296421c3515df80469206649f5d6aa /net/cap/files
parentUpdate to 0.7.0. (diff)
[patch] net/cap still has minor build issue on -CURRENT
bento noticed one subdirectory doesn't build correctly: - add -traditional-cpp -DUSESTRINGDOTH to CFLAGS - generic sys_nerr fix - bump port rev because the build error doesn't break the build, but just leads to missing files - checked against -STABLE PR: ports/47964 Submitted by: Volker Stolz <stolz@fump.kawo2.rwth-aachen.de>
Diffstat (limited to 'net/cap/files')
-rw-r--r--net/cap/files/patch-applications-aufs-afpos.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/cap/files/patch-applications-aufs-afpos.c b/net/cap/files/patch-applications-aufs-afpos.c
new file mode 100644
index 000000000000..7d5e440dd368
--- /dev/null
+++ b/net/cap/files/patch-applications-aufs-afpos.c
@@ -0,0 +1,11 @@
+--- applications/aufs/afpos.c.orig Wed Feb 5 17:48:07 2003
++++ applications/aufs/afpos.c Wed Feb 5 17:48:45 2003
+@@ -4776,7 +4776,7 @@
+ #if !(defined(__FreeBSD__) || defined(__NetBSD__))
+ extern char *sys_errlist[];
+ #endif
+- extern int sys_nerr;
++ extern __const int sys_nerr;
+ static char buf[50];
+ int serrno;
+