Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2016 18:51:43 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415132 - head/devel/cdecl
Message-ID:  <201605131851.u4DIphX1056419@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri May 13 18:51:42 2016
New Revision: 415132
URL: https://svnweb.freebsd.org/changeset/ports/415132

Log:
  Prevent collision with getline(3)

Modified:
  head/devel/cdecl/Makefile

Modified: head/devel/cdecl/Makefile
==============================================================================
--- head/devel/cdecl/Makefile	Fri May 13 18:49:07 2016	(r415131)
+++ head/devel/cdecl/Makefile	Fri May 13 18:51:42 2016	(r415132)
@@ -21,6 +21,9 @@ PORTDOCS=	testset testset++
 
 OPTIONS_DEFINE=	DOCS
 
+post-patch:
+	${REINPLACE_CMD} -e "s/getline/get_line/g" ${WRKSRC}/cdecl.c
+
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/testset* ${STAGEDIR}${DOCSDIR}



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