summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/texinfo/files/makeinfo.patch')
-rw-r--r--sys-apps/texinfo/files/makeinfo.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-apps/texinfo/files/makeinfo.patch b/sys-apps/texinfo/files/makeinfo.patch
new file mode 100644
index 000000000000..7658aa49ac42
--- /dev/null
+++ b/sys-apps/texinfo/files/makeinfo.patch
@@ -0,0 +1,19 @@
+*** makeinfo.c.~1.60.~ Sun Jun 6 07:04:12 2004
+--- makeinfo.c Fri Jul 2 08:42:28 2004
+***************
+*** 3934,3940 ****
+
+ /* If insertion stack level changes during execution, that means a multiline
+ command is used inside braces or @section ... kind of commands. */
+! if (insertion_level_at_start != insertion_level)
+ {
+ line_error (_("Multiline command %c%s used improperly"),
+ COMMAND_PREFIX,
+--- 3934,3940 ----
+
+ /* If insertion stack level changes during execution, that means a multiline
+ command is used inside braces or @section ... kind of commands. */
+! if (insertion_level_at_start != insertion_level && !executing_macro)
+ {
+ line_error (_("Multiline command %c%s used improperly"),
+ COMMAND_PREFIX,