diff --git a/de56d1864473485861bac89436337e8114fb2f6b.patch b/de56d1864473485861bac89436337e8114fb2f6b.patch
new file mode 100644
index 0000000000000000000000000000000000000000..8a2fe6813d198488c10379f77c484d9a7483290f
--- /dev/null
+++ b/de56d1864473485861bac89436337e8114fb2f6b.patch
@@ -0,0 +1,13 @@
+diff --git a/src/dotgraph.cpp b/src/dotgraph.cpp
+index 1ad85e1d6..287793e46 100644
+--- a/src/dotgraph.cpp
++++ b/src/dotgraph.cpp
+@@ -239,7 +239,7 @@ void DotGraph::generateCode(FTextStream &t)
+ t << "
";
+ if (!m_noDivTag) t << "";
+ t << endl;
+- if (m_regenerate || !insertMapFile(t, absMapName(), m_relPath, getMapLabel()))
++ if (m_regenerate || !insertMapFile(t, absMapName(), m_relPath, correctId(getMapLabel())))
+ {
+ int mapId = DotManager::instance()->
+ createFilePatcher(m_fileName.data())->
diff --git a/doxygen.spec b/doxygen.spec
index 1c0633cb73235b9665962a2ef1875737ef66c515..381eedc4159471e0b1cff8a6a7403b1f4e3cb964 100644
--- a/doxygen.spec
+++ b/doxygen.spec
@@ -3,12 +3,13 @@
Name: doxygen
Epoch: 1
Version: 1.8.18
-Release: 4
+Release: 5
Summary: A documentation system for C/C++
License: GPL+
Url: http://www.doxygen.nl
Source0: http://sourceforge.net/projects/doxygen/files/rel-1.8.18/%{name}-%{version}.src.tar.gz
Source1: doxywizard.desktop
+Patch6000: de56d1864473485861bac89436337e8114fb2f6b.patch
BuildRequires: python3 ImageMagick gcc-c++ gcc perl-interpreter
BuildRequires: tex(dvips) tex(latex) tex(multirow.sty) tex(sectsty.sty) tex(tocloft.sty)
BuildRequires: tex(xtab.sty) tex(import.sty) tex(tabu.sty) tex(appendix.sty)
@@ -92,6 +93,9 @@ make tests -C %{BuildDir}
%{_datadir}/icons/hicolor/*/apps/doxywizard.png
%changelog
+* 20201015193007642297 patch-tracking 1.8.18-5
+- append patch file of upstream repository from to
+
* Fri Sep 11 2020 baizhonggui - 1.8.18-4
- Modify Source0
@@ -105,4 +109,4 @@ make tests -C %{BuildDir}
- Type:bugfix
- ID:NA
- SUG:NA
-- DESC:Eliminate PDF file Differences
+- DESC:Eliminate PDF file Differences
\ No newline at end of file