1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

news/cnews: fix build on FreeBSD-14

This commit is contained in:
Dirk Meyer 2023-03-11 18:50:53 +01:00
parent 29f64c4380
commit 4e7d5a56f4
2 changed files with 5 additions and 11 deletions

View File

@ -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} \

View File

@ -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