Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 12:21:30 +0000 (UTC)
From:      =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547268 - in head/ftp/ncftp3: . files
Message-ID:  <202009011221.081CLUVw085622@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009011221.081CLUVw085622>