Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183687 - media-video/ffmpeg-0.4.9_p20070616-r1 fails - undefined reference to yuv2rgb_altivec_init_tables in libswscale
Summary: media-video/ffmpeg-0.4.9_p20070616-r1 fails - undefined reference to yuv2rgb_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-29 22:25 UTC by Laurent G.
Modified: 2007-07-07 20:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Portage log file with errore (build.log,720.21 KB, text/plain)
2007-07-01 09:52 UTC, Tharrrk
Details
patch to rename (ffmpeg-0.4.9_p20070616-libswscale-HAVE_ALTIVEC.patch,377 bytes, patch)
2007-07-07 20:22 UTC, hiyuh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent G. 2007-06-29 22:25:25 UTC
I tried both with gcc-4.1.2 and gcc-3.4.6 and got this :
(I rerun make with language set to en_US for easy reading for most of you)

make[1]: Leaving directory `/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616-r1/work/ffmpeg/libswscale'
powerpc-unknown-linux-gnu-gcc -L"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616-r1/work/ffmpeg"/libavformat -L"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616-r1/work/ffmpeg"/libavcodec -L"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616-r1/work/ffmpeg"/libavutil -pthread -rdynamic -export-dynamic -Wl,--warn-common -Wl,--as-needed -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616-r1/work/ffmpeg"/libavcodec -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616-r1/work/ffmpeg"/libavformat -Wl,-rpath-link,"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616-r1/work/ffmpeg"/libavutil -g -L"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616-r1/work/ffmpeg"/libswscale -o ffmpeg_g ffmpeg.o cmdutils.o -lavformat -lavcodec -lavutil -lm -lz -la52 -lmp3lame -lm -ltheora -logg -lvorbis -lvorbisenc -logg -logg -ldl    -lX11 -lXext -lswscale
/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616-r1/work/ffmpeg/libswscale/libswscale.so: undefined reference to `yuv2rgb_altivec_init_tables'
/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616-r1/work/ffmpeg/libswscale/libswscale.so: undefined reference to `yuv2rgb_init_altivec'
/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616-r1/work/ffmpeg/libswscale/libswscale.so: undefined reference to `altivec_yuv2packedX'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1


Reproducible: Always




Portage 2.1.3_rc6 (default-linux/ppc/ppc32/2006.1, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r5-l2 ppc)
=================================================================
System uname: 2.6.20-gentoo-r5-l2 ppc 7447A, altivec supported
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 29 Jun 2007 20:00:01 +0000
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.6, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo http://mirror.uni-c.dk/pub/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ ftp://ftp.du.se/pub/os/gentoo ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="fr_FR.UTF8"
LC_ALL="fr_FR.UTF8"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 alsa altivec apache2 arts berkdb bitmap-fonts bonobo branding cdr cli cracklib crypt cscope cups dba dri dvd eds emboss encode esd fbcon firefox flac flash fortran gb gcj gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml iconv ipv6 isdnlog java jikes jpeg kde kdehiddenvisibility ldap libg++ libwww mad midi mikmod mng mozdevelop mozsvg mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin objc ogg oggvorbis opengl openmp pam pcre pdf pdflib perl png povray ppc ppds pppd python qt qt3 qt4 quicktime readline reflection ruby samba scanner sdl session spell spl ssl svg tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb vorbis wmf xine xinerama xml xml2 xorg xosd xprint xv zlib" ALSA_CARDS="snd-aoa" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" USERLAND="GNU" VIDEO_CARDS="ati fbdev radeon r128"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tharrrk 2007-07-01 09:51:06 UTC
Same problem for me on PowerBook G4.
Attaching log file.

g4 tharrrk # emerge --info
Portage 2.1.3_rc6 (default-linux/ppc/ppc32/2007.0/G4, gcc-4.1.2, glibc-2.5-r3, 2.6.21-ck2 ppc)
=================================================================
System uname: 2.6.21-ck2 ppc 7447A, altivec supported
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 01 Jul 2007 08:00:01 +0000
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O4 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O4 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en cs"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl aiglx alsa altivec amr arts audiofile berkdb bitmap-fonts branding cddb cdparanoia cli cracklib crypt cups dbus directfb divx dmx dri dts dv dvb dvd dvdnav dvdr dvdread emovix encode fbcon ffmpeg firefox flac fortran ftp gdbm gif glib glitz gmedia gpm gstreamer gtk hal hfs iconv ieee1394 isdnlog jpeg kde libcaca libg++ logitech-mouse lzo mad midi mjpeg mng mp2 mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pcre perl png pnm ppc ppds pppd python qt3 qt3support qt4 quicktime radio readline realmedia reflection rtc session slang sndfile speex spl ssl svg sysfs tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode v4l v4l2 vcd vorbis wmp x264 xcomposite xinerama xorg xv xvid zlib" ALSA_CARDS="powermac aoa aoa-soundbus aoa-soundbus-i2s aoa-fabric-layout aoa-onyx aoa-toonie aoa-tas" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="synaptics mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs" USERLAND="GNU" VIDEO_CARDS="nv v4l none fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
 
Comment 2 Tharrrk 2007-07-01 09:52:23 UTC
Created attachment 123518 [details]
Portage log file with errore
Comment 3 lordcris 2007-07-01 22:54:00 UTC
same here.

Portage 2.1.3_rc6 (default-linux/ppc/2005.1/ppc/G4, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r3 ppc)
=================================================================
System uname: 2.6.21-gentoo-r3 ppc 7447A, altivec supported
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 01 Jul 2007 18:30:01 +0000
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.6-r2, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7450"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -mcpu=7450"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="ftp://mirrors.ludost.net/gentoo/ http://ftp.romnet.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.gentoo.bg/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/r300-driver /usr/local/layman/xeffects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aiglx alsa altivec asf audiofile bash-completion berkdb beryl bitmap-fonts browserplugin bzip2 cairo cdda cddb cdparanoia cdr cli cpudetection cracklib crypt css cups dbus dga dhcp divx divx4linux dri dts dvb dvd dvdr dvdread eds emboss encode faac fbcon fbdev ffmpeg firefox flac fortran gdbm gif glitz gphoto2 gpm gstreamer gtk gtk2 iconv icq imlib ipv6 isdnlog ithreads java javacomm jpeg kde kdexdeltas kickoff libwww live mad matroska midi motif mozbranding mozdevelop mp3 mpeg mudflap musepack musicbrainz nas ncurses network nls nptl nptlonly nsplugin nsplugins nxclient offensive ogg oggvorbis opengl openmp openntpd oss pam parse-clocks pci pcre perl png ppc pppd python qt3 qt3support qt4 quicktime readline reflection rtc samba session sheep softmmu spell spl ssl stream symlink tcpd truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd vorbis wma wxwindows x264 xanim xml2 xorg xv xvid zlib" ALSA_CARDS="powermac" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon ati"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Neil Bothwick 2007-07-02 08:53:08 UTC
I get the same on my G4 iBook.

Portage 2.1.3_rc6 (default-linux/ppc/ppc32/2007.0/desktop/G4, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r3 ppc)
=================================================================
System uname: 2.6.21-gentoo-r3 ppc 7447A, altivec supported
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 02 Jul 2007 04:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-Os -pipe -mtune=7400 -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -pipe -mtune=7400 -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer"
DISTDIR="/mnt/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="ftp://gentoo.digimed.co.uk/ http://pandemonium.tiscali.de/pub/gentoo/"
LANG="en_GB"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/mnt/portage/packages/krikkit"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/mnt/scratch"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/portage/layman/sunrise /mnt/portage/local"
SYNC="rsync://desiato/gentoo"
USE="X a52 aac acl alsa altivec audiofile bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt cups curl dbus dri dv dvb dvd dvdread emboss encode exif fam ffmpeg firefox flac foomaticdb gdbm gif gimp glsa gphoto2 gpm gtk hal iconv ieee1394 imagemagick imlib isdnlog java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility libg++ mad midi mng mono mp3 mpeg mplayer mudflap musicbrainz mysql ncurses nptl nptlonly offensive ogg opengl openmp pcre pdf png ppc ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session slp speex spell spl ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vhosts vorbis wifi x264 xml xorg xscreensaver xv xvid zlib zsh-completion" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon nikon" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Neil Bothwick 2007-07-02 09:44:33 UTC
Building with USE="-altivec" avoids the error and it then compiles.
Comment 6 Joe Jezak (RETIRED) gentoo-dev 2007-07-04 19:16:28 UTC
Looks like a typo in the Makefile, libswscale/Makefile, line 15, TARGET_ALTIVEC should be changed to ENABLE_ALTIVEC or HAVE_ALTIVEC.
Comment 7 hiyuh 2007-07-07 20:19:42 UTC
(In reply to comment #6)
> Looks like a typo in the Makefile, libswscale/Makefile, line 15, TARGET_ALTIVEC
> should be changed to ENABLE_ALTIVEC or HAVE_ALTIVEC.

To rename TARGET_ALTIVEC to HAVE_ALTIVEC makes it compile successfully for me. 
Comment 8 hiyuh 2007-07-07 20:22:21 UTC
Created attachment 124173 [details, diff]
patch to rename

Or add
 sed -i -e "s:TARGET_ALTIVEC:HAVE_ALTIVEC:" ${S}/libswscale/Makefile
to the ebuild FTW... :)
Comment 9 hiyuh 2007-07-07 20:40:52 UTC
FYI, to rename ENABLE_ALTIVEC does not work.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2007-07-07 20:59:30 UTC
Other Makefiles use HAVE_ also, and based on #ifdefs in swscale.c HAVE_ is correct. I've committed it in tree.

Thanks!