Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2023 15:48:12 GMT
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0004395c21aa - main - news/nntp: fix build with clang16
Message-ID:  <202307131548.36DFmC7Q044063@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dinoex:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0004395c21aa9b89af1d6819ea58451e80fc2480

commit 0004395c21aa9b89af1d6819ea58451e80fc2480
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2023-07-13 15:47:49 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2023-07-13 15:47:49 +0000

    news/nntp: fix build with clang16
    
    fix warnings on 32bit
    support for CNEWS_PORT
---
 news/nntp/Makefile | 7 ++++---
 news/nntp/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/news/nntp/Makefile b/news/nntp/Makefile
index c4bc72a26abe..4fcfe1039d7b 100644
--- a/news/nntp/Makefile
+++ b/news/nntp/Makefile
@@ -1,17 +1,17 @@
 PORTNAME=	nntp
 PORTVERSION=	1.5.12.2
-PORTREVISION=	11
+PORTREVISION=	12
 CATEGORIES=	news
 MASTER_SITES=	ftp://ftp.dinoex.org/pub/c-news/
 DISTNAME=	${PORTNAME}.${PORTVERSION}
 
 PATCH_SITES=	ftp://ftp.dinoex.org/pub/c-news/
-PATCHFILES=	nntp-patch-ansi2
+PATCHFILES=	nntp-patch-ansi3
 
 MAINTAINER=	dinoex@FreeBSD.org
 COMMENT=	NNTP with NOV support
 
-BUILD_DEPENDS=	${LOCALBASE}/lib/libcnews.a:news/cnews
+BUILD_DEPENDS=	${LOCALBASE}/lib/libcnews.a:${CNEWS_PORT}
 
 NO_WRKSUBDIR=	yes
 USE_CSTD=	gnu89
@@ -22,6 +22,7 @@ PLIST_SUB+=	NEWSCTL=${NEWSCTL:S=^${VARBASE}/==}
 DOCSFILES1=	AUTHORIZE CHANGES README README-conf.h SYSLOG doc/rfc977
 DOCSFILES2=	server support xfer xmit
 
+CNEWS_PORT?=	news/cnews
 VARBASE?=	/var
 NEWSBIN?=	${PREFIX}/libexec/cnews
 NEWSCTL?=	${VARBASE}/lib/news
diff --git a/news/nntp/distinfo b/news/nntp/distinfo
index 147e2a8790d5..6a156b14fd33 100644
--- a/news/nntp/distinfo
+++ b/news/nntp/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1678044879
+TIMESTAMP = 1689263194
 SHA256 (nntp.1.5.12.2.tar.gz) = c4b4b6e7aa6abfe06300c1667fc55049b01d9f3a2c6f8714845a1dfd4c33fe46
 SIZE (nntp.1.5.12.2.tar.gz) = 153634
-SHA256 (nntp-patch-ansi2) = 17fc41009e826986833f7fdde80288fe781b12a19881532e8e7a338fe1e5d980
-SIZE (nntp-patch-ansi2) = 112982
+SHA256 (nntp-patch-ansi3) = 5383ea404882d0a8426cb2397af750313d6057dde777252bd7f00a30ac3f5036
+SIZE (nntp-patch-ansi3) = 114056



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