diff options
author | 2024-03-02 22:28:09 +0100 | |
---|---|---|
committer | 2024-03-02 22:28:51 +0100 | |
commit | 2cca005b2ad9473698acacd1aa776af451b12d91 (patch) | |
tree | fed77b6daac2e560bed3c91590348045bdedc5a7 /dev-lang/gnat-gpl | |
parent | sci-chemistry/autodock_vina: Fix build with recent boost (diff) | |
download | gentoo-2cca005b2ad9473698acacd1aa776af451b12d91.tar.gz gentoo-2cca005b2ad9473698acacd1aa776af451b12d91.tar.bz2 gentoo-2cca005b2ad9473698acacd1aa776af451b12d91.zip |
dev-lang/gnat-gpl: fix implicit declaration
Closes: https://bugs.gentoo.org/911515
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-lang/gnat-gpl')
-rw-r--r-- | dev-lang/gnat-gpl/files/gnat-gpl-2021-gentoo.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-lang/gnat-gpl/files/gnat-gpl-2021-gentoo.patch b/dev-lang/gnat-gpl/files/gnat-gpl-2021-gentoo.patch index 2bfc54c551a9..485626c03569 100644 --- a/dev-lang/gnat-gpl/files/gnat-gpl-2021-gentoo.patch +++ b/dev-lang/gnat-gpl/files/gnat-gpl-2021-gentoo.patch @@ -49,3 +49,45 @@ case "$enable_cet" in auto) # Check if target supports multi-byte NOPs +--- a/gcc-10-2021-20210519-19A74-src/libiberty/configure 2024-03-02 19:45:34.658271627 +0100 ++++ b/gcc-10-2021-20210519-19A74-src/libiberty/configure 2024-03-02 19:54:48.013538533 +0100 +@@ -6709,6 +6709,9 @@ + if test "$cross_compiling" = yes; then : + ac_cv_c_stack_direction=0 + else ++ cat >>confdefs.h <<_ACEOF ++#include <stdlib.h> ++_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + find_stack_direction () +@@ -7539,6 +7542,9 @@ + if test "$cross_compiling" = yes; then : + ac_cv_func_strncmp_works=yes + else ++ cat >>confdefs.h <<_ACEOF ++#include <string.h> ++_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +--- a/gcc-10-2021-20210519-19A74-src/libsanitizer/configure 2024-03-02 20:41:56.810707374 +0100 ++++ b/gcc-10-2021-20210519-19A74-src/libsanitizer/configure 2024-03-02 20:43:00.189080219 +0100 +@@ -16073,6 +16073,7 @@ + sanitizer_supported=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include <sys/syscall.h> ++#include <unistd.h> + int + main () +--- a/gcc-10-2021-20210519-19A74-src/libgfortran/configure 2024-03-02 21:57:47.282939696 +0100 ++++ b/gcc-10-2021-20210519-19A74-src/libgfortran/configure 2024-03-02 21:58:34.702446345 +0100 +@@ -26391,6 +26391,7 @@ + #if HAVE_IEEEFP_H + # include <ieeefp.h> + #endif /* HAVE_IEEEFP_H */ ++extern void fpsetmask(int); + int + main () + { |