Script 'mail_helper' called by obssrc
Hello community,

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

Package is "mingw64-binutils"

Tue Sep 13 15:09:41 2022 rev:5 rq:1003051 version:2.39

Changes:
--------
--- /work/SRC/openSUSE:Factory/mingw64-binutils/mingw64-binutils.changes        
2022-08-30 14:51:17.088396735 +0200
+++ 
/work/SRC/openSUSE:Factory/.mingw64-binutils.new.2083/mingw64-binutils.changes  
    2022-09-13 15:11:09.196940611 +0200
@@ -7,0 +8,7 @@
+- 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
+- Sync with mingw32 variant
--- /work/SRC/openSUSE:Factory/mingw64-binutils/mingw64-cross-binutils.changes  
2022-08-30 14:51:17.108396786 +0200
+++ 
/work/SRC/openSUSE:Factory/.mingw64-binutils.new.2083/mingw64-cross-binutils.changes
        2022-09-13 15:11:09.212940656 +0200
@@ -7,0 +8,7 @@
+- 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
+- Sync with mingw32 variant  

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:
------------------
++++++ mingw64-binutils.spec ++++++
--- /var/tmp/diff_new_pack.12ctRO/_old  2022-09-13 15:11:09.792942289 +0200
+++ /var/tmp/diff_new_pack.12ctRO/_new  2022-09-13 15:11:09.796942300 +0200
@@ -16,6 +16,8 @@
 #
 
 
+%global _default_patch_fuzz 2
+
 Name:           mingw64-binutils
 Version:        2.39
 Release:        0
@@ -26,6 +28,8 @@
 Source:         http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz
 Source99:       mingw64-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
@@ -86,7 +90,7 @@
 %{_mingw64_libdir}/libctf.a
 %{_mingw64_libdir}/libctf-nobfd.a
 %{_mingw64_libdir}/libopcodes.a
-# required by libbfd
+# required by libbfd.a
 %{_mingw64_libdir}/libiberty.a
 
 %changelog

++++++ mingw64-cross-binutils.spec ++++++
--- /var/tmp/diff_new_pack.12ctRO/_old  2022-09-13 15:11:09.820942368 +0200
+++ /var/tmp/diff_new_pack.12ctRO/_new  2022-09-13 15:11:09.824942379 +0200
@@ -16,6 +16,8 @@
 #
 
 
+%global _default_patch_fuzz 2
+
 Name:           mingw64-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:  mingw64-filesystem
+BuildRequires:  mingw64-cross-gcc-c++
 BuildRequires:  texinfo
 # NB: This must be left in.
 Requires:       mingw64-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