FreeBSD Bugzilla – Attachment 170451 Details for
Bug 209612
games/trackballs: Fix build with libc++ 3.8.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove hand-rolled abs functions from games/trackballs
games__trackballs-fix-abs-1.diff (text/plain), 1.84 KB, created by
Dimitry Andric
on 2016-05-18 15:55:42 UTC
(
hide
)
Description:
Remove hand-rolled abs functions from games/trackballs
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2016-05-18 15:55:42 UTC
Size:
1.84 KB
patch
obsolete
>Index: games/trackballs/files/patch-src_glHelp.cc >=================================================================== >--- games/trackballs/files/patch-src_glHelp.cc (nonexistent) >+++ games/trackballs/files/patch-src_glHelp.cc (working copy) >@@ -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) { > >Property changes on: games/trackballs/files/patch-src_glHelp.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: games/trackballs/files/patch-src_menuMode.cc >=================================================================== >--- games/trackballs/files/patch-src_menuMode.cc (nonexistent) >+++ games/trackballs/files/patch-src_menuMode.cc (working copy) >@@ -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; > >Property changes on: games/trackballs/files/patch-src_menuMode.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 209612
: 170451