public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/bedtools/files/, sci-biology/bedtools/
Date: Tue, 18 Apr 2023 10:04:45 +0000 (UTC)	[thread overview]
Message-ID: <1681812277.0f6ed95b2b57ae7f9978b1a3b1620c3dcb06256e.soap@gentoo> (raw)

commit:     0f6ed95b2b57ae7f9978b1a3b1620c3dcb06256e
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 18 10:04:37 2023 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Apr 18 10:04:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f6ed95b

sci-biology/bedtools: fix gcc 13 build

Closes: https://bugs.gentoo.org/895860
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-biology/bedtools/bedtools-2.30.0.ebuild        |  1 +
 .../bedtools/files/bedtools-2.30.0-gcc13.patch     | 25 ++++++++++++++++++++++
 2 files changed, 26 insertions(+)

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;
+ 


             reply	other threads:[~2023-04-18 10:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-18 10:04 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-25  9:38 [gentoo-commits] repo/gentoo:master commit in: sci-biology/bedtools/files/, sci-biology/bedtools/ David Seifert
2022-03-19 11:38 David Seifert
2020-08-16 20:50 David Seifert
2017-12-10  0:05 Michał Górny
2016-09-24 22:55 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1681812277.0f6ed95b2b57ae7f9978b1a3b1620c3dcb06256e.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox