sci-biology/augustus: fix gcc15 build

Closes: https://bugs.gentoo.org/949617
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40531
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2025-02-11 15:05:38 +02:00
committed by Sam James
parent 28a6b6d1a1
commit eb668702f3
2 changed files with 21 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/augustus-3.4.0-missing-cstdint.patch
"${FILESDIR}"/augustus-3.5.0-fix-gcc15.patch
)
pkg_setup() {

View File

@@ -0,0 +1,20 @@
https://bugs.gentoo.org/949617
https://github.com/Gaius-Augustus/Augustus/pull/431
From b7cbe782e840c82da1eeb2aae7a1a757ecef9fb0 Mon Sep 17 00:00:00 2001
From: Alfred Wingate <parona@protonmail.com>
Date: Tue, 11 Feb 2025 14:57:23 +0200
Subject: [PATCH] filterBam: include missing header for gcc15
Bug: https://bugs.gentoo.org/949617
Signed-off-by: Alfred Wingate <parona@protonmail.com>
--- a/auxprogs/filterBam/src/headers/bamaccess.hh
+++ b/auxprogs/filterBam/src/headers/bamaccess.hh
@@ -7,6 +7,7 @@
#include <iostream>
#include <vector>
#include <memory>
+#include <cstdint>
class BamAlignmentRecord;
typedef std::shared_ptr<BamAlignmentRecord> BamAlignmentRecord_;