Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 229039

Summary: media-libs/libgig fails to build (patch)
Product: Gentoo Linux Reporter: Olivier Huber <oli.huber>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: patch proposal

Description Olivier Huber 2008-06-23 12:36:26 UTC
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pedantic -Wreturn-type -O2 -march=pentium-m -pipe -MT RIFF.lo -MD -MP -MF .deps/RIFF.Tpo -c RIFF.cpp  -fPIC -DPIC -o .libs/RIFF.o
RIFF.cpp: In member function 'void RIFF::List::MoveSubChunk(RIFF::Chunk*, RIFF::Chunk*)':
RIFF.cpp:1172: error: no matching function for call to 'find(std::_List_iterator<RIFF::Chunk*>, std::_List_iterator<RIFF::Chunk*>, RIFF::Chunk*&)'

I google a little bit, and I thing this find call refers to http://www.cplusplus.com/reference/algorithm/find.html 
So I patch a header to include algorithm and it builds fine
Comment 1 Olivier Huber 2008-06-23 12:37:57 UTC
Created attachment 158105 [details, diff]
patch proposal
Comment 2 Alexis Ballier gentoo-dev 2008-06-25 17:08:27 UTC
applied, thanks a lot!

please don't forget to mail it upstream so that everyone can benefit from it.