aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-05-14 03:06:58 +0800
committerbapt <bapt@FreeBSD.org>2016-05-14 03:06:58 +0800
commitad7eeb3716082a6bda5d411279b635e63e866d56 (patch)
tree4b1f88423529fefcbaaf0298b564f77ee878be21 /games
parentfac08cccac14bb40648b14789da47433510b1090 (diff)
downloadfreebsd-ports-graphics-ad7eeb3716082a6bda5d411279b635e63e866d56.tar.gz
freebsd-ports-graphics-ad7eeb3716082a6bda5d411279b635e63e866d56.tar.zst
freebsd-ports-graphics-ad7eeb3716082a6bda5d411279b635e63e866d56.zip
Prevent collision with getline(3)
Diffstat (limited to 'games')
-rw-r--r--games/bsdgames/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/bsdgames/Makefile b/games/bsdgames/Makefile
index 39bc7180fd0..e3b115455ba 100644
--- a/games/bsdgames/Makefile
+++ b/games/bsdgames/Makefile
@@ -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