From owner-svn-ports-head@FreeBSD.ORG Tue Oct 1 20:24:28 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8EACCDD3; Tue, 1 Oct 2013 20:24:28 +0000 (UTC) (envelope-from marino@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7B81D27A0; Tue, 1 Oct 2013 20:24:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r91KOSGa085041; Tue, 1 Oct 2013 20:24:28 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r91KORGK085021; Tue, 1 Oct 2013 20:24:27 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201310012024.r91KORGK085021@svn.freebsd.org> From: John Marino Date: Tue, 1 Oct 2013 20:24:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328990 - head/games/toycars/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.14 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: Tue, 01 Oct 2013 20:24:28 -0000 Author: marino Date: Tue Oct 1 20:24:27 2013 New Revision: 328990 URL: http://svnweb.freebsd.org/changeset/ports/328990 Log: games/toycars: add and other C++ fixes for modern compilers Approved by: portmgr (bapt, implicit) Added: head/games/toycars/files/patch-toycars__vehicle__editor_src_VehicleEditorUI.cxx (contents, props changed) head/games/toycars/files/patch-toycars__vehicle__editor_src_VehicleObject.cpp (contents, props changed) head/games/toycars/files/patch-toycars_src_MyFisix_Convex.h (contents, props changed) Added: head/games/toycars/files/patch-toycars__vehicle__editor_src_VehicleEditorUI.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/toycars/files/patch-toycars__vehicle__editor_src_VehicleEditorUI.cxx Tue Oct 1 20:24:27 2013 (r328990) @@ -0,0 +1,11 @@ +--- toycars_vehicle_editor/src/VehicleEditorUI.cxx.orig 2009-02-28 14:50:41.000000000 +0000 ++++ toycars_vehicle_editor/src/VehicleEditorUI.cxx +@@ -228,7 +228,7 @@ char str[64]; + sprintf(str, "%d", n); + convexChoice->add(str); + convexChoice->value(n); +-vehicleObj.getGeometry()->push_back(std::list::list()); ++vehicleObj.getGeometry()->push_back(std::list()); + spriteView->setConvexChoice(n); + spriteView->redraw(); + } Added: head/games/toycars/files/patch-toycars__vehicle__editor_src_VehicleObject.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/toycars/files/patch-toycars__vehicle__editor_src_VehicleObject.cpp Tue Oct 1 20:24:27 2013 (r328990) @@ -0,0 +1,27 @@ +--- toycars_vehicle_editor/src/VehicleObject.cpp.orig 2009-03-22 19:45:31.000000000 +0000 ++++ toycars_vehicle_editor/src/VehicleObject.cpp +@@ -152,7 +152,7 @@ void VehicleObject::loadVehicle(const ch + short count; + geometry.clear(); + for (xConvex = xGeometry->FirstChild(); xConvex != NULL; xConvex = xConvex->NextSibling("convex")) { +- geometry.push_back(std::list::list()); ++ geometry.push_back(std::list()); + std::list &convex = geometry.back(); + readPointsFromString(xConvex->FirstChild()->ToText()->Value(), convex, count); + } +@@ -411,7 +411,7 @@ void VehicleObject::loadSpriteFromDataDi + short count; + geometry.clear(); + for (xConvex = xGeometry->FirstChild(); xConvex != NULL; xConvex = xConvex->NextSibling("convex")) { +- geometry.push_back(std::list::list()); ++ geometry.push_back(std::list()); + std::list &convex = geometry.back(); + readPointsFromString(xConvex->FirstChild()->ToText()->Value(), convex, count); + } +@@ -675,4 +675,4 @@ void VehicleObject::uninstallVehicle(con + system(str); + */ + #endif +-} +\ No newline at end of file ++} Added: head/games/toycars/files/patch-toycars_src_MyFisix_Convex.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/toycars/files/patch-toycars_src_MyFisix_Convex.h Tue Oct 1 20:24:27 2013 (r328990) @@ -0,0 +1,10 @@ +--- toycars/src/MyFisix/Convex.h.orig 2008-09-09 10:14:27.000000000 +0000 ++++ toycars/src/MyFisix/Convex.h +@@ -21,6 +21,7 @@ + #include "config.h" + #endif + ++#include + #include + using namespace std; +