From eada558e12da1fd605d8c7401ec3c17a37fed9a9 Mon Sep 17 00:00:00 2001
From: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Date: Mon, 17 May 2010 02:33:28 +0200
Subject: Partial fix for the phonon/qt issue

This patch fixes the phonon/qt issue, if all to-be-upgraded packages are
explicit targets (ie. only not-yet-installed packages are pulled by
resolvedeps). This condition covers the most common situations, for example
it should hold with every -Su operation.

After this patch sync405.py passes, but sync406.py doesn't.

The work is inspired by the patch of Henning Garus, thanks for his work:
http://mailman.archlinux.org/pipermail/pacman-dev/2010-February/010429.html
(I moved the alpm_list_diff computation to sync.c in order to compute it
only once.)

Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
---
 pactest/tests/sync405.py | 2 --
 1 file changed, 2 deletions(-)

(limited to 'pactest')

diff --git a/pactest/tests/sync405.py b/pactest/tests/sync405.py
index d170cec8..941a1af4 100644
--- a/pactest/tests/sync405.py
+++ b/pactest/tests/sync405.py
@@ -22,5 +22,3 @@ self.addrule("PKG_EXIST=kdelibs")
 self.addrule("PKG_EXIST=qt")
 self.addrule("PKG_EXIST=phonon")
 self.addrule("PKG_VERSION=qt|4.6.1-1")
-
-self.expectfailure = True
-- 
cgit v1.2.3-70-g09d2