git: 4e7d5a56f499 - main - news/cnews: fix build on FreeBSD-14

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Sat, 11 Mar 2023 17:51:05 UTC
The branch main has been updated by dinoex:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4e7d5a56f499fbc7fab8e9e97c93c3d5edf646be

commit 4e7d5a56f499fbc7fab8e9e97c93c3d5edf646be
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2023-03-11 17:50:53 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2023-03-11 17:50:53 +0000

    news/cnews: fix build on FreeBSD-14
---
 news/cnews/Makefile | 8 ++------
 news/cnews/distinfo | 8 +++-----
 2 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/news/cnews/Makefile b/news/cnews/Makefile
index 683729401240..a4f112791002 100644
--- a/news/cnews/Makefile
+++ b/news/cnews/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cnews
 PORTVERSION=	cr.g
-PORTREVISION=	18
+PORTREVISION=	19
 CATEGORIES=	news
 MASTER_SITES=	ftp://ftp.cs.toronto.edu/pub/c-news/ \
 		ftp://ftp.funet.fi/pub/unix/news/cnews/ \
@@ -23,7 +23,7 @@ PATCHFILES=	c-news-patch-fileart.c c-news-patch-namelen \
 		c-news-patch-y2k-2 \
 		c-news-patch-inews-path \
 		c-news-patch-gawk3 \
-		c-news-patch-ansi
+		c-news-patch-ansi2
 
 MAINTAINER=	dinoex@FreeBSD.org
 COMMENT=	News server
@@ -97,10 +97,6 @@ pre-patch:
 		${DISTDIR}/${DIST_SUBDIR}/${PGPVERIFY} \
 		> ${WRKSRC}/${PGPVERIFY}
 
-post-patch:
-	@${REINPLACE_CMD} -e 's/getline/get_line/g' ${WRKSRC}/readnews/active.c \
-		${WRKSRC}/readnews/newsrc.c
-
 pre-configure:
 .for i in conf/quiz.def conf/substitutions include/config.make
 	${REINPLACE_CMD} \
diff --git a/news/cnews/distinfo b/news/cnews/distinfo
index a1f56bb119a6..10b569fce8da 100644
--- a/news/cnews/distinfo
+++ b/news/cnews/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1505201300
+TIMESTAMP = 1678362238
 SHA256 (c-news/c-news.tar.Z) = 897ffa8e05bcf3fe8734cf83c893ca78416266665e06106ff52b733d319835d3
 SIZE (c-news/c-news.tar.Z) = 676481
 SHA256 (c-news/pgpverify-1.29) = 457ee3c3439a9b3a5d3eee76e6342b8c56334b12a88221b053c19c4add0f04f9
@@ -31,7 +31,5 @@ SHA256 (c-news/c-news-patch-inews-path) = ca7f05f9301003e6bb7fcd8107c11dfebc93d7
 SIZE (c-news/c-news-patch-inews-path) = 355
 SHA256 (c-news/c-news-patch-gawk3) = 6072cff1c060b059a5915f24e95252540a22d89889fcc4d1cb1fa49ebbb33205
 SIZE (c-news/c-news-patch-gawk3) = 1393
-SHA256 (c-news/c-news-patch-ansi) = eb22b48edf1dbbf010b6e27fb2664733c6617bf94944cc48e1882bc5a7db616c
-SIZE (c-news/c-news-patch-ansi) = 111850
-SHA256 (c-news/c-news-patch-pgpverify-1.12-perl4) = b3f935533d241cf04f92942ea33905968f24bedcf09bc6b33a241c66ba2f73c9
-SIZE (c-news/c-news-patch-pgpverify-1.12-perl4) = 1450
+SHA256 (c-news/c-news-patch-ansi2) = 801083b02a771a5a4e621d37242f5ee4642bf612d0012f765fb18539d01bc683
+SIZE (c-news/c-news-patch-ansi2) = 230769