Hello community,
here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2019-06-01 09:44:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dmraid (Old)
and /work/SRC/openSUSE:Factory/.dmraid.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dmraid"
Sat Jun 1 09:44:08 2019 rev:60 rq:705713 version:1.0.0.rc16
Changes:
--------
--- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes 2017-11-25 08:41:34.476628254 +0100
+++ /work/SRC/openSUSE:Factory/.dmraid.new.5148/dmraid.changes 2019-06-01 09:44:13.815432227 +0200
@@ -1,0 +2,6 @@
+Mon May 27 13:05:45 UTC 2019 - Martin Liška
+
+- Add fix-return-function-type.patch in order to fix
+ a warning.
+
+-------------------------------------------------------------------
New:
----
fix-return-function-type.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dmraid.spec ++++++
--- /var/tmp/diff_new_pack.M6boPC/_old 2019-06-01 09:44:14.611431955 +0200
+++ /var/tmp/diff_new_pack.M6boPC/_new 2019-06-01 09:44:14.611431955 +0200
@@ -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(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 @@
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 @@
%patch9 -p1
%patch10 -p1
%patch11 -p2
+%patch12 -p2
cp %{SOURCE3} .
++++++ fix-return-function-type.patch ++++++
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. */