From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1414631-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 8DC1C158093
	for <garchives@archives.gentoo.org>; Sun,  3 Jul 2022 00:57:11 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 92511E0BB7;
	Sun,  3 Jul 2022 00:57:10 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 6413DE0BB7
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Jul 2022 00:57:10 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 7277E341BED
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Jul 2022 00:57:09 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D3EF450C
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Jul 2022 00:57:07 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1656210384.caa4485a49e1064181e7ac2df2c5476fbb6e9cf5.sam@gentoo>
Subject: [gentoo-commits] proj/gcc-patches:master commit in: 12.1.0/musl/
X-VCS-Repository: proj/gcc-patches
X-VCS-Files: 12.1.0/musl/50_all_calloc_libgccjit.patch 12.1.0/musl/README.history
X-VCS-Directories: 12.1.0/musl/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: caa4485a49e1064181e7ac2df2c5476fbb6e9cf5
X-VCS-Branch: master
Date: Sun,  3 Jul 2022 00:57:07 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 3f4d2714-5af0-4bd4-b0df-f80af895be25
X-Archives-Hash: 7468f71dcc590aed57171724297e1259

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