summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-04-16 13:19:50 +0200
committerMichael Schroeder <mls@suse.de>2013-04-16 13:19:50 +0200
commit99c3407a3e342f91fc0aac63365f54c2e7f3263e (patch)
treebcbe432bce56740db8f17d10276f5c2cc85b839b /ext
parent05174125a0a2744725c7be881a3790cb69843af5 (diff)
downloadlibsolv-99c3407a3e342f91fc0aac63365f54c2e7f3263e.tar.gz
libsolv-99c3407a3e342f91fc0aac63365f54c2e7f3263e.tar.bz2
libsolv-99c3407a3e342f91fc0aac63365f54c2e7f3263e.zip
switch range->name and range->evr in REL_COMPAT deps so that stringification works
Diffstat (limited to 'ext')
-rw-r--r--ext/repo_haiku.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/repo_haiku.cpp b/ext/repo_haiku.cpp
index e5b448f..6aeec57 100644
--- a/ext/repo_haiku.cpp
+++ b/ext/repo_haiku.cpp
@@ -56,8 +56,8 @@ static void add_dependency(Repo *repo, Offset &dependencies, const char *name,
if (compatVersion && compatVersion[0] != '\0')
{
- versionId = pool_rel2id(pool, pool_str2id(pool, compatVersion, 1),
- versionId, REL_COMPAT, 1);
+ versionId = pool_rel2id(pool, versionID, pool_str2id(pool, compatVersion, 1),
+ REL_COMPAT, 1);
}
dependency = pool_rel2id(pool, dependency, versionId, flags, 1);