diff options
author | David Seifert <soap@gentoo.org> | 2023-04-18 12:04:37 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-04-18 12:04:37 +0200 |
commit | 0f6ed95b2b57ae7f9978b1a3b1620c3dcb06256e (patch) | |
tree | f183298ccbc6cd5ad55f14be458a33b7a2da149c /sci-biology | |
parent | sys-fs/android-file-transfer-linux: sync live; fix build w/ gcc 13 (diff) | |
download | gentoo-0f6ed95b2b57ae7f9978b1a3b1620c3dcb06256e.tar.gz gentoo-0f6ed95b2b57ae7f9978b1a3b1620c3dcb06256e.tar.bz2 gentoo-0f6ed95b2b57ae7f9978b1a3b1620c3dcb06256e.zip |
sci-biology/bedtools: fix gcc 13 build
Closes: https://bugs.gentoo.org/895860
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/bedtools/bedtools-2.30.0.ebuild | 1 | ||||
-rw-r--r-- | sci-biology/bedtools/files/bedtools-2.30.0-gcc13.patch | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/sci-biology/bedtools/bedtools-2.30.0.ebuild b/sci-biology/bedtools/bedtools-2.30.0.ebuild index 5a8174fbdfe0..b86b87e72dc4 100644 --- a/sci-biology/bedtools/bedtools-2.30.0.ebuild +++ b/sci-biology/bedtools/bedtools-2.30.0.ebuild @@ -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() { diff --git a/sci-biology/bedtools/files/bedtools-2.30.0-gcc13.patch b/sci-biology/bedtools/files/bedtools-2.30.0-gcc13.patch new file mode 100644 index 000000000000..c63faf31c851 --- /dev/null +++ b/sci-biology/bedtools/files/bedtools-2.30.0-gcc13.patch @@ -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; + |