The patch to the altivec support that allows it to work on non-Darwin operating systems needs porting from 1.1.1 to 1.1.2. 1.1.2 is in portage, with it's ~ppc and ~ppc64 keywords dropped. Please port the patch and readd the keywords after testing.
patching file src/libFLAC/ppc/as/lpc_asm.s Hunk #1 FAILED at 1. Hunk #2 succeeded at 95 (offset 1 line). Hunk #3 succeeded at 115 (offset 1 line). Hunk #4 succeeded at 129 (offset 1 line). Hunk #5 succeeded at 143 (offset 1 line). Hunk #6 succeeded at 157 (offset 1 line). Hunk #7 succeeded at 171 (offset 1 line). Hunk #8 succeeded at 185 (offset 1 line). Hunk #9 succeeded at 199 (offset 1 line). Hunk #10 succeeded at 211 (offset 1 line). Hunk #11 succeeded at 268 (offset 1 line). Hunk #12 succeeded at 344 (offset 1 line). Hunk #13 succeeded at 364 (offset 1 line). Hunk #14 succeeded at 376 (offset 1 line). Hunk #15 succeeded at 403 (offset 1 line). 1 out of 15 hunks FAILED -- saving rejects to file src/libFLAC/ppc/as/lpc_asm.s.rej patching file src/libFLAC/ppc/as/Makefile.am Hunk #1 succeeded at 38 (offset 3 lines). patching file src/libFLAC/ppc/as/Makefile.in Hunk #1 FAILED at 488. 1 out of 1 hunk FAILED -- saving rejects to file src/libFLAC/ppc/as/Makefile.in.rej patching file src/libFLAC/Makefile.am Hunk #1 FAILED at 45. 1 out of 1 hunk FAILED -- saving rejects to file src/libFLAC/Makefile.am.rej patching file src/libFLAC/Makefile.in Hunk #1 FAILED at 277. 1 out of 1 hunk FAILED -- saving rejects to file src/libFLAC/Makefile.in.rej patching file src/libFLAC/cpu.c Hunk #1 FAILED at 41. Hunk #2 FAILED at 118. 2 out of 2 hunks FAILED -- saving rejects to file src/libFLAC/cpu.c.rej
there should be a better linux support on flac-cvs (at least were discussions about improving it)
The directory structure in there looks new, there is an as and a gas directory for the assembly files, perhaps gas would need to be selected, but the configure system does not do so. These patch rejects are in the as dirctory, as that's what's currently being used. Sed'ing that path into the patchfile is not enough, as you see. (And the rejected hunks are pretty large)
the whole patch should be dropped
It won't compile without, that's why the keywords were dropped. Any solution that allows you to readd the keywords is fine by me, with or without porting the patch :)
Found the issue: naive AM check for the assembler.
Fixed in cvs, please check if works enough for you. Reopen if isn't
Sorry Luca, just got reports it that this breaks for non-PPC users with a libtool failure. Please enhance the fix so it works everywhere :) Please see bug 82587 for the report.
Looks like I should patch directly the configure...
Workaround applied, should work now