8000 tcl-tk: Fix ttk::ThemeChanged errors · chrstphrchvz/homebrew-core@abea042 · GitHub
[go: up one dir, main page]

Skip to content

Commit abea042

Browse files
authored
tcl-tk: Fix ttk::ThemeChanged errors
This error is an annoyance particularly for Tkinter users (see e.g. python/cpython#71383); it will be fixed in Tk 8.6.14.
1 parent 7d7fc54 commit abea042

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Formula/tcl-tk.rb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class TclTk < Formula
55
mirror "https://fossies.org/linux/misc/tcl8.6.13-src.tar.gz"
66
sha256 "43a1fae7412f61ff11de2cfd05d28cfc3a73762f354a417c62370a54e2caf066"
77
license "TCL"
8-
revision 2
8+
revision 3
99

1010
livecheck do
1111
url :stable
@@ -54,6 +54,13 @@ class TclTk < Formula
5454
url "https://downloads.sourceforge.net/project/tcl/Tcl/8.6.13/tk8.6.13-src.tar.gz"
5555
mirror "https://fossies.org/linux/misc/tk8.6.13-src.tar.gz"
5656
sha256 "2e65fa069a23365440a3c56c556b8673b5e32a283800d8d9b257e3f584ce0675"
57+
58+
# Bugfix for ttk::ThemeChanged errors; will be in Tk 8.6.14
59+
# See https://core.tcl-lang.org/tk/info/310c74ecf4
60+
patch :p0 do
61+
url "https://raw.githubusercontent.com/macports/macports-ports/db4f8f774193/x11/tk/files/fix-themechanged-error.patch"
62+
sha256 "2a75496dc597dec9d25401ab002f290be74d4acd5566793c5114e75a154c280a"
63+
end
5764
end
5865

5966
resource "itk4" do

0 commit comments

Comments
 (0)
0