commit libstoragemgmt for openSUSE:Factory
Hello community, here is the log from the commit of package libstoragemgmt for openSUSE:Factory checked in at 2017-05-27 13:07:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libstoragemgmt (Old) and /work/SRC/openSUSE:Factory/.libstoragemgmt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libstoragemgmt" Sat May 27 13:07:53 2017 rev:11 rq:495829 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libstoragemgmt/libstoragemgmt.changes 2017-04-28 10:53:19.134822014 +0200 +++ /work/SRC/openSUSE:Factory/.libstoragemgmt.new/libstoragemgmt.changes 2017-05-27 13:09:24.831435691 +0200 @@ -1,0 +2,12 @@ +Thu May 18 09:43:43 UTC 2017 - mliska@suse.cz + +- Add 0001-Simc-plugin-Fix-gcc-warning-on-fallthrough-switch.patch to + fix build with GCC 7. + +------------------------------------------------------------------- +Tue May 16 10:30:33 UTC 2017 - mpluskal@suse.com + +- Sync patches with fedora: + * 0002-C-library-Bug-fix-for-incorrect-use-of-sizeof.patch + +------------------------------------------------------------------- New: ---- 0001-Simc-plugin-Fix-gcc-warning-on-fallthrough-switch.patch 0002-C-library-Bug-fix-for-incorrect-use-of-sizeof.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libstoragemgmt.spec ++++++ --- /var/tmp/diff_new_pack.25ie3Y/_old 2017-05-27 13:09:25.451348045 +0200 +++ /var/tmp/diff_new_pack.25ie3Y/_new 2017-05-27 13:09:25.451348045 +0200 @@ -28,6 +28,10 @@ Source0: https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM 0001-Fix-gcc-warning-on-non-x86-platform.patch -- Fix build in ppc64le/s390x related to getopt_long Patch0: 0001-Fix-gcc-warning-on-non-x86-platform.patch +# PATCH-FIX-UPSTREAM 0002-C-library-Bug-fix-for-incorrect-use-of-sizeof.patch +Patch1: 0002-C-library-Bug-fix-for-incorrect-use-of-sizeof.patch +# PATCH-FIX-UPSTREAM 0001-Simc-plugin-Fix-gcc-warning-on-fallthrough-switch.patch +Patch2: 0001-Simc-plugin-Fix-gcc-warning-on-fallthrough-switch.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libconfig-devel @@ -194,7 +198,9 @@ %prep %setup -q -%patch0 -p1 +%patch0 +%patch1 +%patch2 -p1 %build %configure \ ++++++ 0001-Fix-gcc-warning-on-non-x86-platform.patch ++++++ --- /var/tmp/diff_new_pack.25ie3Y/_old 2017-05-27 13:09:25.471345217 +0200 +++ /var/tmp/diff_new_pack.25ie3Y/_new 2017-05-27 13:09:25.471345217 +0200 @@ -27,11 +27,11 @@ tools/udev/scan-scsi-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/tools/udev/scan-scsi-target.c b/tools/udev/scan-scsi-target.c -index bb83c65..00126b9 100644 ---- a/tools/udev/scan-scsi-target.c -+++ b/tools/udev/scan-scsi-target.c -@@ -54,7 +54,7 @@ static void __attribute__ ((__noreturn__)) invalid(char **argv, char *devpath) +Index: tools/udev/scan-scsi-target.c +=================================================================== +--- tools/udev/scan-scsi-target.c.orig ++++ tools/udev/scan-scsi-target.c +@@ -54,7 +54,7 @@ static void __attribute__ ((__noreturn__ int main(int argc, char **argv) { ++++++ 0001-Simc-plugin-Fix-gcc-warning-on-fallthrough-switch.patch ++++++
From fa8e9e94c6d06ac135d4363293b00b1a42ebf5c4 Mon Sep 17 00:00:00 2001 From: Gris Ge
Date: Thu, 23 Feb 2017 22:06:26 +0800 Subject: [PATCH] Simc plugin: Fix gcc warning on fallthrough switch.
Issue:
GCC(gcc-7.0.1-0.9.fc26.x86_64) is warning on fallthrough switch.
Fix:
Use if and else if check instead.
Misc:
Don't want to mess with GCC and CLANG on this trivial issue by
using GCC extention: `__attribute__((fallthrough))`.
Signed-off-by: Gris Ge
participants (1)
-
root@hilbert.suse.de