Browse Source

doxygen: update patches

master
Leonid Plyushch 5 years ago
parent
commit
65e3913ccb
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 12
      packages/doxygen/doxyparse.cpp.patch
  2. 21
      packages/doxygen/tmpdir.patch

12
packages/doxygen/doxyparse.cpp.patch

@ -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;

21
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)
{
Loading…
Cancel
Save