Blame SOURCES/1739.patch

251050
From faf1b03a591f06933da02976119da5743f428e4f Mon Sep 17 00:00:00 2001
251050
From: Christopher Fore <csfore@posteo.net>
251050
Date: Mon, 5 Aug 2024 10:48:19 -0400
251050
Subject: [PATCH] container/internal: Explicitly include <cstdint>
251050
MIME-Version: 1.0
251050
Content-Type: text/plain; charset=UTF-8
251050
Content-Transfer-Encoding: 8bit
251050
251050
GCC 15 will no longer include <cstdint> by default, resulting in build
251050
failures in projects that do not explicitly include it.
251050
251050
Error:
251050
absl/container/internal/container_memory.h:66:27: error: ‘uintptr_t’ does not name a type
251050
   66 |   assert(reinterpret_cast<uintptr_t>(p) % Alignment == 0 &&
251050
      |                           ^~~~~~~~~
251050
absl/container/internal/container_memory.h:31:1: note: ‘uintptr_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
251050
   30 | #include "absl/utility/utility.h"
251050
  +++ |+#include <cstdint>
251050
   31 |
251050
251050
See-also: https://gcc.gnu.org/pipermail/gcc-cvs/2024-August/407124.html
251050
Signed-off-by: Christopher Fore <csfore@posteo.net>
251050
---
251050
 absl/container/internal/container_memory.h | 1 +
251050
 1 file changed, 1 insertion(+)
251050
251050
diff --git a/absl/container/internal/container_memory.h b/absl/container/internal/container_memory.h
251050
index ba8e08a2d22..e7031797018 100644
251050
--- a/absl/container/internal/container_memory.h
251050
+++ b/absl/container/internal/container_memory.h
251050
@@ -17,6 +17,7 @@
251050
 
251050
 #include <cassert>
251050
 #include <cstddef>
251050
+#include <cstdint>
251050
 #include <cstring>
251050
 #include <memory>
251050
 #include <new>