FreeBSD Bugzilla – Attachment 169442 Details for
Bug 208842
games/kuklomenos: Fix build with libc++ 3.8.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix argument type for max() in games/kuklomenos
games__kuklomenos-fix-max-2.diff (text/plain), 964 bytes, created by
Dimitry Andric
on 2016-04-18 16:42:02 UTC
(
hide
)
Description:
Fix argument type for max() in games/kuklomenos
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2016-04-18 16:42:02 UTC
Size:
964 bytes
patch
obsolete
>Index: games/kuklomenos/files/patch-node.cc >=================================================================== >--- games/kuklomenos/files/patch-node.cc (nonexistent) >+++ games/kuklomenos/files/patch-node.cc (working copy) >@@ -0,0 +1,11 @@ >+--- node.cc.orig 2009-10-04 14:01:21 UTC >++++ node.cc >+@@ -175,7 +175,7 @@ Uint32 Node::colour() const >+ { >+ intensity = (status == NODEST_NONE ? 0x80 : 0xbf); >+ intensity += int( (0xff - intensity) * >+- std::max(0.0, 1 - ( fabs(angleDiff(spin*3, 0)) * 2 )) ); >++ std::max(0.0f, 1 - ( fabsf(angleDiff(spin*3, 0)) * 2 )) ); >+ } >+ } >+ else > >Property changes on: games/kuklomenos/files/patch-node.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 208842
:
169379
| 169442