[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/files/, dev-tcltk/tclx/

2024-02-26 Thread Alfredo Tupone
commit: 6795d1df8c3dfd87f090518b4e5b96093b70bada
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Tue Feb 27 07:13:33 2024 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Feb 27 07:13:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6795d1df

dev-tcltk/tclx: add 8.6.3, drop 8.4.4-r4

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclx/Manifest|   2 +-
 .../files/tclx-8.4.4-configure-clang16-deux.patch  |  83 -
 .../tclx/files/tclx-8.4.4-configure-clang16.patch  |  33 
 dev-tcltk/tclx/files/tclx-8.4.4-gcc11.patch| 192 -
 .../{tclx-8.4.4-r4.ebuild => tclx-8.6.3.ebuild}|  15 +-
 5 files changed, 7 insertions(+), 318 deletions(-)

diff --git a/dev-tcltk/tclx/Manifest b/dev-tcltk/tclx/Manifest
index b3aecab75124..eca9e2452738 100644
--- a/dev-tcltk/tclx/Manifest
+++ b/dev-tcltk/tclx/Manifest
@@ -1,2 +1,2 @@
-DIST tclx-8.4.4.tar.gz 456569 BLAKE2B 
50123f95ed780c28dae9e2f0db956b81b559ee9ea33563b999f33a727c451374a63c0cba3012d4dd46df020426c7fdb3b04f932fc5b6ec742156e9dad81a7d3b
 SHA512 
dcf9cbd08eae0cc4901e8e871a440e6c85d7d5ac923306206afaf0a1d931866ce3b91177d7b3a37e87a5cdcccb068ed7b9c76cb1a71a13f4f26cf204b8c42090
 DIST tclx-8.6.1.tar.gz 457438 BLAKE2B 
451b90a6f4403177604684a2a4475a057924faa4b625ac035d65b622b69e8dfea7146143056491ce8740374c18c4fbfb0184a0d074bf799897a01bb767e1695c
 SHA512 
4a2293aad667b108f19f837686044fc168831781d04a9f8eaa2afe677c587f1e128a536ad9db609720e0046a20ff6f8dd7a0e5dd1232ef775c5a14e24ec0614d
+DIST tclx-8.6.3.tar.gz 457293 BLAKE2B 
4d3578c0312bc2a0a0cfe079699893818ed6bce941dd84d4cb4786891e784930e0172c4c15892a2b81acf0f4a5062145e9f4397842185358b49658c692cd08cc
 SHA512 
680b8916ccb5725ed173b45549c94e7b1e17c4e5cf700c3991d2791b9f299660e94c880401dccfbff7ca630036c0781c41a9692c2d8ead2e7ad880e2e05a69e7

diff --git a/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16-deux.patch 
b/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16-deux.patch
deleted file mode 100644
index 278dc23bb94d..
--- a/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16-deux.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-https://github.com/flightaware/tclx/pull/15
-https://sourceforge.net/p/tclx/bugs/84/
-
-From a65705e6cba4fe395afbdc8c903b8b819d7e6962 Mon Sep 17 00:00:00 2001
-From: Sam James 
-Date: Fri, 18 Nov 2022 01:12:17 +
-Subject: [PATCH] Fix configure.ac compatibility with Clang 16
-
-Clang 16 makes -Wimplicit-function-declaration and -Wimplicit-int errors by 
default.
-
-Unfortunately, this can lead to misconfiguration or miscompilation of software 
as configure
-tests may then return the wrong result.
-
-We also fix -Wstrict-prototypes while here as it's easy to do and it prepares
-us for C23.
-
-For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki 
[2],
-or the (new) c-std-porting mailing list [3].
-
-[0] https://lwn.net/Articles/913505/
-[1] 
https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
-[2] https://wiki.gentoo.org/wiki/Modern_C_porting
-[3] hosted at lists.linux.dev.
-
-Bug: https://bugs.gentoo.org/881713
-Signed-off-by: Sam James 
 a/configure.in
-+++ b/configure.in
-@@ -193,10 +193,11 @@ WIFEXITED(x);/* Generates compiler error if 
WIFEXITED uses an int. */
- 
- AC_MSG_CHECKING(checking to see what 'times' returns)
- AC_TRY_RUN([
-+#include 
- #include 
- #include 
- #include 
--main() {
-+int main(void) {
- struct tms cpu;
- times();
- sleep(2);
-@@ -269,7 +270,8 @@ main() {
- 
- AC_CHECK_FUNC(catgets,
-   [AC_MSG_CHECKING([catclose return value])
--   AC_TRY_COMPILE([#include ], [
-+   AC_TRY_COMPILE([#include 
-+ #include ], [
-   if (catclose ((nl_catd) 0) == 0) exit (0);],
-   AC_MSG_RESULT(ok), [
-   AC_MSG_RESULT([broken catclose return type])
 a/tclconfig/tcl.m4
-+++ b/tclconfig/tcl.m4
-@@ -2525,7 +2525,8 @@ AC_DEFUN([TEA_TIME_HANDLER], [
- # (like convex) have timezone functions, etc.
- #
- AC_CACHE_CHECK([long timezone variable], tcl_cv_timezone_long, [
--  AC_TRY_COMPILE([#include ],
-+  AC_TRY_COMPILE([#include 
-+#include ],
-   [extern long timezone;
-   timezone += 1;
-   exit (0);],
-@@ -2537,7 +2538,8 @@ AC_DEFUN([TEA_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_TRY_COMPILE([#include ],
-+  AC_TRY_COMPILE([#include 
-+#include ],
-   [extern time_t timezone;
-   timezone += 1;
-   exit (0);],
-@@ -2574,7 +2576,7 @@ AC_DEFUN([TEA_BUGGY_STRTOD], [
-   AC_TRY_RUN([
-   #include 
-   extern double strtod();
--  int main() {
-+  int main(void) {
-   char 

[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/

2023-11-29 Thread Arthur Zamarin
commit: c413c3efb4f4925231ffa8999d084f43260f154e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Nov 29 19:37:52 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Nov 29 19:37:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c413c3ef

dev-tcltk/tclx: Stabilize 8.6.1 ppc, #914819

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-tcltk/tclx/tclx-8.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tclx/tclx-8.6.1.ebuild b/dev-tcltk/tclx/tclx-8.6.1.ebuild
index b249f68d1612..673c27dadcb1 100644
--- a/dev-tcltk/tclx/tclx-8.6.1.ebuild
+++ b/dev-tcltk/tclx/tclx-8.6.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
 IUSE="threads"
 
 DEPEND="dev-lang/tcl:0="



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/

2023-09-27 Thread Sam James
commit: c6c0c854a6ecc2e0e35afc4f7f82a401d964
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 28 04:20:42 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 28 04:20:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6c0c854

dev-tcltk/tclx: Stabilize 8.6.1 x86, #914819

Signed-off-by: Sam James  gentoo.org>

 dev-tcltk/tclx/tclx-8.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tclx/tclx-8.6.1.ebuild b/dev-tcltk/tclx/tclx-8.6.1.ebuild
index 4d901daa239e..b249f68d1612 100644
--- a/dev-tcltk/tclx/tclx-8.6.1.ebuild
+++ b/dev-tcltk/tclx/tclx-8.6.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
 IUSE="threads"
 
 DEPEND="dev-lang/tcl:0="



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/

2023-09-27 Thread Arthur Zamarin
commit: 5082f1032acd2001d4adbfb1e8e36377fdea5aaa
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Sep 27 13:28:14 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Sep 27 13:28:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5082f103

dev-tcltk/tclx: Stabilize 8.6.1 amd64, #914819

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-tcltk/tclx/tclx-8.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tclx/tclx-8.6.1.ebuild b/dev-tcltk/tclx/tclx-8.6.1.ebuild
index ec341dace231..4d901daa239e 100644
--- a/dev-tcltk/tclx/tclx-8.6.1.ebuild
+++ b/dev-tcltk/tclx/tclx-8.6.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE="threads"
 
 DEPEND="dev-lang/tcl:0="



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/files/, dev-tcltk/tclx/

2023-05-27 Thread Sam James
commit: 99978aef91ce40c35a94f4286f4309f0f236e32b
Author: Sam James  gentoo  org>
AuthorDate: Sat May 27 10:53:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 27 10:53:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99978aef

dev-tcltk/tclx: add 8.6.1

Signed-off-by: Sam James  gentoo.org>

 dev-tcltk/tclx/Manifest|  1 +
 dev-tcltk/tclx/files/tclx-8.4.4-musl.patch |  1 +
 dev-tcltk/tclx/tclx-8.6.1.ebuild   | 60 ++
 3 files changed, 62 insertions(+)

diff --git a/dev-tcltk/tclx/Manifest b/dev-tcltk/tclx/Manifest
index dc4959ca2a22..b3aecab75124 100644
--- a/dev-tcltk/tclx/Manifest
+++ b/dev-tcltk/tclx/Manifest
@@ -1 +1,2 @@
 DIST tclx-8.4.4.tar.gz 456569 BLAKE2B 
50123f95ed780c28dae9e2f0db956b81b559ee9ea33563b999f33a727c451374a63c0cba3012d4dd46df020426c7fdb3b04f932fc5b6ec742156e9dad81a7d3b
 SHA512 
dcf9cbd08eae0cc4901e8e871a440e6c85d7d5ac923306206afaf0a1d931866ce3b91177d7b3a37e87a5cdcccb068ed7b9c76cb1a71a13f4f26cf204b8c42090
+DIST tclx-8.6.1.tar.gz 457438 BLAKE2B 
451b90a6f4403177604684a2a4475a057924faa4b625ac035d65b622b69e8dfea7146143056491ce8740374c18c4fbfb0184a0d074bf799897a01bb767e1695c
 SHA512 
4a2293aad667b108f19f837686044fc168831781d04a9f8eaa2afe677c587f1e128a536ad9db609720e0046a20ff6f8dd7a0e5dd1232ef775c5a14e24ec0614d

diff --git a/dev-tcltk/tclx/files/tclx-8.4.4-musl.patch 
b/dev-tcltk/tclx/files/tclx-8.4.4-musl.patch
index 2fc45e05b6ab..301ad263b558 100644
--- a/dev-tcltk/tclx/files/tclx-8.4.4-musl.patch
+++ b/dev-tcltk/tclx/files/tclx-8.4.4-musl.patch
@@ -1,3 +1,4 @@
+https://github.com/flightaware/tclx/pull/16#issuecomment-1565348180
 --- a/configure.in 2023-03-15 22:00:11.725506240 +0100
 +++ b/configure.in 2023-03-15 22:00:29.230246904 +0100
 @@ -253,6 +253,7 @@

diff --git a/dev-tcltk/tclx/tclx-8.6.1.ebuild b/dev-tcltk/tclx/tclx-8.6.1.ebuild
new file mode 100644
index ..ec341dace231
--- /dev/null
+++ b/dev-tcltk/tclx/tclx-8.6.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="A set of extensions to TCL"
+HOMEPAGE="http://tclx.sourceforge.net;
+SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="threads"
+
+DEPEND="dev-lang/tcl:0="
+RDEPEND="${DEPEND}"
+
+# tests broken, bug #279283
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-8.4-varinit.patch
+   "${FILESDIR}"/${PN}-8.4-ldflags.patch
+   "${FILESDIR}"/${PN}-8.4.4-musl.patch
+)
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+   stat64 # used to test for Large File Support
+)
+
+src_prepare() {
+   default
+
+   sed \
+   -e '/CC=/s:-pipe::g' \
+   -i tclconfig/tcl.m4 configure || die
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   $(use_enable threads) \
+   --enable-shared \
+   --with-tcl="${EPREFIX}/usr/$(get_libdir)/"
+
+   # adjust install_name on darwin
+   if [[ ${CHOST} == *-darwin* ]]; then
+   sed -i \
+   -e 's:^\(SHLIB_LD\W.*\)$:\1 -install_name 
${pkglibdir}/$@:' \
+   "${S}"/Makefile || die 'sed failed'
+   fi
+}
+
+src_install() {
+   default
+   doman doc/*.[n3]
+}



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/files/, dev-tcltk/tclx/

2023-03-15 Thread Alfredo Tupone
commit: 281535f88931fec48c2dd2fa3a8f4f3cfac201b0
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Wed Mar 15 21:11:27 2023 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Wed Mar 15 21:12:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=281535f8

dev-tcltk/tclx: filter rresvport if not present

Closes: https://bugs.gentoo.org/894176
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclx/files/tclx-8.4.4-musl.patch | 25 ++
 .../{tclx-8.4.4-r3.ebuild => tclx-8.4.4-r4.ebuild} |  1 +
 2 files changed, 26 insertions(+)

diff --git a/dev-tcltk/tclx/files/tclx-8.4.4-musl.patch 
b/dev-tcltk/tclx/files/tclx-8.4.4-musl.patch
new file mode 100644
index ..2fc45e05b6ab
--- /dev/null
+++ b/dev-tcltk/tclx/files/tclx-8.4.4-musl.patch
@@ -0,0 +1,25 @@
+--- a/configure.in 2023-03-15 22:00:11.725506240 +0100
 b/configure.in 2023-03-15 22:00:29.230246904 +0100
+@@ -253,6 +253,7 @@
+ 
+ AC_CHECK_FUNC(inet_aton, , [AC_DEFINE(NO_INET_ATON)])
+ AC_CHECK_FUNC(gethostname, , [AC_DEFINE(NO_GETHOSTNAME)])
++AC_CHECK_FUNCS([rresvport])
+ 
+ #-
+ # Check for additional libraries the Tcl/Tk does not check for.
+--- a/unix/tclXunixSock.c  2023-03-15 22:02:32.255424538 +0100
 b/unix/tclXunixSock.c  2023-03-15 22:03:35.094493443 +0100
+@@ -194,10 +194,12 @@
+  * Allocate a reserved port if requested.
+  */
+ if (getReserved) {
++#ifdef HAVE_RRESVPORT
+ int port;
+ if (rresvport () < 0)
+ goto unixError;
+ local.sin_port = port;
++#endif
+ }
+ 
+ /*

diff --git a/dev-tcltk/tclx/tclx-8.4.4-r3.ebuild 
b/dev-tcltk/tclx/tclx-8.4.4-r4.ebuild
similarity index 97%
rename from dev-tcltk/tclx/tclx-8.4.4-r3.ebuild
rename to dev-tcltk/tclx/tclx-8.4.4-r4.ebuild
index 77d88925c305..ac35e033b305 100644
--- a/dev-tcltk/tclx/tclx-8.4.4-r3.ebuild
+++ b/dev-tcltk/tclx/tclx-8.4.4-r4.ebuild
@@ -27,6 +27,7 @@ PATCHES=(
"${FILESDIR}"/${P}-configure-clang16.patch
"${FILESDIR}"/${P}-configure-clang16-deux.patch
"${FILESDIR}"/${P}-gcc11.patch
+   "${FILESDIR}"/${P}-musl.patch
 )
 
 QA_CONFIG_IMPL_DECL_SKIP=(



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/files/, dev-tcltk/tclx/

2023-03-15 Thread Alfredo Tupone
commit: 3469ff9b4feb523eadf7aa5e0cbbc8d66b8811ed
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Wed Mar 15 19:42:20 2023 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Wed Mar 15 19:42:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3469ff9b

dev-tcltk/tclx: silence gcc11 warnings

Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclx/files/tclx-8.4.4-gcc11.patch| 192 +
 .../{tclx-8.4.4-r2.ebuild => tclx-8.4.4-r3.ebuild} |   3 +-
 2 files changed, 194 insertions(+), 1 deletion(-)

diff --git a/dev-tcltk/tclx/files/tclx-8.4.4-gcc11.patch 
b/dev-tcltk/tclx/files/tclx-8.4.4-gcc11.patch
new file mode 100644
index ..6af41afd3ce3
--- /dev/null
+++ b/dev-tcltk/tclx/files/tclx-8.4.4-gcc11.patch
@@ -0,0 +1,192 @@
+--- a/generic/tclXfcntl.c  2023-03-15 19:34:15.074669138 +0100
 b/generic/tclXfcntl.c  2023-03-15 19:33:20.805545639 +0100
+@@ -200,8 +200,12 @@
+ value = (optValue == TCLX_BUFFERING_LINE);
+ break;
+   case ATTR_KEEPALIVE:
+-if (TclXOSgetsockopt (interp, channel, SO_KEEPALIVE, ) != 
TCL_OK)
++{
++socklen_t len;
++if (TclXOSgetsockopt (interp, channel, SO_KEEPALIVE, ) != TCL_OK)
+ return TCL_ERROR;
++value = len;
++}
+ break;
+   default:
+ panic ("bug in fcntl get attrib");
+--- a/generic/tclXhandles.c2023-03-15 19:36:33.992425688 +0100
 b/generic/tclXhandles.c2023-03-15 19:43:05.552120448 +0100
+@@ -20,6 +20,9 @@
+ 
+ #include "tclExtdInt.h"
+ 
++#include 
++#include 
++
+ /*
+  * Variable set to contain the alignment factor (in bytes) for this machine.
+  * It is set on the first table initialization.
+@@ -539,7 +542,7 @@
+ 
+ entryHdrPtr = HEADER_AREA (entryPtr);
+ if (entryHdrPtr->freeLink != ALLOCATED_IDX)
+-panic ("Tcl_HandleFree: entry not allocated %x\n", entryHdrPtr);
++panic ("Tcl_HandleFree: entry not allocated %" PRIxPTR "\n", 
(intptr_t)entryHdrPtr);
+ 
+ entryHdrPtr->freeLink = tblHdrPtr->freeHeadIdx;
+ tblHdrPtr->freeHeadIdx =
+--- a/generic/tclXkeylist.c2023-03-15 20:02:16.177763876 +0100
 b/generic/tclXkeylist.c2023-03-15 20:04:46.029420986 +0100
+@@ -17,6 +17,7 @@
+  */
+ 
+ #include "tclExtdInt.h"
++#include 
+ 
+ /*
+  * Keyed lists are stored as arrays recursively defined objects.  The data
+@@ -338,7 +339,7 @@
+ if (keylIntPtr->hashTbl != NULL) {
+   Tcl_HashEntry *entryPtr;
+   Tcl_HashSearch search;
+-  int nidx;
++  intptr_t nidx;
+ 
+   entryPtr = Tcl_FindHashEntry(keylIntPtr->hashTbl,
+   keylIntPtr->entries [entryIdx].key);
+@@ -354,7 +355,7 @@
+*/
+   for (entryPtr = Tcl_FirstHashEntry(keylIntPtr->hashTbl, );
+entryPtr != NULL; entryPtr = Tcl_NextHashEntry()) {
+-  nidx = (int) Tcl_GetHashValue(entryPtr);
++  nidx = (intptr_t) Tcl_GetHashValue(entryPtr);
+   if (nidx > entryIdx) {
+   Tcl_SetHashValue(entryPtr, (ClientData) (uintptr_t) (nidx - 1));
+   }
+@@ -394,7 +395,8 @@
+ char  **nextSubKeyPtr)
+ {
+ char *keySeparPtr;
+-int keyLen, findIdx = -1;
++int keyLen;
++intptr_t findIdx = -1;
+ 
+ keySeparPtr = strchr (key, '.');
+ if (keySeparPtr != NULL) {
+@@ -416,7 +418,7 @@
+   }
+   entryPtr = Tcl_FindHashEntry(keylIntPtr->hashTbl, key);
+   if (entryPtr != NULL) {
+-  findIdx = (int) Tcl_GetHashValue(entryPtr);
++  findIdx = (intptr_t) Tcl_GetHashValue(entryPtr);
+   }
+   if (keySeparPtr != NULL) {
+   key[keyLen] = tmp;
+--- a/generic/tclXsignal.c 2023-03-15 20:07:18.687031905 +0100
 b/generic/tclXsignal.c 2023-03-15 20:07:55.997447649 +0100
+@@ -463,7 +463,7 @@
+  
*-
+  */
+ static int
+-BlockSignals (Tcl_Interp *interp, int action, unsigned char signals[])
++BlockSignals (Tcl_Interp *interp, int action, unsigned char signals[MAXSIG])
+ {
+ #ifndef NO_SIGACTION
+ int  signalNum;
+--- a/unix/tclXunixDup.c   2023-03-15 20:09:58.482528699 +0100
 b/unix/tclXunixDup.c   2023-03-15 20:13:22.981321777 +0100
+@@ -17,6 +17,7 @@
+  */
+ 
+ #include "tclExtdInt.h"
++#include 
+ 
+ 
+ 
/*-
+@@ -75,7 +76,8 @@
+ ClientData handle;
+ const Tcl_ChannelType *channelType;
+ Tcl_Channel newChannel = NULL;
+-int srcFileNum, newFileNum = -1;
++intptr_t srcFileNum;
++int newFileNum = -1;
+ 
+ /*
+  * On Unix, the channels we can dup share the same file for the read and
+@@ -86,7 +88,7 @@
+ } else {
+ Tcl_GetChannelHandle (srcChannel, TCL_WRITABLE, );
+ }
+-srcFileNum = (int) handle;
++srcFileNum = (intptr_t) handle;
+ channelType = Tcl_GetChannelType (srcChannel);
+ 
+ /*
+--- 

[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/

2023-03-11 Thread Alfredo Tupone
commit: 66fbaa91e2107d91e918a3d6c95470d59aed7eca
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sat Mar 11 22:08:22 2023 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sat Mar 11 22:08:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66fbaa91

dev-tcltk/tclx: autoreconf & stat64 good for configure

Closes: https://bugs.gentoo.org/900463
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclx/{tclx-8.4.4-r1.ebuild => tclx-8.4.4-r2.ebuild} | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-tcltk/tclx/tclx-8.4.4-r1.ebuild 
b/dev-tcltk/tclx/tclx-8.4.4-r2.ebuild
similarity index 87%
rename from dev-tcltk/tclx/tclx-8.4.4-r1.ebuild
rename to dev-tcltk/tclx/tclx-8.4.4-r2.ebuild
index 34d1fe02ea60..38ea1746b9a3 100644
--- a/dev-tcltk/tclx/tclx-8.4.4-r1.ebuild
+++ b/dev-tcltk/tclx/tclx-8.4.4-r2.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit autotools
+
 DESCRIPTION="A set of extensions to TCL"
 HOMEPAGE="http://tclx.sourceforge.net;
 SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz
@@ -26,11 +28,16 @@ PATCHES=(
"${FILESDIR}"/${P}-configure-clang16-deux.patch
 )
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+   stat64 # used to test for Large File Support
+)
+
 src_prepare() {
sed \
-e '/CC=/s:-pipe::g' \
-i tclconfig/tcl.m4 configure || die
default
+   eautoreconf
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/files/

2022-11-22 Thread Sam James
commit: c3262667c30a67828afbed840927f7cd389523c5
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 22 23:50:31 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 23 00:29:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3262667

dev-tcltk/tclx: add link to additional upstream bug

Signed-off-by: Sam James  gentoo.org>

 dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16-deux.patch | 1 +
 dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16.patch  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16-deux.patch 
b/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16-deux.patch
index da4d5c399aee..278dc23bb94d 100644
--- a/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16-deux.patch
+++ b/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16-deux.patch
@@ -1,4 +1,5 @@
 https://github.com/flightaware/tclx/pull/15
+https://sourceforge.net/p/tclx/bugs/84/
 
 From a65705e6cba4fe395afbdc8c903b8b819d7e6962 Mon Sep 17 00:00:00 2001
 From: Sam James 

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
index 89f90363246a..3e135c0c4fcc 100644
--- a/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16.patch
+++ b/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16.patch
@@ -1,5 +1,6 @@
 
https://github.com/flightaware/tclx/commit/dfd54117ca500c9422ff2e11940219d19cedb906
 https://bugs.gentoo.org/881713
+https://sourceforge.net/p/tclx/bugs/84/
 
 From dfd54117ca500c9422ff2e11940219d19cedb906 Mon Sep 17 00:00:00 2001
 From: Jeremy Huddleston Sequoia 



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/

2022-11-17 Thread Sam James
commit: 8a4f9b3dcc7ab205c22bd1fc97c0d259a43d1aa5
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 18 01:05:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 18 01:05:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a4f9b3d

dev-tcltk/tclx: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 dev-tcltk/tclx/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-tcltk/tclx/metadata.xml b/dev-tcltk/tclx/metadata.xml
index 5d724171f964..2b324191ed28 100644
--- a/dev-tcltk/tclx/metadata.xml
+++ b/dev-tcltk/tclx/metadata.xml
@@ -7,5 +7,6 @@


tclx
+   flightaware/tclx

 



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/files/, dev-tcltk/tclx/

2022-11-17 Thread Sam James
commit: 3c2b1c4ef1121bc8fa1a3b18ad3bbb0a22d5e0c1
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 18 01:14:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 18 01:14:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c2b1c4e

dev-tcltk/tclx: fix configure w/ clang 16

Bug: https://bugs.gentoo.org/881713
Signed-off-by: Sam James  gentoo.org>

 .../files/tclx-8.4.4-configure-clang16-deux.patch  | 82 ++
 .../tclx/files/tclx-8.4.4-configure-clang16.patch  | 32 +
 .../{tclx-8.4.4.ebuild => tclx-8.4.4-r1.ebuild}|  4 +-
 3 files changed, 117 insertions(+), 1 deletion(-)

diff --git a/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16-deux.patch 
b/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16-deux.patch
new file mode 100644
index ..da4d5c399aee
--- /dev/null
+++ b/dev-tcltk/tclx/files/tclx-8.4.4-configure-clang16-deux.patch
@@ -0,0 +1,82 @@
+https://github.com/flightaware/tclx/pull/15
+
+From a65705e6cba4fe395afbdc8c903b8b819d7e6962 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Fri, 18 Nov 2022 01:12:17 +
+Subject: [PATCH] Fix configure.ac compatibility with Clang 16
+
+Clang 16 makes -Wimplicit-function-declaration and -Wimplicit-int errors by 
default.
+
+Unfortunately, this can lead to misconfiguration or miscompilation of software 
as configure
+tests may then return the wrong result.
+
+We also fix -Wstrict-prototypes while here as it's easy to do and it prepares
+us for C23.
+
+For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki 
[2],
+or the (new) c-std-porting mailing list [3].
+
+[0] https://lwn.net/Articles/913505/
+[1] 
https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
+[2] https://wiki.gentoo.org/wiki/Modern_C_porting
+[3] hosted at lists.linux.dev.
+
+Bug: https://bugs.gentoo.org/881713
+Signed-off-by: Sam James 
+--- a/configure.in
 b/configure.in
+@@ -193,10 +193,11 @@ WIFEXITED(x);/* Generates compiler error if 
WIFEXITED uses an int. */
+ 
+ AC_MSG_CHECKING(checking to see what 'times' returns)
+ AC_TRY_RUN([
++#include 
+ #include 
+ #include 
+ #include 
+-main() {
++int main(void) {
+ struct tms cpu;
+ times();
+ sleep(2);
+@@ -269,7 +270,8 @@ main() {
+ 
+ AC_CHECK_FUNC(catgets,
+   [AC_MSG_CHECKING([catclose return value])
+-   AC_TRY_COMPILE([#include ], [
++   AC_TRY_COMPILE([#include 
++ #include ], [
+   if (catclose ((nl_catd) 0) == 0) exit (0);],
+   AC_MSG_RESULT(ok), [
+   AC_MSG_RESULT([broken catclose return type])
+--- a/tclconfig/tcl.m4
 b/tclconfig/tcl.m4
+@@ -2525,7 +2525,8 @@ AC_DEFUN([TEA_TIME_HANDLER], [
+ # (like convex) have timezone functions, etc.
+ #
+ AC_CACHE_CHECK([long timezone variable], tcl_cv_timezone_long, [
+-  AC_TRY_COMPILE([#include ],
++  AC_TRY_COMPILE([#include 
++#include ],
+   [extern long timezone;
+   timezone += 1;
+   exit (0);],
+@@ -2537,7 +2538,8 @@ AC_DEFUN([TEA_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_TRY_COMPILE([#include ],
++  AC_TRY_COMPILE([#include 
++#include ],
+   [extern time_t timezone;
+   timezone += 1;
+   exit (0);],
+@@ -2574,7 +2576,7 @@ AC_DEFUN([TEA_BUGGY_STRTOD], [
+   AC_TRY_RUN([
+   #include 
+   extern double strtod();
+-  int main() {
++  int main(void) {
+   char *infString="Inf", *nanString="NaN", *spaceString=" ";
+   char *term;
+   double value;
+

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 ..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 
+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 
+--- a/configure.in
 b/configure.in
+@@ -195,6 +195,7 @@ WIFEXITED(x);  /* Generates compiler error if 
WIFEXITED uses an int. */
+ AC_TRY_RUN([
+ #include 
+ #include 
++#include 
+ main() {
+ struct tms cpu;
+ times();
+--- 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 

[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/

2022-10-28 Thread Sam James
commit: cb2f4e7cd7326e6034305651a2a8e15a160e2b5a
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 20:56:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 20:58:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb2f4e7c

dev-tcltk/tclx: no more herds

Signed-off-by: Sam James  gentoo.org>

 dev-tcltk/tclx/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tclx/metadata.xml b/dev-tcltk/tclx/metadata.xml
index 8be602619be5..5d724171f964 100644
--- a/dev-tcltk/tclx/metadata.xml
+++ b/dev-tcltk/tclx/metadata.xml
@@ -3,7 +3,7 @@
 

tc...@gentoo.org
-   TCL / TK herd
+   TCL/TK project


tclx



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/

2021-09-18 Thread Alfredo Tupone
commit: 9cee7a8a621ce9f06a73553a92cc4109b8c9816c
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sat Sep 18 16:35:43 2021 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sat Sep 18 16:50:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cee7a8a

dev-tcltk/tclx: UnusedInherits

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclx/tclx-8.4.4.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dev-tcltk/tclx/tclx-8.4.4.ebuild b/dev-tcltk/tclx/tclx-8.4.4.ebuild
index 37bbc76faed..b0be6efad91 100644
--- a/dev-tcltk/tclx/tclx-8.4.4.ebuild
+++ b/dev-tcltk/tclx/tclx-8.4.4.ebuild
@@ -3,8 +3,6 @@
 
 EAPI=7
 
-inherit multilib
-
 DESCRIPTION="A set of extensions to TCL"
 HOMEPAGE="http://tclx.sourceforge.net;
 SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/

2021-04-19 Thread Andreas Sturmlechner
commit: 228b087a3213c3bc35391628ca2e64d74ca8af52
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Apr 18 09:10:54 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Apr 19 07:52:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228b087a

dev-tcltk/tclx: Drop 8.4.1, EAPI5--

Closes: https://bugs.gentoo.org/75
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-tcltk/tclx/Manifest  |  1 -
 dev-tcltk/tclx/tclx-8.4.1.ebuild | 54 
 2 files changed, 55 deletions(-)

diff --git a/dev-tcltk/tclx/Manifest b/dev-tcltk/tclx/Manifest
index 08cd66348e4..dc4959ca2a2 100644
--- a/dev-tcltk/tclx/Manifest
+++ b/dev-tcltk/tclx/Manifest
@@ -1,2 +1 @@
 DIST tclx-8.4.4.tar.gz 456569 BLAKE2B 
50123f95ed780c28dae9e2f0db956b81b559ee9ea33563b999f33a727c451374a63c0cba3012d4dd46df020426c7fdb3b04f932fc5b6ec742156e9dad81a7d3b
 SHA512 
dcf9cbd08eae0cc4901e8e871a440e6c85d7d5ac923306206afaf0a1d931866ce3b91177d7b3a37e87a5cdcccb068ed7b9c76cb1a71a13f4f26cf204b8c42090
-DIST tclx8.4.1.tar.bz2 330073 BLAKE2B 
bc9cd45945b1c9b945bcd139bfc52d42fc9bf1bf4251a8bb599ca6ee2b3804bc692aee6038a3cb84de82d24173473a57a8396fa598558f83237f1586cbe59b11
 SHA512 
faad58f5d8e0e1e759da639800f354b583fb01418c94f2274924aa07beb0ee9559beb87b3386ed5ae3694700a71dfe5b8ac54ead0ec75c6963507e9d3ead7060

diff --git a/dev-tcltk/tclx/tclx-8.4.1.ebuild b/dev-tcltk/tclx/tclx-8.4.1.ebuild
deleted file mode 100644
index 1bc545820f6..000
--- a/dev-tcltk/tclx/tclx-8.4.1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit epatch multilib versionator
-
-DESCRIPTION="A set of extensions to TCL"
-HOMEPAGE="http://tclx.sourceforge.net;
-SRC_URI="mirror://sourceforge/tclx/${PN}${PV}.tar.bz2"
-
-LICENSE="BSD"
-IUSE="tk threads"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
-
-DEPEND="
-   dev-lang/tcl:0=
-   tk? ( dev-lang/tk:0= )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"/${PN}$(get_version_component_range 1-2)
-
-# tests broken, bug #279283
-RESTRICT="test"
-
-src_prepare() {
-   sed \
-   -e '/CC=/s:-pipe::g' \
-   -i tclconfig/tcl.m4 configure || die
-   epatch \
-   "${FILESDIR}"/${PN}-8.4-varinit.patch \
-   "${FILESDIR}"/${PN}-8.4-ldflags.patch
-}
-
-src_configure() {
-   econf \
-   $(use_enable tk) \
-   $(use_enable threads) \
-   --enable-shared \
-   --with-tcl="${EPREFIX}/usr/$(get_libdir)/"
-
-   # adjust install_name on darwin
-   if [[ ${CHOST} == *-darwin* ]]; then
-   sed -i \
-   -e 's:^\(SHLIB_LD\W.*\)$:\1 -install_name 
${pkglibdir}/$@:' \
-   "${S}"/Makefile || die 'sed failed'
-   fi
-}
-
-src_install() {
-   default
-   doman doc/*.[n3]
-}



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/

2021-01-24 Thread Sam James
commit: 20d4f1462ffc51f7ae925655ad5988b93ba998ce
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 24 13:34:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 24 13:34:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20d4f146

dev-tcltk/tclx: Stabilize 8.4.4 ppc, #75

Signed-off-by: Sam James  gentoo.org>

 dev-tcltk/tclx/tclx-8.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tclx/tclx-8.4.4.ebuild b/dev-tcltk/tclx/tclx-8.4.4.ebuild
index c383afd097d..7e7e1c5c56e 100644
--- a/dev-tcltk/tclx/tclx-8.4.4.ebuild
+++ b/dev-tcltk/tclx/tclx-8.4.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz
 LICENSE="BSD"
 IUSE="threads"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
 
 DEPEND="dev-lang/tcl:0="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/

2021-01-24 Thread Agostino Sarubbo
commit: 01e7784574cf3707bee60eee354ea51dc27bc3c9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan 24 12:09:53 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan 24 12:09:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01e77845

dev-tcltk/tclx: x86 stable wrt bug #75

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-tcltk/tclx/tclx-8.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tclx/tclx-8.4.4.ebuild b/dev-tcltk/tclx/tclx-8.4.4.ebuild
index 01dd753f5cf..c383afd097d 100644
--- a/dev-tcltk/tclx/tclx-8.4.4.ebuild
+++ b/dev-tcltk/tclx/tclx-8.4.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz
 LICENSE="BSD"
 IUSE="threads"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
 
 DEPEND="dev-lang/tcl:0="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/

2021-01-24 Thread Agostino Sarubbo
commit: 2df75034fa34aa430d3cecfae4957dd069ef71ab
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan 24 11:57:08 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan 24 11:57:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2df75034

dev-tcltk/tclx: amd64 stable wrt bug #75

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-tcltk/tclx/tclx-8.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tclx/tclx-8.4.4.ebuild b/dev-tcltk/tclx/tclx-8.4.4.ebuild
index 3f064b64464..01dd753f5cf 100644
--- a/dev-tcltk/tclx/tclx-8.4.4.ebuild
+++ b/dev-tcltk/tclx/tclx-8.4.4.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz
 LICENSE="BSD"
 IUSE="threads"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 
 DEPEND="dev-lang/tcl:0="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/

2021-01-06 Thread Fabian Groffen
commit: 532831434bfc93c7dbef9eccad3043f3d797f396
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 22:32:50 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 22:32:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53283143

dev-tcltk/tclx: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 dev-tcltk/tclx/tclx-8.4.1.ebuild | 4 ++--
 dev-tcltk/tclx/tclx-8.4.4.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-tcltk/tclx/tclx-8.4.1.ebuild b/dev-tcltk/tclx/tclx-8.4.1.ebuild
index 6ce5cc26795..96b6c636264 100644
--- a/dev-tcltk/tclx/tclx-8.4.1.ebuild
+++ b/dev-tcltk/tclx/tclx-8.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/tclx/${PN}${PV}.tar.bz2"
 LICENSE="BSD"
 IUSE="tk threads"
 SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
 
 DEPEND="
dev-lang/tcl:0=

diff --git a/dev-tcltk/tclx/tclx-8.4.4.ebuild b/dev-tcltk/tclx/tclx-8.4.4.ebuild
index cbc91e94b9c..3f064b64464 100644
--- a/dev-tcltk/tclx/tclx-8.4.4.ebuild
+++ b/dev-tcltk/tclx/tclx-8.4.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz
 LICENSE="BSD"
 IUSE="threads"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 
 DEPEND="dev-lang/tcl:0="
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/

2020-05-09 Thread Alfredo Tupone
commit: 0ca0087675b232f3b5419c3ad7e1fb3f1ee4a7b1
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sat May  9 07:25:46 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sat May  9 07:25:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ca00876

dev-tcltk/tclx: fix BadFilename

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclx/Manifest  | 2 +-
 dev-tcltk/tclx/tclx-8.4.4.ebuild | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-tcltk/tclx/Manifest b/dev-tcltk/tclx/Manifest
index 3d1370b7510..08cd66348e4 100644
--- a/dev-tcltk/tclx/Manifest
+++ b/dev-tcltk/tclx/Manifest
@@ -1,2 +1,2 @@
+DIST tclx-8.4.4.tar.gz 456569 BLAKE2B 
50123f95ed780c28dae9e2f0db956b81b559ee9ea33563b999f33a727c451374a63c0cba3012d4dd46df020426c7fdb3b04f932fc5b6ec742156e9dad81a7d3b
 SHA512 
dcf9cbd08eae0cc4901e8e871a440e6c85d7d5ac923306206afaf0a1d931866ce3b91177d7b3a37e87a5cdcccb068ed7b9c76cb1a71a13f4f26cf204b8c42090
 DIST tclx8.4.1.tar.bz2 330073 BLAKE2B 
bc9cd45945b1c9b945bcd139bfc52d42fc9bf1bf4251a8bb599ca6ee2b3804bc692aee6038a3cb84de82d24173473a57a8396fa598558f83237f1586cbe59b11
 SHA512 
faad58f5d8e0e1e759da639800f354b583fb01418c94f2274924aa07beb0ee9559beb87b3386ed5ae3694700a71dfe5b8ac54ead0ec75c6963507e9d3ead7060
-DIST v8.4.4.tar.gz 456569 BLAKE2B 
50123f95ed780c28dae9e2f0db956b81b559ee9ea33563b999f33a727c451374a63c0cba3012d4dd46df020426c7fdb3b04f932fc5b6ec742156e9dad81a7d3b
 SHA512 
dcf9cbd08eae0cc4901e8e871a440e6c85d7d5ac923306206afaf0a1d931866ce3b91177d7b3a37e87a5cdcccb068ed7b9c76cb1a71a13f4f26cf204b8c42090

diff --git a/dev-tcltk/tclx/tclx-8.4.4.ebuild b/dev-tcltk/tclx/tclx-8.4.4.ebuild
index f669900497a..cbc91e94b9c 100644
--- a/dev-tcltk/tclx/tclx-8.4.4.ebuild
+++ b/dev-tcltk/tclx/tclx-8.4.4.ebuild
@@ -7,7 +7,8 @@ inherit multilib
 
 DESCRIPTION="A set of extensions to TCL"
 HOMEPAGE="http://tclx.sourceforge.net;
-SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz;
+SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.tar.gz"
 
 LICENSE="BSD"
 IUSE="threads"



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/

2020-05-08 Thread Alfredo Tupone
commit: 9238d1746ec952e1244d7ae0876c5260c79b371e
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri May  8 20:42:52 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Fri May  8 20:42:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9238d174

dev-tcltk/tclx: bump to 8.4.4

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclx/Manifest  |  1 +
 dev-tcltk/tclx/tclx-8.4.4.ebuild | 52 
 2 files changed, 53 insertions(+)

diff --git a/dev-tcltk/tclx/Manifest b/dev-tcltk/tclx/Manifest
index d5ea78ab5a5..3d1370b7510 100644
--- a/dev-tcltk/tclx/Manifest
+++ b/dev-tcltk/tclx/Manifest
@@ -1 +1,2 @@
 DIST tclx8.4.1.tar.bz2 330073 BLAKE2B 
bc9cd45945b1c9b945bcd139bfc52d42fc9bf1bf4251a8bb599ca6ee2b3804bc692aee6038a3cb84de82d24173473a57a8396fa598558f83237f1586cbe59b11
 SHA512 
faad58f5d8e0e1e759da639800f354b583fb01418c94f2274924aa07beb0ee9559beb87b3386ed5ae3694700a71dfe5b8ac54ead0ec75c6963507e9d3ead7060
+DIST v8.4.4.tar.gz 456569 BLAKE2B 
50123f95ed780c28dae9e2f0db956b81b559ee9ea33563b999f33a727c451374a63c0cba3012d4dd46df020426c7fdb3b04f932fc5b6ec742156e9dad81a7d3b
 SHA512 
dcf9cbd08eae0cc4901e8e871a440e6c85d7d5ac923306206afaf0a1d931866ce3b91177d7b3a37e87a5cdcccb068ed7b9c76cb1a71a13f4f26cf204b8c42090

diff --git a/dev-tcltk/tclx/tclx-8.4.4.ebuild b/dev-tcltk/tclx/tclx-8.4.4.ebuild
new file mode 100644
index 000..f669900497a
--- /dev/null
+++ b/dev-tcltk/tclx/tclx-8.4.4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib
+
+DESCRIPTION="A set of extensions to TCL"
+HOMEPAGE="http://tclx.sourceforge.net;
+SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz;
+
+LICENSE="BSD"
+IUSE="threads"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+
+DEPEND="dev-lang/tcl:0="
+RDEPEND="${DEPEND}"
+
+# tests broken, bug #279283
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-8.4-varinit.patch
+   "${FILESDIR}"/${PN}-8.4-ldflags.patch
+)
+
+src_prepare() {
+   sed \
+   -e '/CC=/s:-pipe::g' \
+   -i tclconfig/tcl.m4 configure || die
+   default
+}
+
+src_configure() {
+   econf \
+   $(use_enable threads) \
+   --enable-shared \
+   --with-tcl="${EPREFIX}/usr/$(get_libdir)/"
+
+   # adjust install_name on darwin
+   if [[ ${CHOST} == *-darwin* ]]; then
+   sed -i \
+   -e 's:^\(SHLIB_LD\W.*\)$:\1 -install_name 
${pkglibdir}/$@:' \
+   "${S}"/Makefile || die 'sed failed'
+   fi
+}
+
+src_install() {
+   default
+   doman doc/*.[n3]
+}



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/

2020-02-02 Thread Alfredo Tupone
commit: bc86de2c7aadabfcf02b51cb519e695b3ff64453
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Sun Feb  2 20:41:27 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Feb  2 20:41:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc86de2c

dev-tcltk/tclx: RedundantLongDescription

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclx/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-tcltk/tclx/metadata.xml b/dev-tcltk/tclx/metadata.xml
index 5d29747c91d..0215b75c930 100644
--- a/dev-tcltk/tclx/metadata.xml
+++ b/dev-tcltk/tclx/metadata.xml
@@ -5,7 +5,6 @@
tc...@gentoo.org
TCL / TK herd

-   Extended TCL

tclx




[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclx/files/

2016-10-02 Thread Amy Winston
commit: 7a34c6d926ff99d14fd331703bfefdb8b2ae2e5d
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Fri Sep 30 15:09:15 2016 +
Commit: Amy Winston  gentoo  org>
CommitDate: Sun Oct  2 19:58:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a34c6d9

dev-tcltk/tclx: remove unused patch

 dev-tcltk/tclx/files/tclx-8.4-relid.patch | 31 ---
 1 file changed, 31 deletions(-)

diff --git a/dev-tcltk/tclx/files/tclx-8.4-relid.patch 
b/dev-tcltk/tclx/files/tclx-8.4-relid.patch
deleted file mode 100644
index 45fe687..
--- a/dev-tcltk/tclx/files/tclx-8.4-relid.patch
+++ /dev/null
@@ -1,31 +0,0 @@
 tclx8.4/configure.relid2006-02-03 16:13:25.0 -0500
-+++ tclx8.4/configure  2006-02-03 16:13:33.0 -0500
-@@ -6999,7 +6999,7 @@
-   # results, and the version is kept in special file).
- 
-   if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
--  system=MP-RAS-`awk '{print }' /etc/.relid'`
-+  system=MP-RAS-`awk '{print }' /etc/.relid`
-   fi
-   if test "`uname -s`" = "AIX" ; then
-   system=AIX-`uname -v`.`uname -r`
 tclx8.4/tclconfig/tcl.m4.relid 2006-02-03 16:13:43.0 -0500
-+++ tclx8.4/tclconfig/tcl.m4   2006-02-03 16:13:57.0 -0500
-@@ -859,7 +859,7 @@
-   # results, and the version is kept in special file).
-   
-   if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
--  system=MP-RAS-`awk '{print $3}' /etc/.relid'`
-+  system=MP-RAS-`awk '{print $3}' /etc/.relid`
-   fi
-   if test "`uname -s`" = "AIX" ; then
-   system=AIX-`uname -v`.`uname -r`
-@@ -2302,7 +2302,7 @@
-   # results, and the version is kept in special file).
-   
-   if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
--  system=MP-RAS-`awk '{print $3}' /etc/.relid'`
-+  system=MP-RAS-`awk '{print $3}' /etc/.relid`
-   fi
-   if test "`uname -s`" = "AIX" ; then
-   system=AIX-`uname -v`.`uname -r`