diff --git a/packages/doxygen/doxyparse.cpp.patch b/packages/doxygen/doxyparse.cpp.patch deleted file mode 100644 index 1c1ce993f..000000000 --- a/packages/doxygen/doxyparse.cpp.patch +++ /dev/null @@ -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; diff --git a/packages/doxygen/tmpdir.patch b/packages/doxygen/tmpdir.patch new file mode 100644 index 000000000..86e428e7d --- /dev/null +++ b/packages/doxygen/tmpdir.patch @@ -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) + {