sci-mathematics/cryptominisat: fix build with GCC 13

Closes: https://bugs.gentoo.org/895116
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2023-04-18 14:59:27 +02:00
parent 5a968aff45
commit adc145bc60
2 changed files with 13 additions and 0 deletions

View File

@@ -21,6 +21,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${PN}-5.11.4-gcc-13.patch )
src_configure() {
local -a mycmakeargs=(
-DNOBREAKID=ON

View File

@@ -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"