dev-tcltk/tkcon: patched for tcl9

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2026-03-06 18:44:46 +01:00
parent 6706ec6d77
commit 6384098f65
2 changed files with 15 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
--- a/tkcon.tcl 2026-03-06 18:40:47.906108112 +0100
+++ b/tkcon.tcl 2026-03-06 18:40:58.827978203 +0100
@@ -57,7 +57,7 @@
if {$tcl_version < 8.4} {
return -code error "tkcon requires at least Tcl/Tk 8.4"
} else {
- package require Tk 8.4
+ package require Tk
}
# We need to load some package to get what's available, and we

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,8 +9,8 @@ SRC_URI="https://github.com/wjoye/${PN}/archive/v${PV}.tar.gz ->
${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc"
DEPEND="dev-lang/tk:*"
@@ -18,6 +18,8 @@ RDEPEND="${DEPEND}"
RESTRICT="test"
PATCHES=( "${FILESDIR}"/${P}-tcl9.patch )
src_prepare() {
default
mv docs/changes.txt CHANGES