Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2013 14:29:56 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323298 - head/games/ltris
Message-ID:  <201307191429.r6JETuEb004689@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Fri Jul 19 14:29:56 2013
New Revision: 323298
URL: http://svnweb.freebsd.org/changeset/ports/323298

Log:
  Don't use "inline" keyword in header files for external functions
  Fixes compilation with clang

Modified:
  head/games/ltris/Makefile

Modified: head/games/ltris/Makefile
==============================================================================
--- head/games/ltris/Makefile	Fri Jul 19 14:28:59 2013	(r323297)
+++ head/games/ltris/Makefile	Fri Jul 19 14:29:56 2013	(r323298)
@@ -31,6 +31,8 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|/icons|/pixmaps|g' ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e 's|= @mixer_flag@|= @INTLLIBS@ @mixer_flag@|g ; \
 		 s|--mode=666||g' ${WRKSRC}/src/Makefile.in
+	@${REINPLACE_CMD} -e 's/^inline //' \
+		${WRKSRC}/src/sdl.h ${WRKSRC}/src/tools.h
 
 post-install:
 	@${CHMOD} 2755 ${PREFIX}/bin/${PORTNAME}



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