diff --git a/dev-tcltk/tkcon/files/tkcon-2.7.11-tcl9.patch b/dev-tcltk/tkcon/files/tkcon-2.7.11-tcl9.patch new file mode 100644 index 0000000000000..7fa415343bde2 --- /dev/null +++ b/dev-tcltk/tkcon/files/tkcon-2.7.11-tcl9.patch @@ -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 diff --git a/dev-tcltk/tkcon/tkcon-2.7.11.ebuild b/dev-tcltk/tkcon/tkcon-2.7.11-r1.ebuild similarity index 90% rename from dev-tcltk/tkcon/tkcon-2.7.11.ebuild rename to dev-tcltk/tkcon/tkcon-2.7.11-r1.ebuild index 6ee739f1193b5..eaf0596b93744 100644 --- a/dev-tcltk/tkcon/tkcon-2.7.11.ebuild +++ b/dev-tcltk/tkcon/tkcon-2.7.11-r1.ebuild @@ -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