aboutsummaryrefslogtreecommitdiffstats
path: root/games/cake
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2006-10-04 04:34:47 +0800
committerdanfe <danfe@FreeBSD.org>2006-10-04 04:34:47 +0800
commitd4eff2748547f4deaabba3aeac97cf7d0c3a7a7b (patch)
treef9d3e02e0b3f0e619d714083438e0086731c82be /games/cake
parentb2c90928f5e2def67d61eb7b16b798418e890e73 (diff)
downloadfreebsd-ports-gnome-d4eff2748547f4deaabba3aeac97cf7d0c3a7a7b.tar.gz
freebsd-ports-gnome-d4eff2748547f4deaabba3aeac97cf7d0c3a7a7b.tar.zst
freebsd-ports-gnome-d4eff2748547f4deaabba3aeac97cf7d0c3a7a7b.zip
Fix the build with yet-to-come GCC.
Diffstat (limited to 'games/cake')
-rw-r--r--games/cake/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/cake/Makefile b/games/cake/Makefile
index 4111c98dba96..b11c8355bbc9 100644
--- a/games/cake/Makefile
+++ b/games/cake/Makefile
@@ -50,6 +50,8 @@ post-extract:
@${REINPLACE_CMD} -e 's/ENABLE_SOUND 1/ENABLE_SOUND 0/' \
${WRKSRC}/cake/sound.h
@${REINPLACE_CMD} -e 's/167/96/' ${WRKSRC}/main.cpp
+ # GCC 4.x fix
+ @${REINPLACE_CMD} -e 's/Mat3x2:://' ${WRKSRC}/cake/math.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/main ${PREFIX}/bin/cake