svn commit: r547268 - in head/ftp/ncftp3: . files
Stefan Eßer
se at FreeBSD.org
Tue Sep 1 12:21:30 UTC 2020
Author: se
Date: Tue Sep 1 12:21:30 2020
New Revision: 547268
URL: https://svnweb.freebsd.org/changeset/ports/547268
Log:
Fix build with clang11
Added:
head/ftp/ncftp3/files/
head/ftp/ncftp3/files/patch-sh__util_gpshare.c (contents, props changed)
Modified:
head/ftp/ncftp3/Makefile
Modified: head/ftp/ncftp3/Makefile
==============================================================================
--- head/ftp/ncftp3/Makefile Tue Sep 1 12:12:50 2020 (r547267)
+++ head/ftp/ncftp3/Makefile Tue Sep 1 12:21:30 2020 (r547268)
@@ -3,7 +3,7 @@
PORTNAME= ncftp
PORTVERSION= 3.2.6
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.ncftp.com/ncftp/ \
ftp://ftp.mirrorservice.org/sites/ftp.ncftp.com/ncftp/
@@ -21,11 +21,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
USE_LDCONFIG= yes
GNU_CONFIGURE= 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= *
Added: head/ftp/ncftp3/files/patch-sh__util_gpshare.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ftp/ncftp3/files/patch-sh__util_gpshare.c Tue Sep 1 12:21:30 2020 (r547268)
@@ -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)
More information about the svn-ports-head
mailing list