ports/devel/doxygen/files/patch-md5-dotgraph
Dima Panov 2ec10e7dd9 devel/doxygen: Update to 1.9.0
- regen patches by 'make makepatch'
- adjust consumers which affected by new doxygen styles
- take maintainersip

Changelog: https://www.doxygen.nl/manual/changelog.html#log_1_9_0

PR:		242347
Submitted by:	fluffy
Reported by:	Naram Qashat (ex-maintainer)
Exp-run by:	antoine
2021-01-08 07:47:02 +00:00

23 lines
756 B
Text

--- src/dotgraph.cpp.orig 2020-10-19 13:24:24 UTC
+++ src/dotgraph.cpp
@@ -16,6 +16,7 @@
#include "config.h"
#include "doxygen.h"
#include "index.h"
+#include <sys/types.h>
#include "md5.h"
#include "message.h"
#include "util.h"
@@ -143,10 +144,8 @@ bool DotGraph::prepareDotFile()
QCString sigStr(33);
uchar md5_sig[16];
- // calculate md5
- MD5Buffer((const unsigned char*)m_theGraph.data(), m_theGraph.length(), md5_sig);
- // convert result to a string
- MD5SigToString(md5_sig, sigStr.rawData(), 33);
+ // calculate md5 and convert result to a string
+ MD5Data((const unsigned char*)m_theGraph.data(), m_theGraph.length(), sigStr.rawData());
// already queued files are processed again in case the output format has changed