--- mplayer-1.0.20070622-r3.ebuild.old 2007-08-01 14:06:06.000000000 +0200 +++ mplayer-1.0.20070622-r3.ebuild 2007-08-01 14:07:37.000000000 +0200 @@ -190,6 +190,9 @@ # Fix XShape detection epatch ${FILESDIR}/${PN}-xshape.patch + if use xinerama; then + epatch ${FILESDIR}/mplayer_xinerama_patch + fi } src_compile() {