doxygen: update patches

This commit is contained in:
Leonid Pliushch 2020-04-14 16:48:23 +03:00
parent fa01a106c8
commit 4a525305ce
2 changed files with 21 additions and 12 deletions

View File

@ -1,12 +0,0 @@
diff -uNr doxygen-Release_1_8_17/addon/doxyparse/doxyparse.cpp doxygen-Release_1_8_17.mod/addon/doxyparse/doxyparse.cpp
--- doxygen-Release_1_8_17/addon/doxyparse/doxyparse.cpp 2019-12-27 19:52:36.000000000 +0200
+++ doxygen-Release_1_8_17.mod/addon/doxyparse/doxyparse.cpp 2019-12-31 14:59:53.592555381 +0200
@@ -442,7 +442,7 @@
#else
unsigned int pid = (uint)GetCurrentProcessId();
#endif
- tmpdir << "/tmp/doxyparse-" << pid;
+ tmpdir << "@TERMUX_PREFIX@/tmp/doxyparse-" << pid;
Config_getString(OUTPUT_DIRECTORY)= tmpdir.str().c_str();
// enable HTML (fake) output to omit warning about missing output format
Config_getBool(GENERATE_HTML)=TRUE;

View File

@ -0,0 +1,21 @@
diff -uNr doxygen-Release_1_8_18/addon/doxyapp/doxyapp.cpp doxygen-Release_1_8_18.mod/addon/doxyapp/doxyapp.cpp
--- doxygen-Release_1_8_18/addon/doxyapp/doxyapp.cpp 2020-04-13 10:22:08.000000000 +0300
+++ doxygen-Release_1_8_18.mod/addon/doxyapp/doxyapp.cpp 2020-04-14 16:47:44.536596491 +0300
@@ -264,7 +264,7 @@
checkConfiguration();
adjustConfiguration();
// we need a place to put intermediate files
- Config_getString(OUTPUT_DIRECTORY)="/tmp/doxygen";
+ Config_getString(OUTPUT_DIRECTORY)="@TERMUX_PREFIX@/tmp/doxygen";
// disable html output
Config_getBool(GENERATE_HTML)=FALSE;
// disable latex output
@@ -307,7 +307,7 @@
if (!Doxygen::objDBFileName.isEmpty()) QFile::remove(Doxygen::objDBFileName);
if (!Doxygen::entryDBFileName.isEmpty()) QFile::remove(Doxygen::entryDBFileName);
// clean up after us
- QDir().rmdir("/tmp/doxygen");
+ QDir().rmdir("@TERMUX_PREFIX@/tmp/doxygen");
while (1)
{