Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2023 10:23:16 GMT
From:      Lorenzo Salvadore <salvadore@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0aa0e5f506de - main - math/wxmaxima: Work around hanging
Message-ID:  <202302281023.31SANGvN030186@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0aa0e5f506deca5ca14a57ebf574142d6df58cfa

commit 0aa0e5f506deca5ca14a57ebf574142d6df58cfa
Author:     Kevin Zheng <kevinz5000@gmail.com>
AuthorDate: 2023-02-27 23:29:21 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2023-02-28 10:21:50 +0000

    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.
---
 math/wxmaxima/Makefile                     |  1 +
 math/wxmaxima/files/patch-src_wxMaxima.cpp | 11 +++++++++++
 2 files changed, 12 insertions(+)

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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302281023.31SANGvN030186>