Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2012 22:14:39 +0000 (UTC)
From:      Alex Kozlov <ak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302137 - head/games/netrek-client-cow
Message-ID:  <201208052214.q75MEdE9032531@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ak
Date: Sun Aug  5 22:14:38 2012
New Revision: 302137
URL: http://svn.freebsd.org/changeset/ports/302137

Log:
  - Fix build with clang
  
  PR:	ports/169179
  Submitted by:	Kevin Zheng <kevinz5000@gmail.com> (maintainer)

Modified:
  head/games/netrek-client-cow/Makefile   (contents, props changed)

Modified: head/games/netrek-client-cow/Makefile
==============================================================================
--- head/games/netrek-client-cow/Makefile	Sun Aug  5 21:10:33 2012	(r302136)
+++ head/games/netrek-client-cow/Makefile	Sun Aug  5 22:14:38 2012	(r302137)
@@ -25,6 +25,8 @@ CONFIGURE_ARGS+=	NORSA='\#'
 post-patch:
 	${REINPLACE_CMD} -e 's|ushort  damage|unsigned short damage|' \
 		${WRKSRC}/short.c
+	${REINPLACE_CMD} -e 's|inline void|void|' \
+		${WRKSRC}/local.[ch]
 	${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
 		${WRKSRC}/x11sprite.c ${WRKSRC}/netrek-client-cow.desktop
 	${REINPLACE_CMD} -e 's|games|bin|' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208052214.q75MEdE9032531>