Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Nov 2016 10:42:31 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426355 - head/news/nntp
Message-ID:  <201611191042.uAJAgVGG008261@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Sat Nov 19 10:42:31 2016
New Revision: 426355
URL: https://svnweb.freebsd.org/changeset/ports/426355

Log:
  - fix build on FreeBSD-12

Modified:
  head/news/nntp/Makefile

Modified: head/news/nntp/Makefile
==============================================================================
--- head/news/nntp/Makefile	Sat Nov 19 09:00:20 2016	(r426354)
+++ head/news/nntp/Makefile	Sat Nov 19 10:42:31 2016	(r426355)
@@ -49,6 +49,12 @@ ALONE=	-e 's|\#define.ALONE|\#undef	ALON
 post-extract:
 	${CP} ${WRKSRC}/conf.h.dist ${WRKSRC}/conf.h
 
+
+post-patch:
+	${REINPLACE_CMD} \
+		-e 's=getline(=xmit_getline(=' \
+		${WRKSRC}/xmit/nntpxmit.c
+
 pre-configure:
 	${REINPLACE_CMD} ${ALONE} \
 		-e "s=/usr/local/news/lib/bin/config=${NEWSBIN}/config=" \



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