mirror of
https://git.freebsd.org/ports.git
synced 2025-06-14 01:00:33 -04:00
Also regen 'pkg-plist' for affected consumers, with PORTREVISION bump Touch Mk/bsd.ruby.mk due to all ruby* is affected MFH: 2021Q2
28 lines
823 B
Text
28 lines
823 B
Text
--- src/dirdef.cpp.orig 2020-11-27 20:27:34 UTC
|
|
+++ src/dirdef.cpp
|
|
@@ -11,11 +11,13 @@
|
|
* Documents produced by Doxygen are derivative works derived from the
|
|
* input used in their production; they are not affected by this license.
|
|
*
|
|
+#include <sys/types.h>
|
|
*/
|
|
|
|
#include <algorithm>
|
|
|
|
#include "dirdef.h"
|
|
+#include <sys/types.h>
|
|
#include "md5.h"
|
|
#include "filename.h"
|
|
#include "doxygen.h"
|
|
@@ -180,10 +182,8 @@ void DirDefImpl::sort()
|
|
static QCString encodeDirName(const QCString &anchor)
|
|
{
|
|
// 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.rawData(),33);
|
|
+ MD5Data((const unsigned char *)anchor.data(),anchor.length(),sigStr.rawData());
|
|
return sigStr;
|
|
|
|
// old algorithm
|