svn commit: r415575 - head/games/trackballs/files
Ganael LAPLANCHE
martymac at FreeBSD.org
Fri May 20 20:28:31 UTC 2016
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;
More information about the svn-ports-all
mailing list