Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2013 19:01:33 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321066 - in head/games/concentration: . files
Message-ID:  <201306161901.r5GJ1XuU040538@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Jun 16 19:01:33 2013
New Revision: 321066
URL: http://svnweb.freebsd.org/changeset/ports/321066

Log:
  - Trim Makefile
  - Fix build with clang

Added:
  head/games/concentration/files/patch-src-concentration.c   (contents, props changed)
Deleted:
  head/games/concentration/files/patch-src__sound.c
Modified:
  head/games/concentration/Makefile

Modified: head/games/concentration/Makefile
==============================================================================
--- head/games/concentration/Makefile	Sun Jun 16 18:16:16 2013	(r321065)
+++ head/games/concentration/Makefile	Sun Jun 16 19:01:33 2013	(r321066)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	concentration
-# Date created:				10 Nov 2005
-# Whom:					Dmitry Marakasov <amdmi3@amdmi3.ru>
-#
+# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
 # $FreeBSD$
-#
 
 PORTNAME=	concentration
 PORTVERSION=	1.2
@@ -24,7 +20,4 @@ LDFLAGS+=	`${SDL_CONFIG} --libs`
 
 MAN6=		concentration.6
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|-std=gnu99 ||g' ${WRKSRC}/configure
-
 .include <bsd.port.mk>

Added: head/games/concentration/files/patch-src-concentration.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/concentration/files/patch-src-concentration.c	Sun Jun 16 19:01:33 2013	(r321066)
@@ -0,0 +1,11 @@
+--- src/concentration.c.orig	2005-11-09 19:05:02.000000000 +0300
++++ src/concentration.c	2013-06-04 07:00:25.084319599 +0400
+@@ -202,7 +202,7 @@
+ 
+ /*****************************************************
+  ****************************************************/
+-inline void drawText(char * str, SDL_Color color, int x, int y, TTF_Font * font)
++static inline void drawText(char * str, SDL_Color color, int x, int y, TTF_Font * font)
+ {
+ 	static SDL_Rect dest;
+ 	



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