ports/devel/doxygen/files/patch-md5-memberdef
Antoine Brodin a3f1ec2398 Update devel/doxygen to 1.8.7
Update dependent ports to build with it

Most of work by:	pi@
Exp-run:	self
PR:		ports/190943
2014-08-09 19:39:09 +00:00

23 lines
692 B
Text

--- src/memberdef.cpp-orig 2014-06-11 20:17:47.000000000 +0200
+++ src/memberdef.cpp 2014-06-11 20:19:38.000000000 +0200
@@ -17,6 +17,7 @@
#include <qglobal.h>
#include <qregexp.h>
#include <assert.h>
+#include <sys/types.h>
#include "md5.h"
#include "memberdef.h"
#include "membername.h"
@@ -3305,11 +3306,9 @@
}
// convert to md5 hash
- uchar md5_sig[16];
QCString sigStr(33);
- MD5Buffer((const unsigned char *)memAnchor.data(),memAnchor.length(),md5_sig);
//printf("memAnchor=%s\n",memAnchor.data());
- MD5SigToString(md5_sig,sigStr.data(),33);
+ MD5Data((const unsigned char *)memAnchor.data(),memAnchor.length(),sigStr.data());
m_impl->anc = "a"+sigStr;
}