[ 72%] Building CXX object src/highgui/CMakeFiles/highgui.dir/cvcap_ffmpeg.o cc1plus: warning: /var/tmp/portage/media-libs/opencv-2.0.0-r1/work/OpenCV-2.0.0_build/src/highgui/_highgui.h.gch/highgui_Gentoo.gch: not used because `NDEBUG' is defined In file included from /usr/include/libavutil/avutil.h:81:0, from /usr/include/libavcodec/avcodec.h:30, from /usr/include/libavformat/avformat.h:56, from /var/tmp/portage/media-libs/opencv-2.0.0-r1/work/OpenCV-2.0.0/src/highgui/cvcap_ffmpeg.cpp:97: /usr/include/libavutil/common.h: In function ‘int32_t av_clipl_int32(int64_t)’: /usr/include/libavutil/common.h:154:47: error: ‘UINT64_C’ was not declared in this scope /var/tmp/portage/media-libs/opencv-2.0.0-r1/work/OpenCV-2.0.0/src/highgui/cvcap_ffmpeg.cpp: In member function ‘virtual bool CvCapture_FFMPEG::grabFrame()’: /var/tmp/portage/media-libs/opencv-2.0.0-r1/work/OpenCV-2.0.0/src/highgui/cvcap_ffmpeg.cpp:546:9: warning: ‘int avcodec_decode_video(AVCodecContext*, AVFrame*, int*, const uint8_t*, int)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3452) easy fix: append-flags -D__STDC_CONSTANT_MACROS (UINT64_C isnt standard in C++ unless this macro is defined, and ffmpeg headers require it)
+ 16 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> + opencv-2.0.0-r1.ebuild: + Fix building with FFmpeg >= 0.6 wrt #324259 by Alexis Ballier.