From owner-svn-ports-head@FreeBSD.ORG Fri May 1 14:11:06 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2D1EA67; Fri, 1 May 2015 14:11:06 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B16DA1B3B; Fri, 1 May 2015 14:11:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t41EB66W066115; Fri, 1 May 2015 14:11:06 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t41EB67e066114; Fri, 1 May 2015 14:11:06 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201505011411.t41EB67e066114@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Fri, 1 May 2015 14:11:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r385113 - head/games/lincity/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2015 14:11:06 -0000 Author: marino Date: Fri May 1 14:11:05 2015 New Revision: 385113 URL: https://svnweb.freebsd.org/changeset/ports/385113 Log: games/lincity: Fix build on gcc5 GCC5 doesn't like it when static variables are used inside inline functions. Added: head/games/lincity/files/patch-mouse.c (contents, props changed) Added: head/games/lincity/files/patch-mouse.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/lincity/files/patch-mouse.c Fri May 1 14:11:05 2015 (r385113) @@ -0,0 +1,29 @@ +--- mouse.c.orig 2004-07-03 08:03:17 UTC ++++ mouse.c +@@ -1057,7 +1057,7 @@ choose_residence (void) + and set to 1 if the existing transport if the more expensive sort + (e.g. GROUP_RAIL when overwriting GROUP_ROAD). + */ +-inline int ++int + mt_erase(int x, int y) + { + if (x < 0 || y < 0 || x >= WORLD_SIDE_LEN || y >= WORLD_SIDE_LEN) +@@ -1094,7 +1094,7 @@ mt_erase(int x, int y) + return 0; + } + +-inline int ++int + mt_temp(int x, int y) + { + if (x < 0 || y < 0 || x >= WORLD_SIDE_LEN || y >= WORLD_SIDE_LEN) +@@ -1128,7 +1128,7 @@ mt_temp(int x, int y) + return 0; + } + +-inline int ++int + mt_perm(int x, int y) + { + /* By now, it has already been mt_erase()'d */