Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sedutil for openSUSE:Factory checked 
in at 2023-03-28 17:50:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sedutil (Old)
 and      /work/SRC/openSUSE:Factory/.sedutil.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sedutil"

Tue Mar 28 17:50:25 2023 rev:4 rq:1074813 version:1.20.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/sedutil/sedutil.changes  2022-12-05 
18:01:40.464736208 +0100
+++ /work/SRC/openSUSE:Factory/.sedutil.new.31432/sedutil.changes       
2023-03-28 17:50:32.079313373 +0200
@@ -1,0 +2,6 @@
+Tue Mar 28 03:25:34 UTC 2023 - Michael Chang <mch...@suse.com>
+
+- Fix GCC 13 build error
+  * Fix-build-with-GCC-13.patch
+
+-------------------------------------------------------------------

New:
----
  Fix-build-with-GCC-13.patch

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

Other differences:
------------------
++++++ sedutil.spec ++++++
--- /var/tmp/diff_new_pack.PnbA2o/_old  2023-03-28 17:50:32.607315920 +0200
+++ /var/tmp/diff_new_pack.PnbA2o/_new  2023-03-28 17:50:32.611315939 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sedutil
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,7 @@
 Source2:        linuxpba.sh
 Source3:        sedutil-pba.pl
 Patch0:         kernel_nvme_header.patch
+Patch1:         Fix-build-with-GCC-13.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -47,6 +48,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 autoreconf -fi

++++++ Fix-build-with-GCC-13.patch ++++++
>From b47102bf6066e5342fdbb69bd767cd70a0a59bf9 Mon Sep 17 00:00:00 2001
From: Yaakov Selkowitz <yselk...@redhat.com>
Date: Sun, 19 Feb 2023 21:28:10 -0500
Subject: [PATCH] Fix build with GCC 13

As in previous versions, libstdc++ in GCC 13 has trimmed internal
inclusion of standard headers, necessitating their proper inclusion
when used:

https://gcc.gnu.org/gcc-13/porting_to.html
---
 Common/DtaOptions.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Common/DtaOptions.h b/Common/DtaOptions.h
index c012af1..ae368c9 100644
--- a/Common/DtaOptions.h
+++ b/Common/DtaOptions.h
@@ -21,6 +21,8 @@ along with sedutil.  If not, see 
<http://www.gnu.org/licenses/>.
 #ifndef _DTAOPTIONS_H
 #define        _DTAOPTIONS_H
 
+#include <stdint.h>
+
 /** Output modes */
 typedef enum _sedutiloutput {
        sedutilNormal,
-- 
2.39.2

Reply via email to