diff --git a/math/octave-forge-generate_html/Makefile b/math/octave-forge-generate_html/Makefile index ab958ece57b7..95db1040c586 100644 --- a/math/octave-forge-generate_html/Makefile +++ b/math/octave-forge-generate_html/Makefile @@ -1,29 +1,29 @@ # Created by: Stephen Montgomery-Smith PORTNAME= octave-forge-generate_html PORTVERSION= 0.3.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} LICENSE= GPLv3 LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING # OCTSRC is the name of the directory of the package. # It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}. OCTSRC= ${DISTNAME} .include "${.CURDIR}/../../Mk/bsd.octave.mk" do-build: @${DO_NADA} NO_ARCH= yes post-build: ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} .include diff --git a/math/octave-forge-generate_html/files/patch-txi2index.m b/math/octave-forge-generate_html/files/patch-txi2index.m new file mode 100644 index 000000000000..5e2d859511fb --- /dev/null +++ b/math/octave-forge-generate_html/files/patch-txi2index.m @@ -0,0 +1,20 @@ +--- inst/txi2index.m.orig 2022-04-08 22:22:07.568707000 -0500 ++++ inst/txi2index.m 2022-04-08 22:22:27.662102000 -0500 +@@ -86,7 +86,7 @@ + elseif (strncmpi (SECTION, line, length (SECTION))) + section = strtrim (line (length (SECTION)+1:end)); + if (idx == 0 || !isempty (index.provides{idx}.functions)) +- idx ++; ++ idx++; + endif + + index.provides{idx} = struct (); +@@ -94,7 +94,7 @@ + index.provides{idx}.functions = {}; + elseif (strncmpi (DOCSTRING, line, length (DOCSTRING))) + if (idx == 0) +- idx ++; ++ idx++; + + index.provides{idx} = struct (); + index.provides{idx}.category = default_section;