From d06a99128fa08716d4a84bb1925f69879e2234a2 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Thu, 31 Mar 2022 01:58:27 +0200 Subject: package: respect version fuzziness when creating dep from adb --- src/package.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/package.c b/src/package.c index 138ac6c..ee34595 100644 --- a/src/package.c +++ b/src/package.c @@ -461,6 +461,7 @@ void apk_dep_from_adb(struct apk_dependency *dep, struct apk_database *db, struc *dep = (struct apk_dependency) { .name = apk_db_get_name(db, adb_ro_blob(d, ADBI_DEP_NAME)), .version = apk_atomize_dup(&db->atoms, adb_ro_blob(d, ADBI_DEP_VERSION)), + .fuzzy = !!(mask & APK_VERSION_FUZZY), .conflict = !!(mask & APK_VERSION_CONFLICT), .result_mask = (mask & ~APK_VERSION_CONFLICT) ?: APK_VERSION_EQUAL, }; -- cgit v1.2.3-70-g09d2