Accepting request 1074812 from home:michael-chang:branches:Base:System
- Fix GCC 13 build error * Fix-build-with-GCC-13.patch OBS-URL: https://build.opensuse.org/request/show/1074812 OBS-URL: https://build.opensuse.org/package/show/Base:System/sedutil?expand=0&rev=9
This commit is contained in:
parent
19b0c128bb
commit
d17af911a2
30
Fix-build-with-GCC-13.patch
Normal file
30
Fix-build-with-GCC-13.patch
Normal file
@ -0,0 +1,30 @@
|
||||
From b47102bf6066e5342fdbb69bd767cd70a0a59bf9 Mon Sep 17 00:00:00 2001
|
||||
From: Yaakov Selkowitz <yselkowi@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
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 28 03:25:34 UTC 2023 - Michael Chang <mchang@suse.com>
|
||||
|
||||
- Fix GCC 13 build error
|
||||
* Fix-build-with-GCC-13.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 4 12:16:10 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -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 @@ Source1: module-setup.sh
|
||||
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 @@ the PBA image itself.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
|
Loading…
Reference in New Issue
Block a user