Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2016 19:06:58 +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: r415137 - head/games/bsdgames
Message-ID:  <201605131906.u4DJ6wHo062902@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri May 13 19:06:58 2016
New Revision: 415137
URL: https://svnweb.freebsd.org/changeset/ports/415137

Log:
  Prevent collision with getline(3)

Modified:
  head/games/bsdgames/Makefile

Modified: head/games/bsdgames/Makefile
==============================================================================
--- head/games/bsdgames/Makefile	Fri May 13 19:04:28 2016	(r415136)
+++ head/games/bsdgames/Makefile	Fri May 13 19:06:58 2016	(r415137)
@@ -64,6 +64,8 @@ post-patch:
 		${REINPLACE_CMD} -e 's/HIDEGAME/SGIDGAME/' \
 			${WRKSRC}/$${f}/Makefile; \
 	done
+	@${REINPLACE_CMD} -e "s/getline/get_line/g" ${WRKSRC}/cribbage/io.c \
+		${WRKSRC}/cribbage/crib.c ${WRKSRC}/cribbage/cribbage.h
 
 pre-install:
 .for d in atc larn quiz.db



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