Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 328220 Details for
Bug 440742
games-strategy/wesnoth-1.10.4: fails to build with dev-libs/boost-1.51
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for wesnoth compilation error when boost 1.51.0 is used
wesnoth-1.10.4_boost-1.51.0_fix.patch (text/plain), 541 bytes, created by
Nils Kneuper
on 2012-11-03 15:25:49 UTC
(
hide
)
Description:
fix for wesnoth compilation error when boost 1.51.0 is used
Filename:
MIME Type:
Creator:
Nils Kneuper
Created:
2012-11-03 15:25:49 UTC
Size:
541 bytes
patch
obsolete
>--- branches/1.10/src/image.cpp 2012/11/03 15:08:51 55641 >+++ branches/1.10/src/image.cpp 2012/11/03 15:22:21 55642 >@@ -349,7 +349,11 @@ > using boost::hash_value; > using boost::hash_combine; > >- size_t hash = hash_value(val.type_); >+ /* >+ * Boost 1.51.0 seems not longer accept an enumerate value in its hash >+ * function so cast it to a type it does like. >+ */ >+ size_t hash = hash_value(static_cast<unsigned>(val.type_)); > if (val.type_ == locator::FILE || val.type_ == locator::SUB_FILE) { > hash_combine(hash, val.filename_); > }
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 440742
: 328220