Fix build with clang11
This commit is contained in:
parent
236a71ab19
commit
71ecb265c7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547268
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= ncftp
|
PORTNAME= ncftp
|
||||||
PORTVERSION= 3.2.6
|
PORTVERSION= 3.2.6
|
||||||
PORTREVISION?= 1
|
PORTREVISION?= 2
|
||||||
CATEGORIES= ftp
|
CATEGORIES= ftp
|
||||||
MASTER_SITES= ftp://ftp.ncftp.com/ncftp/ \
|
MASTER_SITES= ftp://ftp.ncftp.com/ncftp/ \
|
||||||
ftp://ftp.mirrorservice.org/sites/ftp.ncftp.com/ncftp/
|
ftp://ftp.mirrorservice.org/sites/ftp.ncftp.com/ncftp/
|
||||||
@ -22,11 +22,6 @@ USE_LDCONFIG= yes
|
|||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV+= ac_cv_header_ncurses_h=yes
|
CONFIGURE_ENV+= ac_cv_header_ncurses_h=yes
|
||||||
|
|
||||||
CFLAGS+= -fcommon
|
|
||||||
|
|
||||||
DEPRECATED= Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
|
|
||||||
EXPIRATION_DATE=2021-04-01
|
|
||||||
|
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
|
|
||||||
LIBNCFTP= libncftp.so.3
|
LIBNCFTP= libncftp.so.3
|
||||||
|
11
ftp/ncftp3/files/patch-sh__util_gpshare.c
Normal file
11
ftp/ncftp3/files/patch-sh__util_gpshare.c
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- sh_util/gpshare.c.orig 2016-11-12 23:53:39 UTC
|
||||||
|
+++ sh_util/gpshare.c
|
||||||
|
@@ -28,7 +28,7 @@
|
||||||
|
|
||||||
|
static int gIsAtty1 = 1, gIsAtty2 = 1;
|
||||||
|
extern int gLoadedBm, gBookmarkMatchMode;
|
||||||
|
-Bookmark gBm;
|
||||||
|
+extern Bookmark gBm;
|
||||||
|
|
||||||
|
double
|
||||||
|
FileSize(double size, const char **uStr0, double *uMult0)
|
Loading…
Reference in New Issue
Block a user