diff --git a/net/ncftp/Makefile b/net/ncftp/Makefile index f3d2e18cdc2..0aae06486d8 100644 --- a/net/ncftp/Makefile +++ b/net/ncftp/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.47 2020/03/10 03:31:45 daniel Exp $ +# $OpenBSD: Makefile,v 1.48 2021/02/01 01:21:36 cwen Exp $ COMMENT= FTP client with advanced user interface DISTNAME= ncftp-3.2.6 CATEGORIES= net -HOMEPAGE= http://www.ncftp.com/ncftp/ -REVISION= 1 +HOMEPAGE= https://www.ncftp.com/ncftp/ +REVISION= 2 # Artistic PERMIT_PACKAGE= Yes diff --git a/net/ncftp/patches/patch-sh_util_gpshare_c b/net/ncftp/patches/patch-sh_util_gpshare_c new file mode 100644 index 00000000000..da588f03f11 --- /dev/null +++ b/net/ncftp/patches/patch-sh_util_gpshare_c @@ -0,0 +1,16 @@ +$OpenBSD: patch-sh_util_gpshare_c,v 1.1 2021/02/01 01:21:36 cwen Exp $ + +Fix -fno-common build failure. + +Index: sh_util/gpshare.c +--- sh_util/gpshare.c.orig ++++ 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)