Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 maxima (5.45.1-1) unstable; urgency=medium
 .
   * New upstream release
   * Bug fix: "Incorrect file contents.hhc is generated", thanks to
     Stanislav Maslovski (Closes: #972639).
   * Bug fix: "please migrate away from autoconf2.13", thanks to Chris
     Hofstaedtler (Closes: #992809).
Author: Camm Maguire <camm@debian.org>
Bug-Debian: https://bugs.debian.org/972639
Bug-Debian: https://bugs.debian.org/992809

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2021-11-01

--- maxima-5.45.1.orig/doc/info/create_index
+++ maxima-5.45.1/doc/info/create_index
@@ -23,7 +23,7 @@ while (<MAXIMA_TOC>)  {
         print CONTENTS "</ul>\n";
     } 
 
-    if ( m#.*?<li><a\sname="(.*?)"\shref="(.*?)">.*?\s(.*?)</a># ) {
+    if ( m#.*?<li><a\sid="(.*?)"\shref="(.*?)">.*?\s(.*?)</a># ) {
         print CONTENTS "<li><object type=\"text/sitemap\">\n";
         print CONTENTS "   <param name=\"Local\" value=\"$2\">\n";
         print CONTENTS "   <param name=\"Name\" value=\"$3\"></object>\n";
