mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 16:10:33 -04:00
- 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
25 lines
1,002 B
Text
25 lines
1,002 B
Text
--- src/definition.cpp.orig 2020-12-01 19:59:57 UTC
|
|
+++ src/definition.cpp
|
|
@@ -22,6 +22,7 @@
|
|
|
|
#include <ctype.h>
|
|
#include <qregexp.h>
|
|
+#include <sys/types.h>
|
|
#include "md5.h"
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
@@ -446,13 +447,11 @@ void DefinitionImpl::writeDocAnchorsToTagFile(FTextStr
|
|
|
|
bool DefinitionImpl::_docsAlreadyAdded(const QCString &doc,QCString &sigList)
|
|
{
|
|
- uchar md5_sig[16];
|
|
QCString sigStr(33);
|
|
// to avoid mismatches due to differences in indenting, we first remove
|
|
// double whitespaces...
|
|
QCString docStr = doc.simplifyWhiteSpace();
|
|
- MD5Buffer((const unsigned char *)docStr.data(),docStr.length(),md5_sig);
|
|
- MD5SigToString(md5_sig,sigStr.rawData(),33);
|
|
+ MD5Data((const unsigned char *)docStr.data(),docStr.length(),sigStr.rawData());
|
|
//printf("%s:_docsAlreadyAdded doc='%s' sig='%s' docSigs='%s'\n",
|
|
// name().data(),doc.data(),sigStr.data(),sigList.data());
|
|
if (sigList.find(sigStr)==-1) // new docs, add signature to prevent re-adding it
|