summaryrefslogtreecommitdiff
path: root/dev-util/mingw64-toolchain/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-23 23:21:09 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-23 23:21:09 +0100
commit3c246ed172bd795a519ba659ba32c9e91f6bedde (patch)
treee645817a0c9a25a248315adfe5ed38e76eb3d49d /dev-util/mingw64-toolchain/files
parentb42afc2e976bde12586d398e7cb53b7910866059 (diff)
gentoo auto-resync : 23:09:2023 - 23:21:08
Diffstat (limited to 'dev-util/mingw64-toolchain/files')
-rw-r--r--dev-util/mingw64-toolchain/files/gcc-13.2.0-libcxx-17.patch63
1 files changed, 63 insertions, 0 deletions
diff --git a/dev-util/mingw64-toolchain/files/gcc-13.2.0-libcxx-17.patch b/dev-util/mingw64-toolchain/files/gcc-13.2.0-libcxx-17.patch
new file mode 100644
index 000000000000..03c5b8cd01e3
--- /dev/null
+++ b/dev-util/mingw64-toolchain/files/gcc-13.2.0-libcxx-17.patch
@@ -0,0 +1,63 @@
+https://bugs.gentoo.org/914565
+--- a/gcc/gcc/system.h
++++ b/gcc/gcc/system.h
+@@ -201,6 +201,9 @@ extern int fprintf_unlocked (FILE *, con
+ #ifdef INCLUDE_STRING
+ # include <string>
+ #endif
++#ifdef INCLUDE_VECTOR
++# include <vector>
++#endif
+ #endif
+
+ /* There are an extraordinary number of issues with <ctype.h>.
+@@ -229,9 +232,6 @@ extern int errno;
+ #ifdef INCLUDE_SET
+ # include <set>
+ #endif
+-#ifdef INCLUDE_VECTOR
+-# include <vector>
+-#endif
+ #ifdef INCLUDE_ARRAY
+ # include <array>
+ #endif
+--- a/gcc/libcc1/libcc1plugin.cc
++++ b/gcc/libcc1/libcc1plugin.cc
+@@ -19,6 +19,8 @@
+
+ #include <cc1plugin-config.h>
+
++#include <vector>
++
+ #undef PACKAGE_NAME
+ #undef PACKAGE_STRING
+ #undef PACKAGE_TARNAME
+@@ -69,8 +71,6 @@
+ #include "gcc-c-interface.h"
+ #include "context.hh"
+
+-#include <vector>
+-
+ using namespace cc1_plugin;
+
+
+--- a/gcc/libcc1/libcp1plugin.cc
++++ b/gcc/libcc1/libcp1plugin.cc
+@@ -20,6 +20,8 @@
+
+ #include <cc1plugin-config.h>
+
++#include <vector>
++
+ #undef PACKAGE_NAME
+ #undef PACKAGE_STRING
+ #undef PACKAGE_TARNAME
+@@ -71,8 +73,6 @@
+ #include "rpc.hh"
+ #include "context.hh"
+
+-#include <vector>
+-
+ using namespace cc1_plugin;
+
+