[arrow] fix compile errors under gcc-17: missing std::ostringstream i… (#52694)

This commit is contained in:
Wentsing Nee 2026-07-05 19:02:41 +08:00 committed by GitHub
parent 7bdfb8158a
commit dfcb04008a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 18 additions and 2 deletions

View File

@ -0,0 +1,10 @@
--- a/cpp/src/arrow/util/string_util.h
+++ b/cpp/src/arrow/util/string_util.h
@@ -17,6 +17,7 @@
#pragma once
+#include <iosfwd>
#include <memory>
#include <ostream>
#include <string>

View File

@ -13,6 +13,7 @@ vcpkg_extract_source_archive(
0004-android-datetime.patch
0005-cmake-msvcruntime.patch
0007-use-vcpkg-mimalloc.patch
0008-ostringstring.patch
)
# Check cpp/cmake_modules/DefineOptions.cmake for option dependencies -

View File

@ -1,7 +1,7 @@
{
"name": "arrow",
"version": "24.0.0",
"port-version": 1,
"port-version": 2,
"description": "Cross-language development platform for in-memory analytics",
"homepage": "https://arrow.apache.org",
"license": "Apache-2.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "72f4c8f5f7cb8893da5bdca7db90314e25493b16",
"version": "24.0.0",
"port-version": 2
},
{
"git-tree": "5f340d325574ccf47ee4ce62b96a19a817c2aaeb",
"version": "24.0.0",

View File

@ -294,7 +294,7 @@
},
"arrow": {
"baseline": "24.0.0",
"port-version": 1
"port-version": 2
},
"arrow-adbc": {
"baseline": "23",