aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-26 03:26:24 +0100
committerSam James <sam@gentoo.org>2022-06-26 03:26:24 +0100
commitcaa4485a49e1064181e7ac2df2c5476fbb6e9cf5 (patch)
treea9c43897b82d5ea3bce37af5705f806e30464f53
parent12.1.0: drop obsolete patch (diff)
downloadgcc-patches-caa4485a49e1064181e7ac2df2c5476fbb6e9cf5.tar.gz
gcc-patches-caa4485a49e1064181e7ac2df2c5476fbb6e9cf5.tar.bz2
gcc-patches-caa4485a49e1064181e7ac2df2c5476fbb6e9cf5.zip
12.1.0: update musl 50_all_calloc_libgccjit.patch
Closes: https://bugs.gentoo.org/851555 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--12.1.0/musl/50_all_calloc_libgccjit.patch30
-rw-r--r--12.1.0/musl/README.history3
2 files changed, 33 insertions, 0 deletions
diff --git a/12.1.0/musl/50_all_calloc_libgccjit.patch b/12.1.0/musl/50_all_calloc_libgccjit.patch
index 876f186..78c7f44 100644
--- a/12.1.0/musl/50_all_calloc_libgccjit.patch
+++ b/12.1.0/musl/50_all_calloc_libgccjit.patch
@@ -88,3 +88,33 @@ included #pragma GCC poison calloc
#undef PACKAGE_NAME
+--- a/gcc/cp/mapper-client.cc
++++ b/gcc/cp/mapper-client.cc
+@@ -27,6 +27,7 @@ along with GCC; see the file COPYING3. If not see
+ #define INCLUDE_STRING
+ #define INCLUDE_VECTOR
+ #define INCLUDE_MAP
++#include <pthread.h>
+ #include "system.h"
+
+ #include "line-map.h"
+--- a/gcc/cp/module.cc
++++ b/gcc/cp/module.cc
+@@ -204,6 +204,7 @@ Classes used:
+ #include "config.h"
+ #define INCLUDE_STRING
+ #define INCLUDE_VECTOR
++#include <pthread.h>
+ #include "system.h"
+ #include "coretypes.h"
+ #include "cp-tree.h"
+--- a/gcc/cp/mapper-resolver.cc
++++ b/gcc/cp/mapper-resolver.cc
+@@ -25,6 +25,7 @@ along with GCC; see the file COPYING3. If not see
+ #define INCLUDE_VECTOR
+ #define INCLUDE_ALGORITHM
+ #define INCLUDE_MAP
++#include <pthread.h>
+ #include "system.h"
+
+ // We don't want or need to be aware of networking
diff --git a/12.1.0/musl/README.history b/12.1.0/musl/README.history
index 01e2278..37283bd 100644
--- a/12.1.0/musl/README.history
+++ b/12.1.0/musl/README.history
@@ -1,3 +1,6 @@
+4 26 Jun 2022
+ U 50_all_calloc_libgccjit.patch
+
3 25 Apr 2022
- 25_all_multilib_pure64.patch