aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-09-30 19:21:10 +0800
committermiwi <miwi@FreeBSD.org>2006-09-30 19:21:10 +0800
commit7128bd2380ffc6c33d6df789354ac3fd5c03fe16 (patch)
treec23fe1076f1e58587565e65c27179e68748fad0e /games
parentb259bd467518f8bbeeb1286adf48bf74d745dee2 (diff)
downloadfreebsd-ports-gnome-7128bd2380ffc6c33d6df789354ac3fd5c03fe16.tar.gz
freebsd-ports-gnome-7128bd2380ffc6c33d6df789354ac3fd5c03fe16.tar.zst
freebsd-ports-gnome-7128bd2380ffc6c33d6df789354ac3fd5c03fe16.zip
- Fix build with gcc4.1
PR: ports/103820 Submitted by: Dmitry Marakasov <amdmi3(at)mail.ru> (maintainer)
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