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

Bug 200767

Summary: [PATCH] media-video/mjpegtools-1.8.0-r1 fails to compile with uclibc++ / GCC 4.3
Product: Gentoo Linux Reporter: Natanael Copa <natanael.copa>
Component: New packagesAssignee: media-video herd <media-video>
Severity: normal CC: 1i5t5.duncan, embedded, impulze, jkt, media-tv, rhill
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: mjpegtools-1.8.0-limits.h.patch

Description Natanael Copa 2007-11-29 20:04:52 UTC
g++-uc -DHAVE_CONFIG_H -I. -I.. -I.. -I../utils -Os -pipe -mno-sse2 -fno-strict-aliasing -pthread -MT motionest.lo -MD -MP -MF .deps/motionest.Tpo -c  -fPIC -DPIC -o .libs/motionest.o In member function `void MacroBlock::SelectCodingModeOnVariance()': error: `INT_MAX' was not declared in this scope
Comment 1 Natanael Copa 2007-11-29 20:05:47 UTC
Created attachment 137345 [details, diff]

fixes the issue
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2008-03-09 04:20:43 UTC
Created attachment 145622 [details, diff]

We need this for GCC 4.3 too.  This is the same patch against 1.9.0_rc3 plus a couple additional missing headers and fix for this error:

SkipList.hh:60: error: declaration of 'typedef class Allocator<SkipList<KEY, VALUE, KEYFN, PRED>::Node, SkipList<KEY, VALUE, KEYFN, PRED>::HEADERCHUNK> SkipList<KEY, VALUE, KEYFN, PRED>::Allocator'
Allocator.hh:18: error: changes meaning of 'Allocator' from 'class Allocator<SkipList<KEY, VALUE, KEYFN, PRED>::Node, SkipList<KEY, VALUE, KEYFN, PRED>::HEADERCHUNK>'
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-03-28 10:25:48 UTC
*** Bug 215156 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2008-04-20 08:02:06 UTC
added patch to 1.9.0_rc3