--- xen-tools-3.0.2-r1.ebuild-original 2006-07-22 14:13:02.000000000 +1000 +++ xen-tools-3.0.2-r1.ebuild 2006-07-22 14:14:51.000000000 +1000 @@ -66,6 +66,11 @@ # Allow --as-needed LDFLAGS epatch "${FILESDIR}/${P}"--as-needed.patch + + # Fix upstream's broken test cases (bug #141233) + cd "${S}" + epatch "${FILESDIR}/${P}"-test-uuid.patch + epatch "${FILESDIR}/${P}"-test-xauthority.patch } src_compile() {