with "win32codecs" use enabled build fails with: ===== dmo.c: In function 'DecOpen': dmo.c:549:62: error: 'BI_RGB' undeclared (first use in this function) dmo.c:549:62: note: each undeclared identifier is reported only once for each function it appears in make[6]: *** [libdmo_plugin_la-dmo.lo] Error 1 ===== Arch/keyword independed Reproducible: Always
Created attachment 326900 [details] build.log
Created attachment 326938 [details, diff] 2.0.4 compile fix This fixes 2.0.4 compilation error.
Created attachment 326940 [details, diff] ebuild which uses compile fix patch for 2.0.4
works for me but copypaste from vlc-2.0.4/modules/video_filter/atmo/AtmoDefs.h != hack???
(In reply to comment #4) > works for me > but copypaste from vlc-2.0.4/modules/video_filter/atmo/AtmoDefs.h != hack??? Yes, u r right - that's a hack, but we have temporary solution. I think, we have to wait for upstream to get more elegant fix.
Works for me, too.
CPPFLAGS=-DBI_RGB=0L emerge -1v vlc worked for me. No need to apply any patches or update the ebuild.
*** Bug 443496 has been marked as a duplicate of this bug. ***
(In reply to comment #8) > *** Bug 443496 has been marked as a duplicate of this bug. *** Correct patch here (with the intended ifdef): http://git.videolan.org/?p=vlc.git;a=blobdiff;f=modules/codec/dmo/dmo.c;h=4f5f3fc67195126e37e1fc2785a5e8d274181b77;hp=23292b8519bd2996dcb4b58c8565096b6b21c155;hb=5444f9a081fa5cf74b49d4f40e13ea0675d115f5;hpb=6d65b58226d2506e0ee99dfcc3b0cc24db650d8c
*** Bug 443626 has been marked as a duplicate of this bug. ***
(In reply to comment #9) > (In reply to comment #8) > > *** Bug 443496 has been marked as a duplicate of this bug. *** > > Correct patch here (with the intended ifdef): > > http://git.videolan.org/?p=vlc.git;a=blobdiff;f=modules/codec/dmo/dmo.c; > h=4f5f3fc67195126e37e1fc2785a5e8d274181b77; > hp=23292b8519bd2996dcb4b58c8565096b6b21c155; > hb=5444f9a081fa5cf74b49d4f40e13ea0675d115f5; > hpb=6d65b58226d2506e0ee99dfcc3b0cc24db650d8c That fixed it for me. I've gone ahead and added the patch to the ebuild in cvs.