Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 392340 Details for
Bug 533444
sci-visualization/paraview-4.2.0 - fails with media-libs/freetype-2.5.4-r1 - vtkFreeTypeTools.cxx:1189:51: error: no matching function for call to ‘min(unsigned int&, int&)’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
vtkFreeTypeTools.cxx.diff
vtkFreeTypeTools.cxx.diff (text/plain), 1.13 KB, created by
Juergen Rose
on 2014-12-24 21:40:04 UTC
(
hide
)
Description:
vtkFreeTypeTools.cxx.diff
Filename:
MIME Type:
Creator:
Juergen Rose
Created:
2014-12-24 21:40:04 UTC
Size:
1.13 KB
patch
obsolete
>--- a/ParaView-v4.2.0-source/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx_orig 2014-12-23 09:25:35.000000000 +0100 >+++ b/ParaView-v4.2.0-source/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx 2014-12-24 09:40:31.886953389 +0100 >@@ -1185,7 +1185,7 @@ > if (bitmap) > { > metaData.ascent = std::max(bitmapGlyph->top - 1, metaData.ascent); >- metaData.descent = std::min(-(bitmap->rows - (bitmapGlyph->top - 1)), >+ metaData.descent = std::min(-(static_cast<int>(bitmap->rows) - (bitmapGlyph->top - 1)), > metaData.descent); > } > ++heightString; >@@ -1952,8 +1952,8 @@ > if (bitmap) > { > bbox[0] = std::min(bbox[0], pen[0] + bitmapGlyph->left); >- bbox[1] = std::max(bbox[1], pen[0] + bitmapGlyph->left + bitmap->width); >- bbox[2] = std::min(bbox[2], pen[1] + bitmapGlyph->top - 1 - bitmap->rows); >+ bbox[1] = std::max(bbox[1], pen[0] + bitmapGlyph->left + static_cast<int>(bitmap->width)); >+ bbox[2] = std::min(bbox[2], pen[1] + bitmapGlyph->top - 1 - static_cast<int>(bitmap->rows)); > bbox[3] = std::max(bbox[3], pen[1] + bitmapGlyph->top - 1); > } > else
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 533444
:
392312
|
392322
| 392340 |
392734