Skip to content

Commit

Permalink
[Patch] Fix Markdown Main in 1.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Jun 20, 2023
1 parent cfe03eb commit 5efb89d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
24 changes: 24 additions & 0 deletions recipe/10112.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From 8d78bce70bf5501e6b56ba488ab746f128ba59b2 Mon Sep 17 00:00:00 2001
From: albert-github <albert.tests@gmail.com>
Date: Mon, 5 Jun 2023 10:25:07 +0200
Subject: [PATCH] issue #10110 Regression: Specified markdown mainpage '...md'
has not been defined as input file

The filename to be used should be the full qualified filename / filename with absolute path as otherwise the file is not found.
---
src/doxygen.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index ed9e324b18..0b54dae059 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -11712,7 +11712,7 @@ static void checkMarkdownMainfile()
return;
}
bool ambig = false;
- if (findFileDef(Doxygen::inputNameLinkedMap,mdfileAsMainPage,ambig)==0)
+ if (findFileDef(Doxygen::inputNameLinkedMap,fi.absFilePath(),ambig)==0)
{
warn_uncond("Specified markdown mainpage '%s' has not been defined as input file\n",qPrint(mdfileAsMainPage));
return;
4 changes: 3 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ source:
- fix_osx.diff
# https://github.com/doxygen/doxygen/issues/10055
- macos.patch # [osx]
# https://github.com/doxygen/doxygen/pull/10112.patch
- 10112.patch

build:
number: 0
number: 1

requirements:
build:
Expand Down

0 comments on commit 5efb89d

Please sign in to comment.