1 |
commit: 6eac6b8ce698c2e872cb5a22aaaafca9b4f241e3 |
2 |
Author: François Bissey <frp.bissey <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat May 1 01:09:07 2021 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 3 00:04:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eac6b8c |
7 |
|
8 |
sci-libs/fplll: Add upstreamed patch for gcc11 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
11 |
Closes: https://bugs.gentoo.org/786858 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/20622 |
13 |
Signed-off-by: François René Pierre Bissey <frp.bissey <AT> gmail.com> |
14 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
15 |
|
16 |
sci-libs/fplll/files/fplll-5.4.0-gcc11.patch | 21 +++++++++++++++++++++ |
17 |
sci-libs/fplll/fplll-5.4.0.ebuild | 4 +++- |
18 |
2 files changed, 24 insertions(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/sci-libs/fplll/files/fplll-5.4.0-gcc11.patch b/sci-libs/fplll/files/fplll-5.4.0-gcc11.patch |
21 |
new file mode 100644 |
22 |
index 00000000000..935d342cda1 |
23 |
--- /dev/null |
24 |
+++ b/sci-libs/fplll/files/fplll-5.4.0-gcc11.patch |
25 |
@@ -0,0 +1,21 @@ |
26 |
+From 1d7dded000e425bb103841e68c79f81b335b7271 Mon Sep 17 00:00:00 2001 |
27 |
+From: =?UTF-8?q?Fran=C3=A7ois=20Bissey?= <frp.bissey@×××××.com> |
28 |
+Date: Sat, 1 May 2021 08:19:41 +1200 |
29 |
+Subject: [PATCH] minimal change to compile with gcc-11 |
30 |
+ |
31 |
+--- |
32 |
+ fplll/enum/enumerate_ext_api.h | 1 + |
33 |
+ 1 file changed, 1 insertion(+) |
34 |
+ |
35 |
+diff --git a/fplll/enum/enumerate_ext_api.h b/fplll/enum/enumerate_ext_api.h |
36 |
+index 387a1461..803c870e 100644 |
37 |
+--- a/fplll/enum/enumerate_ext_api.h |
38 |
++++ b/fplll/enum/enumerate_ext_api.h |
39 |
+@@ -18,6 +18,7 @@ |
40 |
+ #define FPLLL_ENUMERATE_EXT_API_H |
41 |
+ |
42 |
+ #include <array> |
43 |
++#include <cstdint> |
44 |
+ #include <functional> |
45 |
+ #include <memory> |
46 |
+ |
47 |
|
48 |
diff --git a/sci-libs/fplll/fplll-5.4.0.ebuild b/sci-libs/fplll/fplll-5.4.0.ebuild |
49 |
index 1dbb837fc8b..ecdf4079d97 100644 |
50 |
--- a/sci-libs/fplll/fplll-5.4.0.ebuild |
51 |
+++ b/sci-libs/fplll/fplll-5.4.0.ebuild |
52 |
@@ -1,4 +1,4 @@ |
53 |
-# Copyright 1999-2020 Gentoo Authors |
54 |
+# Copyright 1999-2021 Gentoo Authors |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
|
57 |
EAPI=7 |
58 |
@@ -18,6 +18,8 @@ DEPEND="dev-libs/gmp:0 |
59 |
qd? ( sci-libs/qd )" |
60 |
RDEPEND="${DEPEND}" |
61 |
|
62 |
+PATCHES=( "${FILESDIR}/${PN}-5.4.0-gcc11.patch" ) |
63 |
+ |
64 |
src_configure() { |
65 |
econf \ |
66 |
$(use_with qd) \ |