With default config vlc fails to build as follows: gmake[4]: `libwav_plugin.so' is up to date. if c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/ports/multimedia/vlc/work/fake// usr/local/include -I/usr/ports/multimedia/vlc/work/vlc-0.8.6e/include -I/usr/loc al/include/speex -I/usr/local/include -I/usr/local/include -I/usr/local/ffmpeg -DHAVE_POSTPROC_POSTPROCESS_H -I/usr/local/include -DSYS_FREEBSD7_0 -I../../incl ude `top_builddir="../.." ../../vlc-config --cxxflags plugin mkv` -Wsign-compare -Wall -O2 -fno-strict-aliasing -pipe -march=prescott -pipe -MT libmkv_plugin_a- mkv.o -MD -MP -MF ".deps/libmkv_plugin_a-mkv.Tpo" -c -o libmkv_plugin_a-mkv.o `t est -f 'mkv.cpp' || echo './'`mkv.cpp; \ then mv -f ".deps/libmkv_plugin_a-mkv.Tpo" ".deps/libmkv_plugin_a-mkv.Po "; else rm -f ".deps/libmkv_plugin_a-mkv.Tpo"; exit 1; fi In file included from /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc/inpu t.h:43, from mkv.cpp:36: /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_input.h: In function 'void vlc_input_item_Clean(input_item_t*)': /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_input.h:165: warning: depr ecated conversion from string constant to 'char*' In file included from mkv.cpp:38: /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h: At global scope: /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:330: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:368: warning: depreca ted conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/codecs.h:368: warning: depreca ted conversion from string constant to 'char*' In file included from mkv.cpp:94: /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:99: warning: deprec ated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:99: warning: deprec ated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:99: warning: deprec ated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:99: warning: deprec ated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:99: warning: deprec ated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' /usr/ports/multimedia/vlc/work/vlc-0.8.6e/include/vlc_keys.h:189: warning: depre cated conversion from string constant to 'char*' mkv.cpp: In function 'int vlc_entry__0_8_6(module_t*)': mkv.cpp:393: warning: deprecated conversion from string constant to 'char*' mkv.cpp:393: warning: deprecated conversion from string constant to 'char*' mkv.cpp:393: warning: deprecated conversion from string constant to 'char*' mkv.cpp:393: warning: deprecated conversion from string constant to 'char*' mkv.cpp:394: warning: deprecated conversion from string constant to 'char*' mkv.cpp:396: warning: deprecated conversion from string constant to 'char*' mkv.cpp:401: warning: deprecated conversion from string constant to 'char*' mkv.cpp:401: warning: deprecated conversion from string constant to 'char*' mkv.cpp:401: warning: deprecated conversion from string constant to 'char*' mkv.cpp:405: warning: deprecated conversion from string constant to 'char*' mkv.cpp:405: warning: deprecated conversion from string constant to 'char*' mkv.cpp:405: warning: deprecated conversion from string constant to 'char*' mkv.cpp:409: warning: deprecated conversion from string constant to 'char*' mkv.cpp:409: warning: deprecated conversion from string constant to 'char*' mkv.cpp:409: warning: deprecated conversion from string constant to 'char*' mkv.cpp:413: warning: deprecated conversion from string constant to 'char*' mkv.cpp:413: warning: deprecated conversion from string constant to 'char*' mkv.cpp:413: warning: deprecated conversion from string constant to 'char*' mkv.cpp:417: warning: deprecated conversion from string constant to 'char*' mkv.cpp:417: warning: deprecated conversion from string constant to 'char*' mkv.cpp:417: warning: deprecated conversion from string constant to 'char*' mkv.cpp:421: warning: deprecated conversion from string constant to 'char*' mkv.cpp:422: warning: deprecated conversion from string constant to 'char*' mkv.cpp: In function 'void MkvTree(demux_t&, int, char*, ...)': mkv.cpp:490: warning: deprecated conversion from string constant to 'char*' mkv.cpp: In destructor 'virtual demux_sys_t::~demux_sys_t()': mkv.cpp:1336: warning: deprecated conversion from string constant to 'char*' mkv.cpp: In member function 'void demux_sys_t::StartUiThread()': mkv.cpp:2522: warning: deprecated conversion from string constant to 'char*' mkv.cpp:2522: warning: deprecated conversion from string constant to 'char*' mkv.cpp: In member function 'void demux_sys_t::StopUiThread()': mkv.cpp:2533: warning: deprecated conversion from string constant to 'char*' mkv.cpp: In static member function 'static int demux_sys_t::EventThread(vlc_obje ct_t*)': mkv.cpp:2898: warning: deprecated conversion from string constant to 'char*' mkv.cpp: In member function 'void matroska_segment_c::ParseTrackEntry(libmatrosk a::KaxTrackEntry*)': mkv.cpp:4099: warning: deprecated conversion from string constant to 'char*' mkv.cpp:4103: warning: deprecated conversion from string constant to 'char*' mkv.cpp:4107: warning: deprecated conversion from string constant to 'char*' mkv.cpp:4111: warning: deprecated conversion from string constant to 'char*' mkv.cpp:4115: warning: deprecated conversion from string constant to 'char*' mkv.cpp:4215: warning: deprecated conversion from string constant to 'char*' mkv.cpp:4226: warning: deprecated conversion from string constant to 'char*' mkv.cpp:4234: warning: deprecated conversion from string constant to 'char*' mkv.cpp:4239: warning: deprecated conversion from string constant to 'char*' mkv.cpp:4244: warning: deprecated conversion from string constant to 'char*' mkv.cpp:4249: warning: deprecated conversion from string constant to 'char*' mkv.cpp:4256: warning: deprecated conversion from string constant to 'char*' mkv.cpp:4271: warning: deprecated conversion from string constant to 'char*' mkv.cpp:4278: warning: deprecated conversion from string constant to 'char*' mkv.cpp:4285: warning: deprecated conversion from string constant to 'char*' mkv.cpp: In member function 'virtual bool dvd_chapter_codec_c::Enter()': mkv.cpp:5848: error: no matching function for call to 'min(size_t&, long long un signed int)' mkv.cpp: In member function 'virtual bool dvd_chapter_codec_c::Leave()': mkv.cpp:5871: error: no matching function for call to 'min(size_t&, long long un signed int)' gmake[4]: *** [libmkv_plugin_a-mkv.o] Error 1 gmake[4]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-0.8.6e/modules/d emux' gmake[3]: *** [all-modules] Error 1 gmake[3]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-0.8.6e/modules/d emux' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-0.8.6e/modules' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-0.8.6e' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/multimedia/vlc. *** Error code 1 Stop in /usr/ports/multimedia/vlc. cally:/usr/ports/multimedia/vlc# How-To-Repeat: portupgrade multimedia/vlc
Responsible Changed From-To: freebsd-ports-bugs->freebsd-multimedia Over to maintainer (via the GNATS Auto Assign Tool)
The actual build error here is the following: mkv.cpp: In member function 'virtual bool dvd_chapter_codec_c::Enter()': mkv.cpp:5848: error: no matching function for call to 'min(size_t&, long long unsigned int)' mkv.cpp: In member function 'virtual bool dvd_chapter_codec_c::Leave()': mkv.cpp:5871: error: no matching function for call to 'min(size_t&, long long unsigned int)' I see this on FreeBSD 5.5 as well. This occurs because there's a call to min (which is a template function) taking arguments of type size_t and uint64_t, and min<size_t> and min<unsigned long long> are equally good resolutions of that template. The following patch file (added as, e.g. multimedia/vlc/files/patch-modules_demux_mkv.cpp) fixes the problem by making the choice of template instantiation explicit. --- modules/demux/mkv.cpp.orig Sun Feb 24 14:01:53 2008 +++ modules/demux/mkv.cpp Wed Mar 19 11:45:02 2008 @@ -5845,7 +5845,7 @@ bool dvd_chapter_codec_c::Enter() binary *p_data = (*index)->GetBuffer(); size_t i_size = *p_data++; // avoid reading too much from the buffer - i_size = min( i_size, ((*index)->GetSize() - 1) >> 3 ); + i_size = min<size_t>( i_size, ((*index)->GetSize() - 1) >> 3 ); for ( ; i_size > 0; i_size--, p_data += 8 ) { msg_Dbg( &sys.demuxer, "Matroska DVD enter command" ); @@ -5868,7 +5868,7 @@ bool dvd_chapter_codec_c::Leave() binary *p_data = (*index)->GetBuffer(); size_t i_size = *p_data++; // avoid reading too much from the buffer - i_size = min( i_size, ((*index)->GetSize() - 1) >> 3 ); + i_size = min<size_t>( i_size, ((*index)->GetSize() - 1) >> 3 ); for ( ; i_size > 0; i_size--, p_data += 8 ) { msg_Dbg( &sys.demuxer, "Matroska DVD leave command" ); -- Jonathan Lennox lennox@cs.columbia.edu
ahze 2008-03-19 17:22:37 UTC FreeBSD ports repository Added files: multimedia/vlc/files patch-modules_demux_mkv.cpp Log: Fix build with new libebml PR: ports/121707 Reported by: Howard Goldstein <hg@cally.queue.to> Submitted by: Jonathan Lennox <lennox@cs.columbia.edu> Revision Changes Path 1.1 +20 -0 ports/multimedia/vlc/files/patch-modules_demux_mkv.cpp (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fixed, Thanks!