commit:     caa4485a49e1064181e7ac2df2c5476fbb6e9cf5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 26 02:26:24 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 26 02:26:24 2022 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=caa4485a

12.1.0: update musl 50_all_calloc_libgccjit.patch

Closes: https://bugs.gentoo.org/851555
Signed-off-by: Sam James <sam <AT> gentoo.org>

 12.1.0/musl/50_all_calloc_libgccjit.patch | 30 ++++++++++++++++++++++++++++++
 12.1.0/musl/README.history                |  3 +++
 2 files changed, 33 insertions(+)

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

Reply via email to