diff --git a/dmraid.changes b/dmraid.changes index b6c2ad3..64939ed 100644 --- a/dmraid.changes +++ b/dmraid.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 27 13:05:45 UTC 2019 - Martin Liška + +- Add fix-return-function-type.patch in order to fix + a warning. + ------------------------------------------------------------------- Thu Nov 23 13:39:52 UTC 2017 - rbrown@suse.com diff --git a/dmraid.spec b/dmraid.spec index 43896cf..73cac73 100644 --- a/dmraid.spec +++ b/dmraid.spec @@ -1,7 +1,7 @@ # # spec file for package dmraid # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,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/ # @@ -36,7 +36,7 @@ Requires(post): coreutils Requires(postun): coreutils Url: http://people.redhat.com/~heinzm/sw/dmraid/src/ Summary: A Device-Mapper Software RAID Support Tool -License: GPL-2.0 +License: GPL-2.0-only Group: System/Base Version: 1.0.0.rc16 Release: 0 @@ -55,6 +55,7 @@ Patch8: dmraid-move-var-lock-to-run-lock.patch Patch9: dmraid-destdir.patch Patch10: fix-undefined-symbol.patch Patch11: 0001-remove-partitions-with-O_RDONLY.patch +Patch12: fix-return-function-type.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq @@ -106,6 +107,7 @@ devices with respective mappings for the ATARAID sets discovered. %patch9 -p1 %patch10 -p1 %patch11 -p2 +%patch12 -p2 cp %{SOURCE3} . diff --git a/fix-return-function-type.patch b/fix-return-function-type.patch new file mode 100644 index 0000000..cb48266 --- /dev/null +++ b/fix-return-function-type.patch @@ -0,0 +1,13 @@ +diff --git a/1.0.0.rc16/tools/dmevent_tool.c b/1.0.0.rc16/tools/dmevent_tool.c +index 8562098..cffb5ab 100644 +--- a/1.0.0.rc16/tools/dmevent_tool.c ++++ b/1.0.0.rc16/tools/dmevent_tool.c +@@ -123,7 +123,7 @@ void _test_user_id(void) + } + + /* Increment option counters. */ +-static _process_opt(int opt, const char *cmd) ++static void _process_opt(int opt, const char *cmd) + { + struct opt_def_struct { + const char opt; /* Option character. */