aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/source.c9
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 0763ca0..6cc9579 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
-0.3.3 Mar 03, 2019
+0.3.3 Jun 08, 2019
+ * fix for dependency ordering regression
* use %m and no -pedantic for c99 sscanf
* build fixes
* tx pull
diff --git a/src/source.c b/src/source.c
index 76c1aea..6ac47ce 100644
--- a/src/source.c
+++ b/src/source.c
@@ -979,15 +979,20 @@ slapt_src_slackbuild_list *slapt_src_names_to_slackbuilds(
slapt_free_pkg_err_list(errors);
for (d = 0; d < deps->count; d++) {
- if (_slapt_src_search_slackbuild_cache_linear_by_name(sbs, deps->slackbuilds[d]->name) == false)
+ if (strcmp(sb->name, deps->slackbuilds[d]->name) == 0) {
+ continue;
+ }
+ if (_slapt_src_search_slackbuild_cache_linear_by_name(sbs, deps->slackbuilds[d]->name) == false) {
slapt_src_slackbuild_list_add(sbs, deps->slackbuilds[d]);
+ }
}
slapt_src_slackbuild_list_free(deps);
}
- if (_slapt_src_search_slackbuild_cache_linear_by_name(sbs, sb->name) == false)
+ if (_slapt_src_search_slackbuild_cache_linear_by_name(sbs, sb->name) == false) {
slapt_src_slackbuild_list_add(sbs, sb);
+ }
}
}