aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2022-04-09 03:26:10 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2022-04-09 03:26:10 +0000
commitfd641a93ede8f55ecce87c33ec036eb845134d05 (patch)
tree29d2ff5b913c7c7613f922ed776ab71d58b1a340
parentd537aa26f5ea3857e06104e8b8e878e7cef73ac3 (diff)
math/octave-forge-generate_html: Fix install.
-rw-r--r--math/octave-forge-generate_html/Makefile2
-rw-r--r--math/octave-forge-generate_html/files/patch-txi2index.m20
2 files changed, 21 insertions, 1 deletions
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
@@ -2,7 +2,7 @@
PORTNAME= octave-forge-generate_html
PORTVERSION= 0.3.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
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;