summaryrefslogtreecommitdiff
path: root/math/wxmaxima/files/patch-src_wxMaxima.cpp
diff options
context:
space:
mode:
authorKevin Zheng <kevinz5000@gmail.com>2023-02-28 00:29:21 +0100
committerLorenzo Salvadore <salvadore@FreeBSD.org>2023-02-28 11:21:50 +0100
commit0aa0e5f506deca5ca14a57ebf574142d6df58cfa (patch)
tree579d84d9e351de9668595f8cdfe6bf2196886d9d /math/wxmaxima/files/patch-src_wxMaxima.cpp
parentemulators/fs-uae: Update to 3.1.66 (diff)
math/wxmaxima: Work around hanging
WxMaxima hangs in a while/sleep loop building anchors for Maxima documentation: this can be observed for example when attempting to close the application. This patch works around the issue by patching out the call to the build help anchors, until a better fix is found.
Diffstat (limited to 'math/wxmaxima/files/patch-src_wxMaxima.cpp')
-rw-r--r--math/wxmaxima/files/patch-src_wxMaxima.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/wxmaxima/files/patch-src_wxMaxima.cpp b/math/wxmaxima/files/patch-src_wxMaxima.cpp
new file mode 100644
index 000000000000..72a03619f620
--- /dev/null
+++ b/math/wxmaxima/files/patch-src_wxMaxima.cpp
@@ -0,0 +1,11 @@
+--- src/wxMaxima.cpp.orig 2023-02-04 19:03:25 UTC
++++ src/wxMaxima.cpp
+@@ -3289,8 +3289,6 @@ void wxMaxima::VariableActionMaximaHtmldir(const wxStr
+ wxLogMessage(wxString::Format(_("Maxima's HTML manuals are in directory %s"),
+ dir_canonical.utf8_str()));
+ m_worksheet->SetMaximaDocDir(dir_canonical);
+- m_worksheet->LoadHelpFileAnchors(dir_canonical,
+- m_worksheet->GetMaximaVersion());
+ }
+ void wxMaxima::GnuplotCommandName(wxString gnuplot) {
+ m_gnuplotcommand = gnuplot;