Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
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 6cd33f094120e7021c4654123fbf5f37da3797bd
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)"