sci-libs/fplll: Add upstreamed patch for gcc11

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Closes: https://bugs.gentoo.org/786858
Closes: https://github.com/gentoo/gentoo/pull/20622
Signed-off-by: François René Pierre Bissey <frp.bissey@gmail.com>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
François Bissey
2021-05-01 13:09:07 +12:00
committed by Michael Orlitzky
parent 8d7597eeda
commit 6eac6b8ce6
2 changed files with 24 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
From 1d7dded000e425bb103841e68c79f81b335b7271 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Bissey?= <frp.bissey@gmail.com>
Date: Sat, 1 May 2021 08:19:41 +1200
Subject: [PATCH] minimal change to compile with gcc-11
---
fplll/enum/enumerate_ext_api.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/fplll/enum/enumerate_ext_api.h b/fplll/enum/enumerate_ext_api.h
index 387a1461..803c870e 100644
--- a/fplll/enum/enumerate_ext_api.h
+++ b/fplll/enum/enumerate_ext_api.h
@@ -18,6 +18,7 @@
#define FPLLL_ENUMERATE_EXT_API_H
#include <array>
+#include <cstdint>
#include <functional>
#include <memory>

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,6 +18,8 @@ DEPEND="dev-libs/gmp:0
qd? ( sci-libs/qd )"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${PN}-5.4.0-gcc11.patch" )
src_configure() {
econf \
$(use_with qd) \