forked from openembedded/meta-openembedded
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
abseil-cpp: backport a fix for build with gcc-13
Source: meta-openembedded MR: 126092 Type: Integration Disposition: Merged from meta-openembedded ChangeID: ac933b0 Description: * needed for abseil-cpp-native on hosts with gcc-13" Signed-off-by: Martin Jansa <[email protected]> Signed-off-by: Armin Kuster <[email protected]> Signed-off-by: Jeremy A. Puhlman <[email protected]>
- Loading branch information
1 parent
11aba7a
commit a3efd26
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
...ols/abseil-cpp/abseil-cpp/0001-absl-strings-internal-str_format-extension.h-add-mis.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From b436bc4ef31e29d73363d60b84e77eb419f46c50 Mon Sep 17 00:00:00 2001 | ||
From: Sergei Trofimovich <[email protected]> | ||
Date: Fri, 27 May 2022 22:27:58 +0100 | ||
Subject: [PATCH] absl/strings/internal/str_format/extension.h: add missing | ||
<stdint.h> include | ||
|
||
Without the change absl-cpp build fails on this week's gcc-13 snapshot as: | ||
|
||
/build/abseil-cpp/absl/strings/internal/str_format/extension.h:34:33: error: found ':' in nested-name-specifier, expected '::' | ||
34 | enum class FormatConversionChar : uint8_t; | ||
| ^ | ||
| :: | ||
|
||
Upstream-Status: Backport [20220623.0 36a4b073f1e7e02ed7d1ac140767e36f82f09b7c] | ||
Signed-off-by: Martin Jansa <[email protected]> | ||
--- | ||
absl/strings/internal/str_format/extension.h | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/absl/strings/internal/str_format/extension.h b/absl/strings/internal/str_format/extension.h | ||
index c47536d6..08c3fbeb 100644 | ||
--- a/absl/strings/internal/str_format/extension.h | ||
+++ b/absl/strings/internal/str_format/extension.h | ||
@@ -17,6 +17,7 @@ | ||
#define ABSL_STRINGS_INTERNAL_STR_FORMAT_EXTENSION_H_ | ||
|
||
#include <limits.h> | ||
+#include <stdint.h> | ||
|
||
#include <cstddef> | ||
#include <cstring> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters