Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 424386 Details for
Bug 566080
media-libs/opencv-3.0.0 profile=hardened fails with error: no matching function for call to ‘min(unsigned int, long unsigned int)’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for opencv-3.0.0
opencv-3.0.0-min.patch (text/plain), 2.12 KB, created by
Andrew
on 2016-02-01 06:55:54 UTC
(
hide
)
Description:
Patch for opencv-3.0.0
Filename:
MIME Type:
Creator:
Andrew
Created:
2016-02-01 06:55:54 UTC
Size:
2.12 KB
patch
obsolete
>--- modules/cvv/src/view/linematchview.cpp.orig 2016-02-01 16:30:48.569145679 +1000 >+++ modules/cvv/src/view/linematchview.cpp 2016-02-01 16:30:48.562145679 +1000 >@@ -45,8 +45,8 @@ > qtutil::MatchScene *matchscene_ptr = matchscene.get(); > int updateAreaDelay=std::min(std::max(matches.size(), > std::max(leftKeyPoints.size(), >- rightKeyPoints.size()))/10,50lu); >- matchscene_ptr->getLeftImage().setUpdateAreaDelay(updateAreaDelay); >+ rightKeyPoints.size()))/(std::size_t)10,(std::size_t)50); >+ matchscene_ptr->getLeftImage().setUpdateAreaDelay(updateAreaDelay); > matchscene_ptr->getRightImage().setUpdateAreaDelay(updateAreaDelay); > > matchManagment_ = matchmnt.get(); >--- modules/cvv/src/view/pointmatchview.cpp.orig 2016-02-01 16:30:48.569145679 +1000 >+++ modules/cvv/src/view/pointmatchview.cpp 2016-02-01 16:30:48.562145679 +1000 >@@ -30,7 +30,7 @@ > auto matchmnt = util::make_unique<qtutil::MatchManagement>(matches); > > qtutil::MatchScene *matchscene_ptr = matchscene.get(); >- int updateAreaDelay=std::min(std::max(matches.size(),std::max(leftKeyPoints.size(),rightKeyPoints.size()))/10,50lu); >+ int updateAreaDelay=std::min(std::max(matches.size(),std::max(leftKeyPoints.size(),rightKeyPoints.size()))/(std::size_t)10,(std::size_t)50); > matchscene_ptr->getLeftImage().setUpdateAreaDelay(updateAreaDelay); > matchscene_ptr->getRightImage().setUpdateAreaDelay(updateAreaDelay); > >--- modules/cvv/src/view/translationsmatchview.cpp.orig 2016-02-01 16:30:48.570145679 +1000 >+++ modules/cvv/src/view/translationsmatchview.cpp 2016-02-01 16:30:48.563145679 +1000 >@@ -39,7 +39,7 @@ > auto keyPointmnt = util::make_unique<qtutil::KeyPointManagement>(allkeypoints); > > qtutil::MatchScene *matchscene_ptr = matchscene.get(); >- int updateAreaDelay=std::min(std::max(matches.size(),std::max(leftKeyPoints.size(),rightKeyPoints.size()))/10,50lu); >+ int updateAreaDelay=std::min(std::max(matches.size(),std::max(leftKeyPoints.size(),rightKeyPoints.size()))/(std::size_t)10,(std::size_t)50); > matchscene_ptr->getLeftImage().setUpdateAreaDelay(updateAreaDelay); > matchscene_ptr->getRightImage().setUpdateAreaDelay(updateAreaDelay); >
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 566080
:
417246
|
424384
| 424386