Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2/.git;a=commitdiff;h=dcecfb537d2c8990c1800b30ef8f5b351db7591f

commit dcecfb537d2c8990c1800b30ef8f5b351db7591f
Author: Christian Hamar alias krix <[EMAIL PROTECTED]>
Date:   Wed Jul 25 00:04:00 2007 +0200

Fix for #2147
* Implements BTS #2147
* Fixes logging problem and seems its cosmetics, the real part of this patch
is already in git tree, but thx for the patch author!

diff --git a/lib/libpacman/deps.c b/lib/libpacman/deps.c
index 9309160..443c9ae 100644
--- a/lib/libpacman/deps.c
+++ b/lib/libpacman/deps.c
@@ -392,7 +392,7 @@ pmlist_t *_pacman_checkdeps(pmtrans_t *trans, pmdb_t *db, 
unsigned char op, pmli
}
}
if(!found) {
-                                               _pacman_log(PM_LOG_DEBUG, 
_("checkdeps: found %s as required by %s"), (char *)j->data, tp->name);
+                                               _pacman_log(PM_LOG_DEBUG, 
_("checkdeps: found %s which requires %s"), (char *)j->data, tp->name);
miss = _pacman_depmiss_new(tp->name, PM_DEP_TYPE_REQUIRED, PM_DEP_MOD_ANY, 
j->data, NULL);
if(!_pacman_depmiss_isin(miss, baddeps)) {
baddeps = _pacman_list_add(baddeps, miss);
diff --git a/src/pacman-g2/sync.c b/src/pacman-g2/sync.c
index 826006f..114cbb3 100644
--- a/src/pacman-g2/sync.c
+++ b/src/pacman-g2/sync.c
@@ -434,7 +434,7 @@ int syncpkg(list_t *targets)
for(lp = pacman_list_first(data); lp; lp = pacman_list_next(lp)) {
PM_DEPMISS *miss = pacman_list_getdata(lp);
MSG(NL, ":: %s: %s %s", pacman_dep_getinfo(miss, PM_DEP_TARGET),
-                                           (long)pacman_dep_getinfo(miss, 
PM_DEP_TYPE) == PM_DEP_TYPE_DEPEND ? _("is required by") : _("requires"),
+                                           (long)pacman_dep_getinfo(miss, 
PM_DEP_TYPE) == PM_DEP_TYPE_DEPEND ? _("requires") : _("is required by"),
pacman_dep_getinfo(miss, PM_DEP_NAME));
switch((long)pacman_dep_getinfo(miss, PM_DEP_MOD)) {
case PM_DEP_MOD_EQ: MSG(CL, "=%s", pacman_dep_getinfo(miss, PM_DEP_VERSION)); 
break;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to