From 6b0c5db74b337b843ad543bf84325b6e1ef5d040 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Sep 29 2020 10:29:13 +0000 Subject: attribute target redefined in SVG --- diff --git a/doxygen-1.8.20-attribute-target-redefined-in-svg.patch b/doxygen-1.8.20-attribute-target-redefined-in-svg.patch new file mode 100644 index 0000000..7db3a60 --- /dev/null +++ b/doxygen-1.8.20-attribute-target-redefined-in-svg.patch @@ -0,0 +1,20 @@ +commit ff021223c89995bf2abc4f33befddb1c97cab1d8 +Author: albert-github +Date: Thu Sep 24 19:12:10 2020 +0200 + + issue #8053 error: Attribute target redefined in SVG + + regression on #7706 (although it has nothing to do with double runs in my opinion as indicated in the title of that issue: " Md5 hash does not match for two different runs") looks like this statement should be present. + +diff --git a/src/dotfilepatcher.cpp b/src/dotfilepatcher.cpp +index 099359d9..285c0bb8 100644 +--- a/src/dotfilepatcher.cpp ++++ b/src/dotfilepatcher.cpp +@@ -174,6 +174,7 @@ static QCString replaceRef(const QCString &buf,const QCString relPath, + if (!ref.isEmpty()) + { + result = externalLinkTarget(true); ++ if (!result.isEmpty())targetAlreadySet=true; + } + result+= href+"=\""; + result+=externalRef(relPath,ref,TRUE); diff --git a/doxygen.spec b/doxygen.spec index da6900c..76598ef 100644 --- a/doxygen.spec +++ b/doxygen.spec @@ -32,6 +32,7 @@ Patch3: doxygen-1.8.20-broken-ref-for-enum-entry.patch Patch4: doxygen-1.8.20-links-using-ref-stopp-working.patch Patch5: doxygen-1.8.20-python3.patch Patch6: doxygen-1.8.20-does-not-handle-simple-example-in-md-file.patch +Patch7: doxygen-1.8.20-attribute-target-redefined-in-svg.patch BuildRequires: %{_bindir}/python3 BuildRequires: ImageMagick