Have fun!
Created attachment 198095 [details, diff] patch to use system libogg
Created attachment 198096 [details, diff] patch to use ldflags in alsa module (fixes qa warning)
Attached patches fix the bug and the QA warning about LDFLAGS in the alsa module. Verified that gpac_ogg.c is not built and so is linked against libogg, but it gets every shared object in gpac linked against libogg, even with --as-needed.
*** Bug 310257 has been marked as a duplicate of this bug. ***
+*gpac-0.4.5-r2 (29 Apr 2010) + + 29 Apr 2010; Samuli Suominen <ssuominen@gentoo.org> +gpac-0.4.5-r2.ebuild: + Use system libogg wrt #258331 by Zeev Tarantov. Use LDFLAGS when linking + gm_alsa.so wrt #310257 by Zeev Tarantov and Doktor Notor.