From owner-svn-ports-head@freebsd.org Fri May 20 20:28:31 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A2EAB44648; Fri, 20 May 2016 20:28:31 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 178C11EAC; Fri, 20 May 2016 20:28:31 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4KKSUDi040087; Fri, 20 May 2016 20:28:30 GMT (envelope-from martymac@FreeBSD.org) Received: (from martymac@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4KKSUr4040084; Fri, 20 May 2016 20:28:30 GMT (envelope-from martymac@FreeBSD.org) Message-Id: <201605202028.u4KKSUr4040084@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: martymac set sender to martymac@FreeBSD.org using -f From: Ganael LAPLANCHE Date: Fri, 20 May 2016 20:28:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415575 - head/games/trackballs/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.22 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, 20 May 2016 20:28:31 -0000 Author: martymac Date: Fri May 20 20:28:29 2016 New Revision: 415575 URL: https://svnweb.freebsd.org/changeset/ports/415575 Log: Fix build with libc++ 3.8.0 by removing conflicting re-definition of abs(). PR: 209612 Submitted by: dim Added: head/games/trackballs/files/patch-src_glHelp.cc (contents, props changed) head/games/trackballs/files/patch-src_menuMode.cc (contents, props changed) Added: head/games/trackballs/files/patch-src_glHelp.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/trackballs/files/patch-src_glHelp.cc Fri May 20 20:28:29 2016 (r415575) @@ -0,0 +1,10 @@ +--- src/glHelp.cc.orig 2007-04-07 13:15:09 UTC ++++ src/glHelp.cc +@@ -129,7 +129,6 @@ void drawSurface(SDL_Surface *surface,in + // why is this removed? should it not be done??? + glDeleteTextures(1,&texture); + } +-inline Real abs(Real v) {return v>0.0?v:-v;} + double mousePointerPhase=0.0; + + void tickMouse(Real td) { Added: head/games/trackballs/files/patch-src_menuMode.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/trackballs/files/patch-src_menuMode.cc Fri May 20 20:28:29 2016 (r415575) @@ -0,0 +1,10 @@ +--- src/menuMode.cc.orig 2007-04-07 13:16:26 UTC ++++ src/menuMode.cc +@@ -163,7 +163,6 @@ void MenuMode::doSelection() { + case MENU_EDITOR: GameMode::activate(EditMode::editMode); break; + } + } +-inline Real abs(Real v) {return v>0.0?v:-v;} + + void MenuMode::idle(Real td) { + int w,h,i,x,y;