aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2023-07-13 15:47:49 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2023-07-13 15:47:49 +0000
commit0004395c21aa9b89af1d6819ea58451e80fc2480 (patch)
tree5d65da25787a3aa5b3adf4fc3ef94cc12112d198
parentcba30c34b8ace595d81d33877b723dfc41bd85d5 (diff)
downloadports-0004395c21aa9b89af1d6819ea58451e80fc2480.tar.gz
ports-0004395c21aa9b89af1d6819ea58451e80fc2480.zip
news/nntp: fix build with clang16
fix warnings on 32bit support for CNEWS_PORT
-rw-r--r--news/nntp/Makefile7
-rw-r--r--news/nntp/distinfo6
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