diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-10 12:23:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-10 12:23:41 +0000 |
commit | ff70a75291d6e2f24ce14a3c8598eeda59fa1756 (patch) | |
tree | 303be201c634b435767024756eafae059aafc182 /main/apk-tools/0001-info-fix-a-exists-to-work-if-the-name-is-non-existan.patch | |
parent | 7dcd416a202e186d937d4f9af53b5f6e44eb47a6 (diff) | |
download | aports-ff70a75291d6e2f24ce14a3c8598eeda59fa1756.tar.bz2 aports-ff70a75291d6e2f24ce14a3c8598eeda59fa1756.tar.xz |
main/apk-tools: upgrade to 2.0_rc2
Diffstat (limited to 'main/apk-tools/0001-info-fix-a-exists-to-work-if-the-name-is-non-existan.patch')
-rw-r--r-- | main/apk-tools/0001-info-fix-a-exists-to-work-if-the-name-is-non-existan.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/main/apk-tools/0001-info-fix-a-exists-to-work-if-the-name-is-non-existan.patch b/main/apk-tools/0001-info-fix-a-exists-to-work-if-the-name-is-non-existan.patch deleted file mode 100644 index a2f33ffac9..0000000000 --- a/main/apk-tools/0001-info-fix-a-exists-to-work-if-the-name-is-non-existan.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 2cfca5b6ed658433419f9b581b3ba30f34c973c4 Mon Sep 17 00:00:00 2001 -From: Timo Teras <timo.teras@iki.fi> -Date: Wed, 5 Aug 2009 19:10:54 +0300 -Subject: [PATCH 1/7] info: fix a --exists to work if the name is non-existant - ---- - src/info.c | 3 +++ - 1 files changed, 3 insertions(+), 0 deletions(-) - -diff --git a/src/info.c b/src/info.c -index a222b8c..073dc80 100644 ---- a/src/info.c -+++ b/src/info.c -@@ -94,6 +94,9 @@ static int info_exists(struct info_ctx *ctx, struct apk_database *db, - continue; - - name = dep.name; -+ if (name->pkgs == NULL) -+ continue; -+ - for (j = 0; j < name->pkgs->num; j++) { - pkg = name->pkgs->item[j]; - if (apk_pkg_get_state(pkg) == APK_PKG_INSTALLED) --- -1.6.4 - |