Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/STAR/, sci-biology/STAR/files/
Date: Sat, 07 May 2022 13:13:24
Message-Id: 1651929193.1f20252245bf55c15c8664783024d06c1eaf6c6a.soap@gentoo
1 commit: 1f20252245bf55c15c8664783024d06c1eaf6c6a
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 7 13:13:13 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat May 7 13:13:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f202522
7
8 sci-biology/STAR: fix GCC 12 build
9
10 Closes: https://bugs.gentoo.org/840586
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 sci-biology/STAR/STAR-2.7.10a.ebuild | 5 ++++-
14 .../STAR/files/STAR-2.7.10a-missing-include.patch | 22 ++++++++++++++++++++++
15 2 files changed, 26 insertions(+), 1 deletion(-)
16
17 diff --git a/sci-biology/STAR/STAR-2.7.10a.ebuild b/sci-biology/STAR/STAR-2.7.10a.ebuild
18 index 7239efcfe45c..c3deb5a94b0a 100644
19 --- a/sci-biology/STAR/STAR-2.7.10a.ebuild
20 +++ b/sci-biology/STAR/STAR-2.7.10a.ebuild
21 @@ -17,7 +17,10 @@ RDEPEND="sci-libs/htslib:="
22 DEPEND="${RDEPEND}"
23 BDEPEND="virtual/pkgconfig"
24
25 -PATCHES=( "${FILESDIR}"/${PN}-2.7.10a-fix-build-system.patch )
26 +PATCHES=(
27 + "${FILESDIR}"/${PN}-2.7.10a-fix-build-system.patch
28 + "${FILESDIR}"/${PN}-2.7.10a-missing-include.patch
29 +)
30 DOCS=( README.md CHANGES.md RELEASEnotes.md doc/STARmanual.pdf )
31
32 pkg_pretend() {
33
34 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
35 new file mode 100644
36 index 000000000000..c056a8aad887
37 --- /dev/null
38 +++ b/sci-biology/STAR/files/STAR-2.7.10a-missing-include.patch
39 @@ -0,0 +1,22 @@
40 +From f5ad94329db4fd81fc6ae30684c298772002e30b Mon Sep 17 00:00:00 2001
41 +From: David Seifert <soap@g.o>
42 +Date: Sat, 7 May 2022 15:06:11 +0200
43 +Subject: [PATCH] Add missing `#include <array>` (GCC 12)
44 +
45 +Bug: https://bugs.gentoo.org/840586
46 +---
47 + source/SoloCommon.h | 1 +
48 + 1 file changed, 1 insertion(+)
49 +
50 +diff --git a/source/SoloCommon.h b/source/SoloCommon.h
51 +index 2a1d5fcf..5adc5040 100644
52 +--- a/source/SoloCommon.h
53 ++++ b/source/SoloCommon.h
54 +@@ -1,6 +1,7 @@
55 + #ifndef H_SoloCommon
56 + #define H_SoloCommon
57 +
58 ++#include <array>
59 + #include <unordered_map>
60 +
61 + typedef struct{