Emerging media-tv/xawdecode-1.9.0 fails with the errors: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../alevt -Wall -D_REENTRANT -O4 -march=athlon-4 -mcpu=athlon-4 -fstrength-reduce -frerun-loop-opt -fexpensive-optimizations -fschedule-insns2 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -pipe -falign-loops=2 -falign-functions=2 -ffast-math -I/usr/X11R6/include -march=athlon-xp -fomit-frame-pointer -pipe -I/usr/X11R6/include -Wall -I/usr/include -DPREFIX='"/usr"' -D_LARGEFILE64_SOURCE -c divx_ui.c divx.c: In function `divx_init': divx.c:824: error: `Motion_Est_QTab' undeclared (first use in this function) divx.c:824: error: (Each undeclared identifier is reported only once divx.c:824: error: for each function it appears in.) make[2]: *** [divx.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/xawdecode-1.9.0/work/xawdecode-1.9.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xawdecode-1.9.0/work/xawdecode-1.9.0' make: *** [all-recursive-am] Error 2 Reproducible: Always Steps to Reproduce: 1. 2. 3. Gentoo Base System version 1.4.3.13p1 Portage 2.0.50-r3 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.4.26_pre6-gentoo) ================================================================= System uname: 2.4.26_pre6-gentoo i686 AMD Athlon(tm) XP 2000+ Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d aalib acl acpi alsa apm arts avi berkdb bonobo cdr crypt cups emacs-w3 encode esd faad fbcon ffmpeg flac foomaticdb gdbm gif glut gnome gpm gtk gtk2 gtkhtml guile imap imlib java javascript jpeg kde libg++ libwww lirc mad mbox md5sum mikmod mmx motif mozilla mpeg ncurses nls nntp oggvorbis opengl oss pam pdflib perl png python qt quicktime readline rplay samba sdl slang spell sse ssl stroke svga tcltk tcpd tetex tiff truetype x86 xml2 xmms xosd xv xvid zlib"
Created attachment 29355 [details, diff] files/xawdecode-1.9.0--ffmpeg-cvs.patch 'Motion_Est_QTab' disappeared from avcodec.h in >=ffmpeg-0.4.8.20040222. The attached patch from xawdecode upstream takes care of this. Apply with something like this in the ebuild: src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/xawdecode-1.9.0--ffmpeg-cvs.patch }
Created attachment 35967 [details, diff] same patch but renamed this patch is used by the new xawdecode-1.9.0.ebuild which is attached too.
Created attachment 35969 [details] new ebuild using xawdecode-1.9.0-ffmpeg-cvs.patch you just need to put xawdecode-1.9.0-ffmpeg-cvs.patch in your XXX/media-tv/xawdecode/files/ and xawdecode-1.9.0.ebuild in XXX/media-tv/xawdecode/ after do ebuild XXX/media-tv/xawdecode/xawdecode-1.9.0.ebuild digest
Comment on attachment 35967 [details, diff] same patch but renamed this patch is used by the new xawdecode-1.9.0.ebuild which is attached too here <a href="attachment.cgi?id=35969&action=view" class="" title="new ebuild using xawdecode-1.9.0-ffmpeg-cvs.patch">Created an attachment (id=35969)</a>
sorry I loose on my last answer #4, but i don't know howto to delete it
shameless advertisement: Another option to fix that bug would be to commit the 1.9.1 or 1.9.2 ebuilds that are waiting since quite some time in bug #48129. They would fix various other bugs (the most important one being xvid support), add cool features, bring you success with girls, etc.
xawdecode is no more in portage.