Hello community,

here is the log from the commit of package libpsm2 for openSUSE:Factory checked 
in at 2020-04-05 20:49:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpsm2 (Old)
 and      /work/SRC/openSUSE:Factory/.libpsm2.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libpsm2"

Sun Apr  5 20:49:43 2020 rev:13 rq:791133 version:11.2.86

Changes:
--------
--- /work/SRC/openSUSE:Factory/libpsm2/libpsm2.changes  2019-10-09 
15:17:17.432833219 +0200
+++ /work/SRC/openSUSE:Factory/.libpsm2.new.3248/libpsm2.changes        
2020-04-05 20:49:46.364966069 +0200
@@ -1,0 +2,5 @@
+Fri Apr  3 08:27:09 UTC 2020 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Add Add-missing-extern-keywords.patch to fix compilation with GCC10 
(bsc#1160279)
+
+-------------------------------------------------------------------

New:
----
  Add-missing-extern-keywords.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libpsm2.spec ++++++
--- /var/tmp/diff_new_pack.bExsi2/_old  2020-04-05 20:49:47.068966742 +0200
+++ /var/tmp/diff_new_pack.bExsi2/_new  2020-04-05 20:49:47.072966746 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libpsm2
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,12 +25,13 @@
 Summary:        Intel PSM Messaging API libraries
 License:        BSD-2-Clause OR GPL-2.0-only
 Group:          Development/Libraries/C and C++
-Url:            https://github.com/01org/opa-psm2/
+URL:            https://github.com/01org/opa-psm2/
 Source0:        %{name}-%{version}%{git_ver}.tar.bz2
 Source1:        libpsm2.changelog
 Source2:        libpsm2-rpmlintrc
 Patch2:         libpsm2-use_RPM_OPT_FLAGS.patch
 Patch3:         libpsm2-use-exported-variable-for-version-and-release.patch
+Patch4:         Add-missing-extern-keywords.patch
 BuildRequires:  libnuma-devel
 BuildRequires:  libuuid-devel
 BuildRequires:  pkg-config
@@ -84,6 +85,7 @@
 %setup -q -n %{name}-%{version}%{git_ver}
 %patch2
 %patch3
+%patch4
 
 cp %{S:1} ChangeLog
 

++++++ Add-missing-extern-keywords.patch ++++++
commit 1e4e44054a4f092e356611aa207039b2ad357be5
Author: Nicolas Morey-Chaisemartin <[email protected]>
Date:   Wed Jan 8 08:19:34 2020 +0100

    Add missing extern keywords
    
    Starting from the upcoming GCC release 10, the default of -fcommon option 
will change to -fno-common:
    In C, global variables with multiple tentative definitions will result in 
linker errors.
    Global variable accesses are also more efficient on various targets.
    
    This fixes compilations errors with -fno-common enabled
    
    Signed-off-by: Nicolas Morey-Chaisemartin <[email protected]>

diff --git ptl_am/ptl_fwd.h ptl_am/ptl_fwd.h
index e1bd064f82a6..1d0fec4073ab 100644
--- ptl_am/ptl_fwd.h
+++ ptl_am/ptl_fwd.h
@@ -57,7 +57,7 @@
 #define _PTL_FWD_AMSH_H
 
 /* Symbol in am ptl */
-struct ptl_ctl_init psmi_ptl_amsh;
+extern struct ptl_ctl_init psmi_ptl_amsh;
 
 extern int psmi_shm_mq_rv_thresh;
 
diff --git ptl_ips/ptl_fwd.h ptl_ips/ptl_fwd.h
index 3702fbae7509..b7742609f3ab 100644
--- ptl_ips/ptl_fwd.h
+++ ptl_ips/ptl_fwd.h
@@ -61,7 +61,7 @@ typedef struct ips_epaddr ips_epaddr_t;
 typedef struct ips_msgctl ips_msgctl_t;
 
 /* Symbol in ips ptl */
-struct ptl_ctl_init psmi_ptl_ips;
+extern struct ptl_ctl_init psmi_ptl_ips;
 
-struct ptl_ctl_rcvthread psmi_ptl_ips_rcvthread;
+extern struct ptl_ctl_rcvthread psmi_ptl_ips_rcvthread;
 #endif /* _PTL_FWD_IPS_H */
diff --git ptl_self/ptl_fwd.h ptl_self/ptl_fwd.h
index 77ee7f95f782..7ee6b732a3ff 100644
--- ptl_self/ptl_fwd.h
+++ ptl_self/ptl_fwd.h
@@ -57,6 +57,6 @@
 #define _PTL_FWD_SELF_H
 
 /* Symbol in am ptl */
-struct ptl_ctl_init psmi_ptl_self;
+extern struct ptl_ctl_init psmi_ptl_self;
 
 #endif

Reply via email to