summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-09-30 11:21:10 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-09-30 11:21:10 +0000
commitac0f4424c042aa617b609f270e8e61a83ec8fda8 (patch)
treeec5cc502840db4f0fa1cb65f9187014810723212 /games
parent- Fix build with gcc4.1 (diff)
- Fix build with gcc4.1
PR: ports/103820 Submitted by: Dmitry Marakasov <amdmi3(at)mail.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=174168
Diffstat (limited to 'games')
-rw-r--r--games/ivan/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/ivan/Makefile b/games/ivan/Makefile
index 0062269d928b..8e97e160261c 100644
--- a/games/ivan/Makefile
+++ b/games/ivan/Makefile
@@ -26,6 +26,10 @@ STATEDIR= /var/games/ivan
post-patch:
@${REINPLACE_CMD} -e 's|IvanSave|.IvanSave|g' ${WRKSRC}/Main/Source/game.cpp
+ @${REINPLACE_CMD} -Ee 's|(fearray<type>::~?fearray)<type>|\1|' \
+ ${WRKSRC}/FeLib/Include/fearray.h
+ @${REINPLACE_CMD} -Ee 's|([a-z]+<[a-z ,]+>::~?[a-z]+)<[a-z ,]+>|\1|' \
+ ${WRKSRC}/Main/Source/script.cpp
post-install:
${CHGRP} games ${PREFIX}/bin/ivan