Hello community, here is the log from the commit of package OOKiedokie for openSUSE:Factory checked in at 2019-10-11 15:22:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/OOKiedokie (Old) and /work/SRC/openSUSE:Factory/.OOKiedokie.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "OOKiedokie" Fri Oct 11 15:22:11 2019 rev:2 rq:737435 version:0.0.0+git.20151230 Changes: -------- --- /work/SRC/openSUSE:Factory/OOKiedokie/OOKiedokie.changes 2017-05-24 16:46:33.902680434 +0200 +++ /work/SRC/openSUSE:Factory/.OOKiedokie.new.2352/OOKiedokie.changes 2019-10-11 15:22:21.175272995 +0200 @@ -1,0 +2,6 @@ +Thu Oct 10 22:30:19 UTC 2019 - Martin Hauke <[email protected]> + +- Add patch: + * OOKiedokie-fix-missing-return-type.patch + +------------------------------------------------------------------- New: ---- OOKiedokie-fix-missing-return-type.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ OOKiedokie.spec ++++++ --- /var/tmp/diff_new_pack.AGcPDc/_old 2019-10-11 15:22:22.195270192 +0200 +++ /var/tmp/diff_new_pack.AGcPDc/_new 2019-10-11 15:22:22.195270192 +0200 @@ -1,7 +1,7 @@ # # spec file for package OOKiedokie # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,6 +25,7 @@ Group: Productivity/Hamradio/Other Url: https://github.com/jynik/OOKiedokie Source: %{name}-%{version}.tar.xz +Patch0: OOKiedokie-fix-missing-return-type.patch BuildRequires: cmake BuildRequires: pkgconfig BuildRequires: pkgconfig(jansson) @@ -37,6 +38,7 @@ %prep %setup -q +%patch0 -p1 %build %cmake @@ -46,8 +48,8 @@ %cmake_install %files -%defattr(-,root,root) -%doc LICENSE README.md +%license LICENSE +%doc README.md %{_bindir}/ookiedokie %{_datadir}/OOKiedokie/ ++++++ OOKiedokie-fix-missing-return-type.patch ++++++ diff --git a/src/formatter.c b/src/formatter.c index 7a68bcd..32d06bf 100644 --- a/src/formatter.c +++ b/src/formatter.c @@ -628,7 +628,7 @@ static bool timestamp_unix(struct keyval_list *kv_list, bool frac) status = gettimeofday(&tv, NULL); if (status != 0) { log_error("Failed to get current time: %s\n", strerror(errno)); - return; + return false; } ts = tv.tv_sec + ((double) tv.tv_usec / 1000000.0);
