FreeBSD Bugzilla – Attachment 169381 Details for
Bug 208844
graphics/gource: 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 graphics/gource
graphics__gource-fix-max-1.diff (text/plain), 1.10 KB, created by
Dimitry Andric
on 2016-04-16 20:49:37 UTC
(
hide
)
Description:
Fix argument type for max() in graphics/gource
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2016-04-16 20:49:37 UTC
Size:
1.10 KB
patch
obsolete
>Index: graphics/gource/files/patch-src_dirnode.cpp >=================================================================== >--- graphics/gource/files/patch-src_dirnode.cpp (nonexistent) >+++ graphics/gource/files/patch-src_dirnode.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- src/dirnode.cpp.orig 2014-10-16 02:23:22 UTC >++++ src/dirnode.cpp >+@@ -582,7 +582,7 @@ void RDirNode::calcRadius() { >+ //this->dir_radius_sqrt = sqrt(dir_radius); //dir_radius_sqrt is not used >+ >+ // this->parent_radius = std::max(1.0, parent_circ / PI); >+- this->parent_radius = std::max(1.0, sqrt(total_file_area) * gGourceDirPadding); >++ this->parent_radius = std::max(1.0f, (float)sqrt(total_file_area) * gGourceDirPadding); >+ } >+ >+ float RDirNode::distanceToParent() const{ > >Property changes on: graphics/gource/files/patch-src_dirnode.cpp >___________________________________________________________________ >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 208844
: 169381