dlYJM5kVFzlHf for ; Tue, 06 Jan 2026 01:20:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3ea35 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 06 Jan 2026 01:20:35 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 15b941ab7dda - main - editors/texmacs: try to unbreak the build against modern C++ compilers List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 15b941ab7dda7963769543339c69bd85f7d38ef9 Auto-Submitted: auto-generated Date: Tue, 06 Jan 2026 01:20:35 +0000 Message-Id: <695c6363.3ea35.2582617e@gitrepo.freebsd.org> The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=15b941ab7dda7963769543339c69bd85f7d38ef9 commit 15b941ab7dda7963769543339c69bd85f7d38ef9 Author: Alexey Dokuchaev AuthorDate: 2026-01-06 01:19:26 +0000 Commit: Alexey Dokuchaev CommitDate: 2026-01-06 01:19:26 +0000 editors/texmacs: try to unbreak the build against modern C++ compilers Add parentheses around `*this' so that hashtree::operator-> kicks in which returns a pointer to hashtree_rep as expected (note that similar hashtree::operator() method below does not have this bug). Chase HTTP/1.1 301 redirection in the MASTER_SITES while here and drop no longer needed GNU_CONFIGURE_MANPREFIX override. Via: https://build.opensuse.org/package/show/openSUSE:Factory/TeXmacs --- editors/texmacs/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/editors/texmacs/Makefile b/editors/texmacs/Makefile index fedec47542e3..9cb8c1fc4b32 100644 --- a/editors/texmacs/Makefile +++ b/editors/texmacs/Makefile @@ -2,7 +2,7 @@ PORTNAME= texmacs PORTVERSION= 1.99.4 PORTREVISION= 11 CATEGORIES= editors print -MASTER_SITES= http://www.texmacs.org/Download/ftp/tmftp/source/ +MASTER_SITES= https://www.texmacs.org/Download/ftp/tmftp/source/ DISTNAME= TeXmacs-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org @@ -12,8 +12,6 @@ WWW= https://www.texmacs.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN= Kernel/Containers/hashtree.cpp:97:14: error: no member named 'contains' in 'hashtree' - RUN_DEPENDS= fig2dev:print/transfig USES= cpe desktop-file-utils gmake guile:1.8,alias iconv \ @@ -31,7 +29,6 @@ SHEBANG_FILES= plugins/asymptote/bin/* plugins/dratex/bin/* \ plugins/mathematica/bin/realpath.py GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-optimize="${CXXFLAGS}" --disable-qt MAKE_ARGS= CP="${CP} -R -f" @@ -73,6 +70,9 @@ post-patch: @${REINPLACE_CMD} -e \ '/require/s|"python"|"${PYTHON_CMD:T}"|' \ ${WRKSRC}/plugins/python/progs/init-python.scm + @${REINPLACE_CMD} -e \ + '/contains/s|\*this->|(*this)->|g' \ + ${WRKSRC}/src/Kernel/Containers/hashtree.cpp @${REINPLACE_CMD} -e \ 's|int tab=.*)|int tab)|' \ ${WRKSRC}/src/Kernel/Types/tree.hpp