aboutsummaryrefslogtreecommitdiff
path: root/net/cap
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
parent507181513197ec67b6b27b5d21a4e9abf36a4e80 (diff)
downloadports-f10aa2ade55e8b38263e0c0b371feb3fa550d7ed.tar.gz
ports-f10aa2ade55e8b38263e0c0b371feb3fa550d7ed.zip
Notes
Diffstat (limited to 'net/cap')
-rw-r--r--net/cap/Makefile3
-rw-r--r--net/cap/files/patch-applications-aufs-afpos.c11
2 files changed, 14 insertions, 0 deletions
diff --git a/net/cap/Makefile b/net/cap/Makefile
index 88fffda1d166..c13889ec0eec 100644
--- a/net/cap/Makefile
+++ b/net/cap/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cap
PORTVERSION= 6.0.198
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp-ns.rutgers.edu/pub/cap/ \
ftp://ftp-ns.rutgers.edu/pub/cap/cap.patches/ \
@@ -31,6 +32,8 @@ DIST_SUBDIR= cap60
ALL_TARGET= libsmade dummy-libinstall programs
INSTALL_TARGET= include libinstall install
+CFLAGS+= -traditional-cpp -DUSESTRINGDOTH
+
USE_REINPLACE= YES
MAN1= AUFS.1 ash.1 atlook.1 atprint.1 cvt2apple.1 getzones.1 \
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;
+