Can't build media-sound/esound-0.2.32-r1 on my gentoo-1.2 box. The problem is in esound-0.2.32-new-alsa.patch - I have attached a fixed version. gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -m cpu=i686 -O3 -pipe -Werror -c esd_config.c -fPIC -o .libs/esd_config.o gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" - mcpu=i686 -O3 -pipe -Werror -c esd_config.c -o esd_config.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/et c/esd\" -DSERVERDIR=\"/usr/bin\" -mcpu=i686 -O3 -pipe -Werror -c audio.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -mcpu=i686 -O3 -pipe -Werror -c audio.c -fPIC -o .libs/audio.o In file included from audio.c:27: audio_alsa09.c: In function `initAlsa': audio_alsa09.c:142: parse error before `int' audio_alsa09.c:144: `t_speed' undeclared (first use in this function) audio_alsa09.c:144: (Each undeclared identifier is reported only once audio_alsa09.c:144: for each function it appears in.) audio_alsa09.c:144: `t_dir' undeclared (first use in this function) audio_alsa09.c:191: parse error before `t_bufsize' audio_alsa09.c:192: `t_bufsize' undeclared (first use in this function) audio_alsa09.c:192: `t_bufsize' undeclared (first use in this function) make[2]: *** [audio.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/esound-0.2.32-r1/work/esound-0.2.32' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/esound-0.2.32-r1/work/esound-0.2.32' make: *** [all-recursive-am] Error 2 !!! ERROR: media-sound/esound-0.2.32-r1 failed. !!! Function src_compile, Line 37, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50_pre21 (default-1.0, gcc-2.95.3, glibc-2.2.5-r9, 2.4.24) ============================================================== === System uname: 2.4.24 i686 Transmeta(tm) Crusoe(tm) Processor TM5800 Gentoo Base System version 1.4.3.12 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=i686 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/c onfig /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=i686 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest sandbox strict" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/dist ributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X X509 aalib alsa apache2 apm avi berkdb bonobo cdr crypt cups curses dga dvd ema cs encode esd ethereal evo fbcon foomaticdb gdbm gif gnome-libs gpm gtk gtk2 gtkhtml g uile imap imlib java jpeg lcms ldap libg++ libwww mmx motif mpeg mysql nas ncurses odb c oggvorbis oss pam pcmcia pda pdflib perl pic plotutils png pnp python quicktime read line samba sdl skey slang smooth snmp spell ssl stroke svga tcltk tcpd tetex tiff true type trusted usb vim-with-x x86 xml xml2 xmms xv zlib"
Created attachment 24808 [details, diff] esound-0.2.32-new-alsa.patch that builds with gcc-2.95
fixed in cvs, thanks