Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mingw32-binutils for 
openSUSE:Factory checked in at 2022-09-13 15:09:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mingw32-binutils (Old)
 and      /work/SRC/openSUSE:Factory/.mingw32-binutils.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mingw32-binutils"

Tue Sep 13 15:09:39 2022 rev:5 rq:1003050 version:2.39

Changes:
--------
--- /work/SRC/openSUSE:Factory/mingw32-binutils/mingw32-binutils.changes        
2022-08-30 14:51:10.820380742 +0200
+++ 
/work/SRC/openSUSE:Factory/.mingw32-binutils.new.2083/mingw32-binutils.changes  
    2022-09-13 15:11:08.376938302 +0200
@@ -7,0 +8,6 @@
+- Add patch to fix issue with objdump -WL, see
+   https://sourceware.org/bugzilla/show_bug.cgi?id=29523
+  * 0001-Fix-bug-not-showing-correct-path-with-objdump-WL-wit.patch
+- Add patch to fix warning: 'call-to-mktemp ...'
+   https://sourceware.org/bugzilla/show_bug.cgi?id=29534
+  * 0001-dllwrap-windres-and-dlltools-use-mktemp-which-should.patch
mingw32-cross-binutils.changes: same change

New:
----
  0001-Fix-bug-not-showing-correct-path-with-objdump-WL-wit.patch
  0001-dllwrap-windres-and-dlltools-use-mktemp-which-should.patch

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

Other differences:
------------------
++++++ mingw32-binutils.spec ++++++
--- /var/tmp/diff_new_pack.3FrdU4/_old  2022-09-13 15:11:08.964939958 +0200
+++ /var/tmp/diff_new_pack.3FrdU4/_new  2022-09-13 15:11:08.972939980 +0200
@@ -16,6 +16,8 @@
 #
 
 
+%global _default_patch_fuzz 2
+
 Name:           mingw32-binutils
 Version:        2.39
 Release:        0
@@ -26,6 +28,8 @@
 Source:         http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz
 Source99:       mingw32-binutils-rpmlintrc
 Patch0:         0001-PR29362-some-binutils-memory-leaks.patch
+Patch1:         0001-Fix-bug-not-showing-correct-path-with-objdump-WL-wit.patch
+Patch2:         0001-dllwrap-windres-and-dlltools-use-mktemp-which-should.patch
 #!BuildIgnore: post-build-checks
 BuildRequires:  bison
 BuildRequires:  flex
@@ -33,8 +37,8 @@
 BuildRequires:  mingw32-cross-gcc
 BuildRequires:  mingw32-filesystem
 BuildRequires:  texinfo
-%_mingw32_package_header_debug
 BuildArch:      noarch
+%_mingw32_package_header_debug
 
 %description
 The GNU Binutils are a collection of binary tools.
@@ -75,7 +79,7 @@
 %{_mingw32_bindir}/*.exe
 %{_mingw32_prefix}/%{_mingw32_target}/bin/*.exe
 %{_mingw32_prefix}/%{_mingw32_target}/lib/ldscripts/
-%dir %{_mingw32_prefix}/lib/bfd-plugins
+%dir %{_mingw32_prefix}/lib/bfd-plugins/
 %{_mingw32_prefix}/lib/bfd-plugins/libdep.dll
 %{_mingw32_mandir}/man1/*
 %{_mingw32_infodir}/*.info*

++++++ mingw32-cross-binutils.spec ++++++
--- /var/tmp/diff_new_pack.3FrdU4/_old  2022-09-13 15:11:08.992940036 +0200
+++ /var/tmp/diff_new_pack.3FrdU4/_new  2022-09-13 15:11:08.996940048 +0200
@@ -16,6 +16,8 @@
 #
 
 
+%global _default_patch_fuzz 2
+
 Name:           mingw32-cross-binutils
 Version:        2.39
 Release:        0
@@ -25,10 +27,12 @@
 URL:            http://www.gnu.org/software/binutils/
 Source:         http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz
 Patch0:         0001-PR29362-some-binutils-memory-leaks.patch
+Patch1:         0001-Fix-bug-not-showing-correct-path-with-objdump-WL-wit.patch
+Patch2:         0001-dllwrap-windres-and-dlltools-use-mktemp-which-should.patch
 #!BuildIgnore: post-build-checks
 BuildRequires:  bison
 BuildRequires:  flex
-BuildRequires:  mingw32-filesystem
+BuildRequires:  mingw32-cross-gcc-c++
 BuildRequires:  texinfo
 # NB: This must be left in.
 Requires:       mingw32-filesystem

++++++ 0001-Fix-bug-not-showing-correct-path-with-objdump-WL-wit.patch ++++++
>From a93402d650158350c0956cbe1206695ebd43ebe4 Mon Sep 17 00:00:00 2001
From: Ralf Habacker <[email protected]>
Date: Wed, 7 Sep 2022 14:13:36 +0200
Subject: [PATCH] Fix bug not showing correct path with objdump -WL with pe
 binaries

https://sourceware.org/bugzilla/show_bug.cgi?id=29523
---
 binutils/dwarf.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 71d8bc9ed5c..f90f4efac5b 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -5215,6 +5215,8 @@ display_debug_lines_decoded (struct dwarf_section *  
section,
                        ix, n_directories);
                  directory = _("<corrupt>");
                }
+             else if (linfo.li_version >= 5)
+               directory = (char *) directory_table[ix];
              else
                directory = (char *) directory_table[ix - 1];
 
@@ -5385,6 +5387,7 @@ display_debug_lines_decoded (struct dwarf_section *  
section,
 
                  if (linfo.li_version < 5)
                    --file;
+
                  if (file_table == NULL || n_files == 0)
                    printf (_("\n [Use file table entry %d]\n"), file);
                  /* PR 20439 */
@@ -5406,6 +5409,10 @@ display_debug_lines_decoded (struct dwarf_section *  
section,
                            dir, n_directories);
                      printf (_("\n <over large directory table entry %u>\n"), 
dir);
                    }
+                 else if (linfo.li_version >= 5)
+                   printf ("\n%s/%s:\n",
+                           /* The directory index starts counting at 0.  */
+                           directory_table[dir], file_table[file].name);
                  else
                    printf ("\n%s/%s:\n",
                            /* The directory index starts counting at 1.  */
-- 
2.35.3


++++++ 0001-dllwrap-windres-and-dlltools-use-mktemp-which-should.patch ++++++
>From f4492fb683013d7de6f4788df6deb24fed8671b4 Mon Sep 17 00:00:00 2001
From: Nick Clifton <[email protected]>
Date: Thu, 1 Sep 2022 14:51:50 +0100
Subject: [PATCH] dllwrap, windres and dlltools use mktemp, which should be
 avoided

        PR 29534
        * dllwrap.c: Replace uses of choose_temp_base() with
        make_temp_file().
        * dlltool.c: Likewise.
        * resrc.c: Likewise.
    
Note: hunk for changelog has been removed to avoid conflicts    
---
 binutils/dlltool.c | 2 +-
 binutils/dllwrap.c | 6 +++---
 binutils/resrc.c   | 4 ++--
 4 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/binutils/dlltool.c b/binutils/dlltool.c
index b4ac842212a..a3c5e0f778e 100644
--- a/binutils/dlltool.c
+++ b/binutils/dlltool.c
@@ -1270,7 +1270,7 @@ run (const char *what, char *args)
   int i;
   const char **argv;
   char *errmsg_fmt = NULL, *errmsg_arg = NULL;
-  char *temp_base = choose_temp_base ();
+  char *temp_base = make_temp_file ("");
 
   inform (_("run: %s %s"), what, args);
 
diff --git a/binutils/dllwrap.c b/binutils/dllwrap.c
index 1be3cec72f1..7c77701f4e9 100644
--- a/binutils/dllwrap.c
+++ b/binutils/dllwrap.c
@@ -351,7 +351,7 @@ run (const char *what, char *args)
   int i;
   const char **argv;
   char *errmsg_fmt = NULL, *errmsg_arg = NULL;
-  char *temp_base = choose_temp_base ();
+  char *temp_base = make_temp_file (NULL);
   int in_quote;
   char sep;
 
@@ -818,7 +818,7 @@ main (int argc, char **argv)
 
   if (! def_file_seen)
     {
-      char *fileprefix = choose_temp_base ();
+      char *fileprefix = make_temp_file (NULL);
 
       def_file_name = (char *) xmalloc (strlen (fileprefix) + 5);
       sprintf (def_file_name, "%s.def",
@@ -1031,7 +1031,7 @@ Creating one, but that may not be what you want"));
 
   if (! base_file_name)
     {
-      char *fileprefix = choose_temp_base ();
+      char *fileprefix = make_temp_file (NULL);
       base_file_name = (char *) xmalloc (strlen (fileprefix) + 6);
       sprintf (base_file_name, "%s.base",
               (dontdeltemps) ? mybasename (fileprefix) : fileprefix);
diff --git a/binutils/resrc.c b/binutils/resrc.c
index fff77f4f28a..2cf168e0f58 100644
--- a/binutils/resrc.c
+++ b/binutils/resrc.c
@@ -202,7 +202,7 @@ run_cmd (char *cmd, const char *redir)
   int i;
   const char **argv;
   char *errmsg_fmt = NULL, *errmsg_arg = NULL;
-  char *temp_base = choose_temp_base ();
+  char *temp_base = make_temp_file (NULL);
   int in_quote;
   char sep;
   int redir_handle = -1;
@@ -316,7 +316,7 @@ open_input_stream (char *cmd)
     {
       char *fileprefix;
 
-      fileprefix = choose_temp_base ();
+      fileprefix = make_temp_file (NULL);
       cpp_temp_file = (char *) xmalloc (strlen (fileprefix) + 5);
       sprintf (cpp_temp_file, "%s.irc", fileprefix);
       free (fileprefix);
-- 
2.35.3

Reply via email to