commit:     7c6e7be68bb48e11f88db9a48ea25be3000456e9
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 10 21:24:58 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Dec 10 21:24:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c6e7be6

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 <tupone <AT> gentoo.org>

 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 878b4f82cf55..a4987b54f610 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
+ 

Reply via email to