From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1508911-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 5D53915ACFD
	for <garchives@archives.gentoo.org>; Tue, 18 Apr 2023 13:55:18 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 71A46E08DA;
	Tue, 18 Apr 2023 13:55:17 +0000 (UTC)
Received: from smtp.gentoo.org (dev.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 5ABAAE08DB
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 Apr 2023 13:55:17 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(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 smtp.gentoo.org (Postfix) with ESMTPS id 8B932340BCD
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 Apr 2023 13:55:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 02037A3D
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 Apr 2023 13:55:15 +0000 (UTC)
From: "Maciej Barć" <xgqt@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, "Maciej Barć" <xgqt@gentoo.org>
Message-ID: <1681826109.adc145bc60a27b69c8d00f1eb7e44f33cd57be44.xgqt@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cryptominisat/, sci-mathematics/cryptominisat/files/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sci-mathematics/cryptominisat/cryptominisat-5.11.4.ebuild sci-mathematics/cryptominisat/files/cryptominisat-5.11.4-gcc-13.patch
X-VCS-Directories: sci-mathematics/cryptominisat/ sci-mathematics/cryptominisat/files/
X-VCS-Committer: xgqt
X-VCS-Committer-Name: Maciej Barć
X-VCS-Revision: adc145bc60a27b69c8d00f1eb7e44f33cd57be44
X-VCS-Branch: master
Date: Tue, 18 Apr 2023 13:55:15 +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: 9c9fbbb0-c7ef-43e0-a7b3-4972cf64d09b
X-Archives-Hash: ea3736305b7d5908332e6e0a80f1371e

commit:     adc145bc60a27b69c8d00f1eb7e44f33cd57be44
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 18 12:59:27 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Apr 18 13:55:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adc145bc

sci-mathematics/cryptominisat: fix build with GCC 13

Closes: https://bugs.gentoo.org/895116
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 sci-mathematics/cryptominisat/cryptominisat-5.11.4.ebuild     |  2 ++
 .../cryptominisat/files/cryptominisat-5.11.4-gcc-13.patch     | 11 +++++++++++
 2 files changed, 13 insertions(+)

diff --git a/sci-mathematics/cryptominisat/cryptominisat-5.11.4.ebuild b/sci-mathematics/cryptominisat/cryptominisat-5.11.4.ebuild
index a4f699cc2afd..6ff76af75ca2 100644
--- a/sci-mathematics/cryptominisat/cryptominisat-5.11.4.ebuild
+++ b/sci-mathematics/cryptominisat/cryptominisat-5.11.4.ebuild
@@ -21,6 +21,8 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 
+PATCHES=( "${FILESDIR}"/${PN}-5.11.4-gcc-13.patch )
+
 src_configure() {
 	local -a mycmakeargs=(
 		-DNOBREAKID=ON

diff --git a/sci-mathematics/cryptominisat/files/cryptominisat-5.11.4-gcc-13.patch b/sci-mathematics/cryptominisat/files/cryptominisat-5.11.4-gcc-13.patch
new file mode 100644
index 000000000000..e9c7fade75fe
--- /dev/null
+++ b/sci-mathematics/cryptominisat/files/cryptominisat-5.11.4-gcc-13.patch
@@ -0,0 +1,11 @@
+index 0cf7910..54cb45e 100644
+--- a/src/ccnr.h
++++ b/src/ccnr.h
+@@ -23,6 +23,7 @@ THE SOFTWARE.
+ #ifndef CCNR_H
+ #define CCNR_H
+ 
++#include <cstdint>
+ #include <string>
+ #include <vector>
+ #include "ccnr_mersenne.h"