Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mpiP for openSUSE:Factory checked in 
at 2022-10-17 14:58:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mpiP (Old)
 and      /work/SRC/openSUSE:Factory/.mpiP.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mpiP"

Mon Oct 17 14:58:24 2022 rev:14 rq:1012031 version:3.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/mpiP/mpiP.changes        2020-12-01 
14:21:58.557540699 +0100
+++ /work/SRC/openSUSE:Factory/.mpiP.new.2275/mpiP.changes      2022-10-17 
14:58:28.050181206 +0200
@@ -1,0 +2,6 @@
+Mon Oct 17 08:09:09 UTC 2022 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Added pc_lookup-replace-PTR-with-void.patch to fix compilation
+  on newer glibc.
+
+-------------------------------------------------------------------

New:
----
  pc_lookup-replace-PTR-with-void.patch

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

Other differences:
------------------
++++++ mpiP.spec ++++++
--- /var/tmp/diff_new_pack.VkpXWw/_old  2022-10-17 14:58:28.830182705 +0200
+++ /var/tmp/diff_new_pack.VkpXWw/_new  2022-10-17 14:58:28.846182736 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package mpiP
+# spec file
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -265,7 +265,7 @@
 Source0:        
https://github.com/LLNL/mpiP/releases/download/%{version}/mpip-%{version}.tgz#/%{pname}-%{version}.tgz
 Patch1:         mpip.unwinder.patch
 Patch2:         Add-return-value-to-non-void-function.patch
-
+Patch3:         pc_lookup-replace-PTR-with-void.patch
 BuildRequires:  %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
 BuildRequires:  
%{mpi_family}%{?mpi_ver}-%{compiler_family}%{?c_f_ver}-hpc-macros-devel
 BuildRequires:  binutils-devel

++++++ pc_lookup-replace-PTR-with-void.patch ++++++
commit 168e28672992f4c725046b91fda0ffada6ccf842
Author: Nicolas Morey-Chaisemartin <[email protected]>
Date:   Mon Oct 17 09:59:01 2022 +0200

    pc_lookup: replace PTR with void*
    
    PTR is not available in newer glibc versions
    
    Signed-off-by: Nicolas Morey-Chaisemartin <[email protected]>

diff --git a/pc_lookup.c b/pc_lookup.c
index 4c595645813a..4c2a1a30e693 100644
--- a/pc_lookup.c
+++ b/pc_lookup.c
@@ -115,7 +115,7 @@ static void
 find_address_in_section (abfd, section, data)
      bfd *abfd;
      asection *section;
-     PTR data;
+     void* data;
 {
   bfd_vma vma;
   bfd_size_type size;
@@ -435,7 +435,7 @@ mpiP_find_src_loc (void *i_addr_hex, char **o_file_str, int 
*o_lineno,
 
   found = FALSE;
 
-  bfd_map_over_sections (abfd, find_address_in_section, (PTR) NULL);
+  bfd_map_over_sections (abfd, find_address_in_section, (void*) NULL);
 
 #ifdef SO_LOOKUP
   if (!found)
@@ -477,7 +477,7 @@ mpiP_find_src_loc (void *i_addr_hex, char **o_file_str, int 
*o_lineno,
           mpiPi_msg_debug ("fso->bfd->sections is %p\n",
                            ((bfd *) (fso->bfd))->sections);
           bfd_map_over_sections (fso->bfd, find_address_in_section,
-                                 (PTR) NULL);
+                                 (void*) NULL);
         }
 
     }

Reply via email to