summaryrefslogtreecommitdiff
path: root/devel/doxygen/files/patch-md5-dirdef
diff options
context:
space:
mode:
Diffstat (limited to 'devel/doxygen/files/patch-md5-dirdef')
-rw-r--r--devel/doxygen/files/patch-md5-dirdef19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/doxygen/files/patch-md5-dirdef b/devel/doxygen/files/patch-md5-dirdef
new file mode 100644
index 000000000000..5789af46e2fa
--- /dev/null
+++ b/devel/doxygen/files/patch-md5-dirdef
@@ -0,0 +1,19 @@
+--- src/dirdef.cpp-orig 2014-06-11 20:11:16.000000000 +0200
++++ src/dirdef.cpp 2014-06-11 20:11:59.000000000 +0200
+@@ -1,3 +1,4 @@
++#include <sys/types.h>
+ #include "md5.h"
+
+ #include "dirdef.h"
+@@ -83,10 +84,8 @@
+ QCString result;
+
+ // convert to md5 hash
+- uchar md5_sig[16];
+ QCString sigStr(33);
+- MD5Buffer((const unsigned char *)anchor.data(),anchor.length(),md5_sig);
+- MD5SigToString(md5_sig,sigStr.data(),33);
++ MD5Data((const unsigned char *)anchor.data(),anchor.length(),sigStr.data());
+ return sigStr;
+
+ // old algorithm