pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files pkg_install-20090406:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8d82255654e4
branches:  trunk
changeset: 556921:8d82255654e4
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Apr 06 14:34:15 2009 +0000

description:
pkg_install-20090406:
Remove premature return that broke dependency tracking for pkg_add -u.
Fixes PR 41143.

diffstat:

 pkgtools/pkg_install/files/add/perform.c |  7 ++-----
 pkgtools/pkg_install/files/lib/version.h |  4 ++--
 2 files changed, 4 insertions(+), 7 deletions(-)

diffs (45 lines):

diff -r 7b21b74203a6 -r 8d82255654e4 pkgtools/pkg_install/files/add/perform.c
--- a/pkgtools/pkg_install/files/add/perform.c  Mon Apr 06 14:21:05 2009 +0000
+++ b/pkgtools/pkg_install/files/add/perform.c  Mon Apr 06 14:34:15 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: perform.c,v 1.84 2009/03/08 14:50:36 joerg Exp $       */
+/*     $NetBSD: perform.c,v 1.85 2009/04/06 14:34:15 joerg Exp $       */
 #if HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -6,7 +6,7 @@
 #if HAVE_SYS_CDEFS_H
 #include <sys/cdefs.h>
 #endif
-__RCSID("$NetBSD: perform.c,v 1.84 2009/03/08 14:50:36 joerg Exp $");
+__RCSID("$NetBSD: perform.c,v 1.85 2009/04/06 14:34:15 joerg Exp $");
 
 /*-
  * Copyright (c) 2003 Grant Beattie <grant%NetBSD.org@localhost>
@@ -763,9 +763,6 @@
        if (Fake)
                return;
 
-       if (pkg->other_version != NULL)
-               return; /* XXX It's using the old dependencies. */
-
        text = xasprintf("%s\n", pkg->pkgname);
        text_len = strlen(text);
 
diff -r 7b21b74203a6 -r 8d82255654e4 pkgtools/pkg_install/files/lib/version.h
--- a/pkgtools/pkg_install/files/lib/version.h  Mon Apr 06 14:21:05 2009 +0000
+++ b/pkgtools/pkg_install/files/lib/version.h  Mon Apr 06 14:34:15 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: version.h,v 1.120 2009/03/26 14:32:39 joerg Exp $      */
+/*     $NetBSD: version.h,v 1.121 2009/04/06 14:34:15 joerg Exp $      */
 
 /*
  * Copyright (c) 2001 Thomas Klausner.  All rights reserved.
@@ -27,6 +27,6 @@
 #ifndef _INST_LIB_VERSION_H_
 #define _INST_LIB_VERSION_H_
 
-#define PKGTOOLS_VERSION "20090326"
+#define PKGTOOLS_VERSION "20090406"
 
 #endif /* _INST_LIB_VERSION_H_ */



Home | Main Index | Thread Index | Old Index