diff options
author | Kevin Zheng <kevinz5000@gmail.com> | 2023-02-27 23:29:21 +0000 |
---|---|---|
committer | Lorenzo Salvadore <salvadore@FreeBSD.org> | 2023-02-28 10:21:50 +0000 |
commit | 0aa0e5f506deca5ca14a57ebf574142d6df58cfa (patch) | |
tree | 579d84d9e351de9668595f8cdfe6bf2196886d9d | |
parent | f98963103e6bc21762da4b1de65c1a966668a170 (diff) | |
download | ports-0aa0e5f506deca5ca14a57ebf574142d6df58cfa.tar.gz ports-0aa0e5f506deca5ca14a57ebf574142d6df58cfa.zip |
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.
-rw-r--r-- | math/wxmaxima/Makefile | 1 | ||||
-rw-r--r-- | math/wxmaxima/files/patch-src_wxMaxima.cpp | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/math/wxmaxima/Makefile b/math/wxmaxima/Makefile index 366d176d3bd0..b72a7a02e014 100644 --- a/math/wxmaxima/Makefile +++ b/math/wxmaxima/Makefile @@ -1,6 +1,7 @@ PORTNAME= wxmaxima PORTVERSION= 23.02.1 DISTVERSIONPREFIX= Version- +PORTREVISION= 1 CATEGORIES= math MAINTAINER= salvadore@FreeBSD.org 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; |