mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
dev-cpp/abseil-cpp: 20211102.0-r2: fix build on gcc-13
Fixes: https://bugs.gentoo.org/865211 Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
This commit is contained in:
parent
a09062248f
commit
227b524fe0
@ -39,6 +39,7 @@ PATCHES=(
|
||||
"${FILESDIR}/${PN}-20211102.0-fix-cuda-nvcc-build.patch"
|
||||
"${FILESDIR}/${PN}-20211102.0-r2-cuda11.6-compile-fix.patch"
|
||||
"${FILESDIR}/${PN}-20211102.0-r2-loong.patch"
|
||||
"${FILESDIR}/${PN}-20211102.0-r2-gcc-13.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
@ -0,0 +1,24 @@
|
||||
https://github.com/abseil/abseil-cpp/commit/36a4b073f1e7e02ed7d1ac140767e36f82f09b7c
|
||||
|
||||
From 36a4b073f1e7e02ed7d1ac140767e36f82f09b7c Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Trofimovich <slyich@gmail.com>
|
||||
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;
|
||||
| ^
|
||||
| ::
|
||||
--- 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>
|
||||
Loading…
x
Reference in New Issue
Block a user