src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0_beta2-flags.patch
sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c
AT_M4DIR="m4" eautoreconf
}