| Bug#: 200767 | Product: Gentoo Linux | Version: unspecified | Platform: All |
| OS/Version: Linux | Status: RESOLVED | Severity: normal | Priority: P2 |
| Resolution: FIXED | Assigned To: media-video@gentoo.org | Reported By: natanael.copa@gmail.com | |
| Component: Ebuilds | |||
| URL: http://sourceforge.net/tracker/index.php?func=detail&aid=1947059&group_id=5776&atid=305776 | |||
| Summary: [PATCH] media-video/mjpegtools-1.8.0-r1 fails to compile with uclibc++ / GCC 4.3 | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2007-11-29 20:04 0000 | |||
| Description: | Opened: 2007-11-29 20:04 0000 |
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 motionest.cc -fPIC -DPIC -o .libs/motionest.o macroblock.cc: In member function `void MacroBlock::SelectCodingModeOnVariance()': macroblock.cc:52: error: `INT_MAX' was not declared in this scope
Created an attachment (id=137345) [details]
mjpegtools-1.8.0-limits.h.patch
fixes the issue
Created an attachment (id=145622) [details]
mjpegtools-1.9.0_rc3-gcc-4.3.patch
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>'
*** Bug 215156 has been marked as a duplicate of this bug. ***