Date: Mon, 6 Mar 2017 08:51:07 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435522 - head/games/cake Message-ID: <201703060851.v268p77a058002@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Mon Mar 6 08:51:07 2017 New Revision: 435522 URL: https://svnweb.freebsd.org/changeset/ports/435522 Log: Unbreak the build against Clang 4.0. PR: 216629 Modified: head/games/cake/Makefile Modified: head/games/cake/Makefile ============================================================================== --- head/games/cake/Makefile Mon Mar 6 08:10:25 2017 (r435521) +++ head/games/cake/Makefile Mon Mar 6 08:51:07 2017 (r435522) @@ -39,8 +39,9 @@ post-patch: .SILENT ${WRKSRC}/cake/sound.h # Use traditional mapping for console key (tilde) ${REINPLACE_CMD} -e 's/167/96/' ${WRKSRC}/main.cpp -# Fix for GCC 4.x +# Fixes for GCC 4.x and Clang 4.0 ${REINPLACE_CMD} -e 's/Mat3x2:://' ${WRKSRC}/cake/math.h + ${REINPLACE_CMD} -e '2852s/numverts/&[0]/' ${WRKSRC}/cake/q3bsp.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/main ${STAGEDIR}${PREFIX}/bin/cake
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703060851.v268p77a058002>