Add builds.sr.ht CI for OpenBSD

* Add .builds/openbsd.yml for builds.sr.ht
* Update travis-build.sh -> ci-build.sh with OpenBSD case
* Fix libdl check in configure.ac (OpenBSD has libdl built-in)
* Fix some minor issues found when compiling on OpenBSD with GCC (e.g.
  uninitialized variables)
This commit is contained in:
William Wennerström
2020-02-14 12:50:52 +01:00
parent ca3afa7e05
commit b267b065f5
6 changed files with 105 additions and 23 deletions

View File

@@ -353,7 +353,7 @@ _rosterwin_contact(ProfLayoutSplit *layout, PContact contact)
}
theme_item_t presence_colour = _get_roster_theme(theme_type, presence);
int colour;
int colour = 0;
if (prefs_get_boolean(PREF_ROSTER_COLOR_NICK)) {
colour = theme_hash_attrs(name);
wattron(layout->subwin, colour);
@@ -1290,4 +1290,3 @@ _filter_contacts_with_presence(GSList *contacts, const char *const presence)
return filtered_contacts;
}