Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229039 - media-libs/libgig fails to build (patch)
Summary: media-libs/libgig fails to build (patch)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-06-23 12:36 UTC by Olivier Huber
Modified: 2008-06-25 17:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch proposal (libgig-gcc-4.3.patch,339 bytes, patch)
2008-06-23 12:37 UTC, Olivier Huber
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.