Skip to content

Commit 768727f

Browse files
authored
tcl-tk: Fix KVO crash
This crash has been reported several times, particularly by Tkinter users (see e.g. python/cpython#92603); it will be fixed in Tk 8.6.14.
1 parent 6136ff1 commit 768727f

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎Formula/t/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 4
8+
revision 5
99

1010
livecheck do
1111
url :stable
@@ -61,6 +61,13 @@ class TclTk < Formula
6161
url "https://raw.githubusercontent.com/macports/macports-ports/db4f8f774193/x11/tk/files/fix-themechanged-error.patch"
6262
sha256 "2a75496dc597dec9d25401ab002f290be74d4acd5566793c5114e75a154c280a"
6363
end
64+
65+
# Bugfix for KVO crash; will be in Tk 8.6.14
66+
# See https://core.tcl-lang.org/tk/info/310c74ecf4
67+
patch :p0 do
68+
url "https://raw.githubusercontent.com/macports/macports-ports/6a93695d61d3/x11/tk/files/fix-kvo-crash.diff"
69+
sha256 "ec9a9234b4a326e5621fe78e078c29aa4784b6dc88c59a43d828639ebae0af41"
70+
end
6471
end
6572

6673
resource "itk4" do

0 commit comments

Comments
 (0)