mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
[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>
This commit is contained in:
parent
5071815131
commit
f10aa2ade5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75521
@ -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 \
|
||||
|
11
net/cap/files/patch-applications-aufs-afpos.c
Normal file
11
net/cap/files/patch-applications-aufs-afpos.c
Normal file
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user