make[1]: Entering directory `/mnt/portage/tmp/portage/eject-2.0.13-r2/work/eject-2.0.13' gcc -DPACKAGE=\"eject\" -DVERSION=\"2.0.13\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -I. -I. -DDEFAULTDEVICE=\"cdrom\" -DGETOPTLONG -Wall -march=i686 -O3 -pipe -c eject.c eject.c: In function `main': eject.c:994: parse error before `struct' eject.c:995: `tv' undeclared (first use in this function) eject.c:995: (Each undeclared identifier is reported only once eject.c:995: for each function it appears in.) eject.c:997: `tv2' undeclared (first use in this function) make[1]: *** [eject.o] Error 1 make[1]: Leaving directory `/mnt/portage/tmp/portage/eject-2.0.13-r2/work/eject-2.0.13' make: *** [all-recursive] Error 1 !!! ERROR: sys-apps/eject-2.0.13-r2 failed. !!! Function src_compile, Line 556, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message.
Created attachment 61285 [details, diff] eject-2.0.13-r2-gcc2.patch fixes compile with gcc-2.95
rather than patching the source we should just fix the patch that introduced this bug
Created attachment 61304 [details, diff] eject-2.0.13-toggle.patch Updated patch that introduced the compile failure. I didn't even think to look at the patches, will try to do so in the future.
fixed in cvs, thanks