sci-biology/bedtools: fix gcc 13 build

Closes: https://bugs.gentoo.org/895860
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2023-04-18 12:04:37 +02:00
parent 0edb37e414
commit 0f6ed95b2b
2 changed files with 26 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-2.29.2-buildsystem.patch
"${FILESDIR}"/${PN}-2.29.2-python.patch
"${FILESDIR}"/${PN}-2.30.0-gcc13.patch
)
src_configure() {

View File

@@ -0,0 +1,25 @@
https://github.com/arq5x/bedtools2/pull/1045
From 7d7fb513b9b05b7a0512a83520e9f60036e5ff9a Mon Sep 17 00:00:00 2001
From: David Seifert <soap@gentoo.org>
Date: Tue, 18 Apr 2023 11:59:58 +0200
Subject: [PATCH] Add missing <cstdint> include
* breaks build with GCC 13:
https://bugs.gentoo.org/895860
---
src/utils/general/ParseTools.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/utils/general/ParseTools.h b/src/utils/general/ParseTools.h
index e056c149..3418eff1 100644
--- a/src/utils/general/ParseTools.h
+++ b/src/utils/general/ParseTools.h
@@ -16,6 +16,7 @@
#include "string.h"
#include <cstdio>
#include <cstdlib>
+#include <cstdint>
using namespace std;