diff options
| author | Sam James <sam@gentoo.org> | 2022-11-18 01:14:30 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2022-11-18 01:14:30 +0000 |
| commit | 3c2b1c4ef1121bc8fa1a3b18ad3bbb0a22d5e0c1 (patch) | |
| tree | 461c0b3fd796c3181cc09fb4e5c82c253a5b3b98 /dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16.patch | |
| parent | 8a4f9b3dcc7ab205c22bd1fc97c0d259a43d1aa5 (diff) | |
| download | gentoo-3c2b1c4ef1121bc8fa1a3b18ad3bbb0a22d5e0c1.tar.gz gentoo-3c2b1c4ef1121bc8fa1a3b18ad3bbb0a22d5e0c1.tar.bz2 gentoo-3c2b1c4ef1121bc8fa1a3b18ad3bbb0a22d5e0c1.zip | |
dev-tcltk/tclx: fix configure w/ clang 16
Bug: https://bugs.gentoo.org/881713
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16.patch')
| -rw-r--r-- | dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16.patch b/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16.patch new file mode 100644 index 000000000000..89f90363246a --- /dev/null +++ b/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16.patch @@ -0,0 +1,32 @@ +https://github.com/flightaware/tclx/commit/dfd54117ca500c9422ff2e11940219d19cedb906 +https://bugs.gentoo.org/881713 + +From dfd54117ca500c9422ff2e11940219d19cedb906 Mon Sep 17 00:00:00 2001 +From: Jeremy Huddleston Sequoia <jeremyhu@apple.com> +Date: Tue, 23 Jun 2020 22:44:30 -0700 +Subject: [PATCH] Add missing #includes during configure tests + +These lead to failures when configuring on macOS on Apple Silicon + +Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> +--- a/configure.in ++++ b/configure.in +@@ -195,6 +195,7 @@ WIFEXITED(x); /* Generates compiler error if WIFEXITED uses an int. */ + AC_TRY_RUN([ + #include <sys/types.h> + #include <sys/times.h> ++#include <unistd.h> + main() { + struct tms cpu; + times(&cpu); +--- a/tclconfig/tcl.m4 ++++ b/tclconfig/tcl.m4 +@@ -2572,6 +2572,7 @@ AC_DEFUN([TEA_BUGGY_STRTOD], [ + if test "$tcl_strtod" = 1; then + AC_CACHE_CHECK([for Solaris2.4/Tru64 strtod bugs], tcl_cv_strtod_buggy,[ + AC_TRY_RUN([ ++ #include <stdlib.h> + extern double strtod(); + int main() { + char *infString="Inf", *nanString="NaN", *spaceString=" "; + |
