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/STAR/, sci-biology/STAR/files/
Date: Sat,  7 May 2022 13:13:21 +0000 (UTC)	[thread overview]
Message-ID: <1651929193.1f20252245bf55c15c8664783024d06c1eaf6c6a.soap@gentoo> (raw)

commit:     1f20252245bf55c15c8664783024d06c1eaf6c6a
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May  7 13:13:13 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May  7 13:13:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f202522

sci-biology/STAR: fix GCC 12 build

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

 sci-biology/STAR/STAR-2.7.10a.ebuild               |  5 ++++-
 .../STAR/files/STAR-2.7.10a-missing-include.patch  | 22 ++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/sci-biology/STAR/STAR-2.7.10a.ebuild b/sci-biology/STAR/STAR-2.7.10a.ebuild
index 7239efcfe45c..c3deb5a94b0a 100644
--- a/sci-biology/STAR/STAR-2.7.10a.ebuild
+++ b/sci-biology/STAR/STAR-2.7.10a.ebuild
@@ -17,7 +17,10 @@ RDEPEND="sci-libs/htslib:="
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
-PATCHES=( "${FILESDIR}"/${PN}-2.7.10a-fix-build-system.patch )
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.7.10a-fix-build-system.patch
+	"${FILESDIR}"/${PN}-2.7.10a-missing-include.patch
+)
 DOCS=( README.md CHANGES.md RELEASEnotes.md doc/STARmanual.pdf )
 
 pkg_pretend() {

diff --git a/sci-biology/STAR/files/STAR-2.7.10a-missing-include.patch b/sci-biology/STAR/files/STAR-2.7.10a-missing-include.patch
new file mode 100644
index 000000000000..c056a8aad887
--- /dev/null
+++ b/sci-biology/STAR/files/STAR-2.7.10a-missing-include.patch
@@ -0,0 +1,22 @@
+From f5ad94329db4fd81fc6ae30684c298772002e30b Mon Sep 17 00:00:00 2001
+From: David Seifert <soap@gentoo.org>
+Date: Sat, 7 May 2022 15:06:11 +0200
+Subject: [PATCH] Add missing `#include <array>` (GCC 12)
+
+Bug: https://bugs.gentoo.org/840586
+---
+ source/SoloCommon.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/source/SoloCommon.h b/source/SoloCommon.h
+index 2a1d5fcf..5adc5040 100644
+--- a/source/SoloCommon.h
++++ b/source/SoloCommon.h
+@@ -1,6 +1,7 @@
+ #ifndef H_SoloCommon
+ #define H_SoloCommon
+ 
++#include <array>
+ #include <unordered_map>
+ 
+ typedef struct{


             reply	other threads:[~2022-05-07 13:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-07 13:13 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-02-19 19:56 [gentoo-commits] repo/gentoo:master commit in: sci-biology/STAR/, sci-biology/STAR/files/ David Seifert
2017-11-16 13:17 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=1651929193.1f20252245bf55c15c8664783024d06c1eaf6c6a.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