From 6eac6b8ce698c2e872cb5a22aaaafca9b4f241e3 Mon Sep 17 00:00:00 2001 From: François Bissey Date: Sat, 1 May 2021 13:09:07 +1200 Subject: sci-libs/fplll: Add upstreamed patch for gcc11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Michael Orlitzky --- sci-libs/fplll/files/fplll-5.4.0-gcc11.patch | 21 +++++++++++++++++++++ sci-libs/fplll/fplll-5.4.0.ebuild | 4 +++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 sci-libs/fplll/files/fplll-5.4.0-gcc11.patch (limited to 'sci-libs') diff --git a/sci-libs/fplll/files/fplll-5.4.0-gcc11.patch b/sci-libs/fplll/files/fplll-5.4.0-gcc11.patch new file mode 100644 index 000000000000..935d342cda14 --- /dev/null +++ b/sci-libs/fplll/files/fplll-5.4.0-gcc11.patch @@ -0,0 +1,21 @@ +From 1d7dded000e425bb103841e68c79f81b335b7271 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fran=C3=A7ois=20Bissey?= +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 ++#include + #include + #include + diff --git a/sci-libs/fplll/fplll-5.4.0.ebuild b/sci-libs/fplll/fplll-5.4.0.ebuild index 1dbb837fc8b2..ecdf4079d976 100644 --- a/sci-libs/fplll/fplll-5.4.0.ebuild +++ b/sci-libs/fplll/fplll-5.4.0.ebuild @@ -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) \ -- cgit v1.2.3-65-gdbad