From 7c6e7be68bb48e11f88db9a48ea25be3000456e9 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Fri, 10 Dec 2021 22:24:58 +0100 Subject: [PATCH] dev-lang/gnat-gpl: fix for glibc-2.34 Closes: https://bugs.gentoo.org/824154 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone --- dev-lang/gnat-gpl/files/gnat-gpl-2020-gentoo.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dev-lang/gnat-gpl/files/gnat-gpl-2020-gentoo.patch b/dev-lang/gnat-gpl/files/gnat-gpl-2020-gentoo.patch index 878b4f82cf55b..a4987b54f6104 100644 --- a/dev-lang/gnat-gpl/files/gnat-gpl-2020-gentoo.patch +++ b/dev-lang/gnat-gpl/files/gnat-gpl-2020-gentoo.patch @@ -39,3 +39,15 @@ + %{fdump-scos:-fpreserve-decisions-generic}\ %{fprofile-arcs|fprofile-generate*|coverage:\ - %{!fprofile-update=singel:\ +--- a/gcc-9-2020-20200429-19AA7-src/gcc/ada/init.c 2021-12-10 22:12:34.061054044 +0100 ++++ b/gcc-9-2020-20200429-19AA7-src/gcc/ada/init.c 2021-12-10 22:13:36.033109326 +0100 +@@ -581,9 +581,6 @@ + #define HAVE_GNAT_ALTERNATE_STACK 1 + /* This must be in keeping with System.OS_Interface.Alternate_Stack_Size. + It must be larger than MINSIGSTKSZ and hopefully near 2 * SIGSTKSZ. */ +-# if 16 * 1024 < MINSIGSTKSZ +-# error "__gnat_alternate_stack too small" +-# endif + char __gnat_alternate_stack[16 * 1024]; + #endif +