From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcl/files/, dev-lang/tcl/
Date: Fri, 4 Nov 2022 03:49:12 +0000 (UTC) [thread overview]
Message-ID: <1667532307.5d6b66d8c11339660690afce73716a5a72c4658c.sam@gentoo> (raw)
commit: 5d6b66d8c11339660690afce73716a5a72c4658c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 4 03:14:00 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 4 03:25:07 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d6b66d8
dev-lang/tcl: fix configure w/ clang 16
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../tcl/files/tcl-8.6.12-configure-clang16.patch | 31 ++++++++++++++++++++++
.../{tcl-8.6.12.ebuild => tcl-8.6.12-r1.ebuild} | 1 +
2 files changed, 32 insertions(+)
diff --git a/dev-lang/tcl/files/tcl-8.6.12-configure-clang16.patch b/dev-lang/tcl/files/tcl-8.6.12-configure-clang16.patch
new file mode 100644
index 000000000000..8714faccbe1b
--- /dev/null
+++ b/dev-lang/tcl/files/tcl-8.6.12-configure-clang16.patch
@@ -0,0 +1,31 @@
+https://github.com/tcltk/tcl/commit/5eb33c5c7e9d6b703275b680f337691ecfe38f2a
+
+From 5eb33c5c7e9d6b703275b680f337691ecfe38f2a Mon Sep 17 00:00:00 2001
+From: "jan.nijtmans" <nijtmans@users.sourceforge.net>
+Date: Sun, 7 Nov 2021 21:34:08 +0000
+Subject: [PATCH] Fix [15845d9fd8]: unix/tcl.m4: implicit declaration of exit()
+ in timezone variable checks
+
+--- a/unix/tcl.m4
++++ b/unix/tcl.m4
+@@ -2349,7 +2349,8 @@ AC_DEFUN([SC_TIME_HANDLER], [
+ # (like convex) have timezone functions, etc.
+ #
+ AC_CACHE_CHECK([long timezone variable], tcl_cv_timezone_long, [
+- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]],
++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>
++#include <stdlib.h>]],
+ [[extern long timezone;
+ timezone += 1;
+ exit (0);]])],
+@@ -2361,7 +2362,8 @@ AC_DEFUN([SC_TIME_HANDLER], [
+ # On some systems (eg IRIX 6.2), timezone is a time_t and not a long.
+ #
+ AC_CACHE_CHECK([time_t timezone variable], tcl_cv_timezone_time, [
+- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]],
++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>
++#include <stdlib.h>]],
+ [[extern time_t timezone;
+ timezone += 1;
+ exit (0);]])],
+
diff --git a/dev-lang/tcl/tcl-8.6.12.ebuild b/dev-lang/tcl/tcl-8.6.12-r1.ebuild
similarity index 98%
rename from dev-lang/tcl/tcl-8.6.12.ebuild
rename to dev-lang/tcl/tcl-8.6.12-r1.ebuild
index 35226b4ca7ca..c7bd860d3075 100644
--- a/dev-lang/tcl/tcl-8.6.12.ebuild
+++ b/dev-lang/tcl/tcl-8.6.12-r1.ebuild
@@ -28,6 +28,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-8.6.10-multilib.patch
"${FILESDIR}"/${PN}-8.6.8-conf.patch # Bug 125971
"${FILESDIR}"/${PN}-8.6.9-include-spec.patch # Bug 731120
+ "${FILESDIR}"/${P}-configure-clang16.patch
)
src_prepare() {
next reply other threads:[~2022-11-04 3:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-04 3:49 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-11-29 15:04 [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcl/files/, dev-lang/tcl/ Andreas Sturmlechner
2021-04-19 7:58 Andreas Sturmlechner
2020-12-26 10:22 Alfredo Tupone
2020-07-15 19:22 Alfredo Tupone
2018-07-30 5:55 Jeroen Roovers
2018-04-15 14:25 Amy Liffey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1667532307.5d6b66d8c11339660690afce73716a5a72c4658c.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox