- Update to 1.5.9

PR:		134237
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
This commit is contained in:
Martin Wilke 2009-05-09 09:18:11 +00:00
parent c347643100
commit 766496d2a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233492
3 changed files with 10 additions and 7 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= doxygen
PORTVERSION= 1.5.8
PORTVERSION= 1.5.9
CATEGORIES= devel
MASTER_SITES= ftp://ftp.stack.nl/pub/users/dimitri/ \
http://ftp.stack.nl/pub/users/dimitri/

View File

@ -1,3 +1,3 @@
MD5 (doxygen-1.5.8.src.tar.gz) = 7438b7ff875d522f02860eea39261953
SHA256 (doxygen-1.5.8.src.tar.gz) = 01540aaf7e929e7784e3392331f2c915480acb174a16e8652855d90965f44ff8
SIZE (doxygen-1.5.8.src.tar.gz) = 4125837
MD5 (doxygen-1.5.9.src.tar.gz) = 33c5598fa6d24cbc55849eaf89652557
SHA256 (doxygen-1.5.9.src.tar.gz) = 89c3d1102e9e5c63ff735dee88b595bc986fbb2b5944b28ba5f91d31adf8958e
SIZE (doxygen-1.5.9.src.tar.gz) = 4141375

View File

@ -14,15 +14,18 @@ diff -ruN src/definition.cpp src/definition.cpp
#include <md5.h>
#include <stdio.h>
#include <stdlib.h>
@@ -352,10 +353,8 @@
@@ -363,13 +364,11 @@
bool Definition::_docsAlreadyAdded(const QString &doc)
{
- uchar md5_sig[16];
QCString sigStr(33);
- MD5Buffer((const unsigned char *)doc.data(),doc.length(),md5_sig);
// 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.data(),33);
+ MD5Data((const unsigned char*)doc.data(),doc.length(),sigStr.data());
+ MD5Data((const unsigned char*)docStr.data(),docStr.length(),sigStr.data());
if (m_impl->docSignatures.find(sigStr)==-1) // new docs, add signature to prevent re-adding it
{
m_impl->docSignatures+=":"+sigStr;