Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
When fetching the dependency, grab the actual dependencies version instead of what has been specified as dependencies during build
Baptiste Daroussin committed 6 years ago
commit e4da521be43abbfe2c85394a332a242852e11915
parent 6cd33f0
1 file changed +1 -1
modified libpkg/pkgdb_iterator.c
@@ -220,7 +220,7 @@ pkgdb_load_deps(sqlite3 *sqlite, struct pkg *pkg)
	bool options_match;
	char *formula_sql, *clause;
	const char	 sql[] = ""
-
		"SELECT d.name, d.origin, d.version, 0"
+
		"SELECT d.name, d.origin, p.version, 0"
		"  FROM deps AS d"
		"    LEFT JOIN packages AS p ON"
		"    (p.origin = d.origin AND p.name = d.name)"