Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ptools for openSUSE:Factory checked 
in at 2024-08-14 14:14:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ptools (Old)
 and      /work/SRC/openSUSE:Factory/.ptools.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ptools"

Wed Aug 14 14:14:08 2024 rev:19 rq:1193482 version:0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ptools/ptools.changes    2024-03-03 
20:19:26.358086551 +0100
+++ /work/SRC/openSUSE:Factory/.ptools.new.7232/ptools.changes  2024-08-14 
14:14:34.243836261 +0200
@@ -1,0 +2,7 @@
+Fri Aug  9 14:19:31 UTC 2024 - Martin Jambor <mjam...@suse.com>
+
+- Added fix-32bit-cast.diff which replaces a cast which is OK for
+  64bit targets but not for 32 bit targets to make the package
+  buildable with GCC 14 on i586.
+
+-------------------------------------------------------------------

New:
----
  fix-32bit-cast.diff

BETA DEBUG BEGIN:
  New:
- Added fix-32bit-cast.diff which replaces a cast which is OK for
  64bit targets but not for 32 bit targets to make the package
BETA DEBUG END:

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

Other differences:
------------------
++++++ ptools.spec ++++++
--- /var/tmp/diff_new_pack.dQ5ULH/_old  2024-08-14 14:14:34.751857498 +0200
+++ /var/tmp/diff_new_pack.dQ5ULH/_new  2024-08-14 14:14:34.755857666 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ptools
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 Source:         %{name}-%{version}.tar.bz2
 Patch0:         output-l_addr.diff
 Patch1:         commit-a42a099
+Patch2:         fix-32bit-cast.diff
 BuildRequires:  libelf-devel
 BuildRequires:  popt-devel
 #ExclusiveArch:  %{ix86} x86_64

++++++ fix-32bit-cast.diff ++++++
From: Martin Jambor <mjam...@suse.de>
Date: 2024-08-09

The pre-existing type-cast is OK for 64bit targets but not for 32 bit
targets, so this patch swaps it with what is actually used in the
corresponding data type definition.

Index: ptools-0.1/src/pbuildid.c
===================================================================
--- ptools-0.1.orig/src/pbuildid.c
+++ ptools-0.1/src/pbuildid.c
@@ -751,7 +751,7 @@ out:
 
                mmap->l_addr = lmap->l_addr;
                mmap->l_name = strdup(l_name);
-               mmap->l_ld = (GElf_Dyn *)lmap->l_ld;
+               mmap->l_ld = (ElfW(Dyn) *)lmap->l_ld;
                mmap->l_next = core_link_map;
                mmap->l_prev = NULL;
                if (core_link_map)

Reply via email to