# gentoo bug #283905
epatch "${FILESDIR}"/${P}-moc-qt4.patch
# Make gnash compile with libpng14.
epatch "${FILESDIR}"/${P}-libpng14.patch
# Conflict headers with npapi.h from mozilla-sdk embedded stuffs and libxul-unstable header
# in case where xpcom (implicitly added with gtk) is enabled, we use the system header
if use gtk; then