Accepting request 705713 from Base:System
- Add fix-return-function-type.patch in order to fix a warning. (forwarded request 705677 from marxin) OBS-URL: https://build.opensuse.org/request/show/705713 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dmraid?expand=0&rev=60
This commit is contained in:
commit
14d01ecabd
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 27 13:05:45 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
- Add fix-return-function-type.patch in order to fix
|
||||||
|
a warning.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 23 13:39:52 UTC 2017 - rbrown@suse.com
|
Thu Nov 23 13:39:52 UTC 2017 - rbrown@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dmraid
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
Requires(postun): coreutils
|
||||||
Url: http://people.redhat.com/~heinzm/sw/dmraid/src/
|
Url: http://people.redhat.com/~heinzm/sw/dmraid/src/
|
||||||
Summary: A Device-Mapper Software RAID Support Tool
|
Summary: A Device-Mapper Software RAID Support Tool
|
||||||
License: GPL-2.0
|
License: GPL-2.0-only
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
Version: 1.0.0.rc16
|
Version: 1.0.0.rc16
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -55,6 +55,7 @@ Patch8: dmraid-move-var-lock-to-run-lock.patch
|
|||||||
Patch9: dmraid-destdir.patch
|
Patch9: dmraid-destdir.patch
|
||||||
Patch10: fix-undefined-symbol.patch
|
Patch10: fix-undefined-symbol.patch
|
||||||
Patch11: 0001-remove-partitions-with-O_RDONLY.patch
|
Patch11: 0001-remove-partitions-with-O_RDONLY.patch
|
||||||
|
Patch12: fix-return-function-type.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
PreReq: %fillup_prereq
|
PreReq: %fillup_prereq
|
||||||
@ -106,6 +107,7 @@ devices with respective mappings for the ATARAID sets discovered.
|
|||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
%patch11 -p2
|
%patch11 -p2
|
||||||
|
%patch12 -p2
|
||||||
|
|
||||||
cp %{SOURCE3} .
|
cp %{SOURCE3} .
|
||||||
|
|
||||||
|
13
fix-return-function-type.patch
Normal file
13
fix-return-function-type.patch
Normal file
@ -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. */
|
Loading…
Reference in New Issue
Block a user