pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/crypto++ Fix some errors in C++ usage.
details: https://anonhg.NetBSD.org/pkgsrc/rev/bbecc446cba3
branches: trunk
changeset: 602666:bbecc446cba3
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Apr 17 17:46:30 2012 +0000
description:
Fix some errors in C++ usage.
diffstat:
security/crypto++/distinfo | 5 ++++-
security/crypto++/patches/patch-panama.cpp | 13 +++++++++++++
security/crypto++/patches/patch-secblock.h | 13 +++++++++++++
security/crypto++/patches/patch-simple.h | 13 +++++++++++++
4 files changed, 43 insertions(+), 1 deletions(-)
diffs (65 lines):
diff -r bbd50ee0a9a0 -r bbecc446cba3 security/crypto++/distinfo
--- a/security/crypto++/distinfo Tue Apr 17 17:45:40 2012 +0000
+++ b/security/crypto++/distinfo Tue Apr 17 17:46:30 2012 +0000
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.4 2007/12/01 04:17:51 rillig Exp $
+$NetBSD: distinfo,v 1.5 2012/04/17 17:46:30 joerg Exp $
SHA1 (cryptopp552.zip) = 18efe451b3c682f40db75dc2b09cb448a835e7d6
RMD160 (cryptopp552.zip) = 8929795b654d7186b2b38714d22a57ea01862dbd
Size (cryptopp552.zip) = 992073 bytes
SHA1 (patch-aa) = 777f0cec232cf696ea1a9dd04fa626f3e76442c1
+SHA1 (patch-panama.cpp) = 483b7153d3b5433b34981d7eb4895e37c7d9a1b7
+SHA1 (patch-secblock.h) = 5e0e3c5b48424e4232a88efc2244a9bd5df0fc5a
+SHA1 (patch-simple.h) = 1a268509a6bc96dcaa61e83cc2fcb7ed1f7eb180
diff -r bbd50ee0a9a0 -r bbecc446cba3 security/crypto++/patches/patch-panama.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/crypto++/patches/patch-panama.cpp Tue Apr 17 17:46:30 2012 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-panama.cpp,v 1.1 2012/04/17 17:46:31 joerg Exp $
+
+--- panama.cpp.orig 2012-04-17 15:42:03.000000000 +0000
++++ panama.cpp
+@@ -420,7 +420,7 @@ void PanamaHash<B>::TruncatedFinal(byte
+ {
+ this->ThrowIfInvalidTruncatedSize(size);
+
+- PadLastBlock(this->BLOCKSIZE, 0x01);
++ this->PadLastBlock(this->BLOCKSIZE, 0x01);
+
+ HashEndianCorrectedBlock(this->m_data);
+
diff -r bbd50ee0a9a0 -r bbecc446cba3 security/crypto++/patches/patch-secblock.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/crypto++/patches/patch-secblock.h Tue Apr 17 17:46:30 2012 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-secblock.h,v 1.1 2012/04/17 17:46:31 joerg Exp $
+
+--- secblock.h.orig 2012-04-17 15:36:29.000000000 +0000
++++ secblock.h
+@@ -94,7 +94,7 @@ public:
+
+ pointer allocate(size_type n, const void * = NULL)
+ {
+- CheckSize(n);
++ this->CheckSize(n);
+ if (n == 0)
+ return NULL;
+
diff -r bbd50ee0a9a0 -r bbecc446cba3 security/crypto++/patches/patch-simple.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/crypto++/patches/patch-simple.h Tue Apr 17 17:46:30 2012 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-simple.h,v 1.1 2012/04/17 17:46:31 joerg Exp $
+
+--- simple.h.orig 2012-04-17 15:39:30.000000000 +0000
++++ simple.h
+@@ -125,7 +125,7 @@ public:
+ bool Flush(bool hardFlush, int propagation=-1, bool blocking=true)
+ {return ChannelFlush(this->NULL_CHANNEL, hardFlush, propagation, blocking);}
+ bool MessageSeriesEnd(int propagation=-1, bool blocking=true)
+- {return ChannelMessageSeriesEnd(this->NULL_CHANNEL, propagation, blocking);}
++ {return this->ChannelMessageSeriesEnd(this->NULL_CHANNEL, propagation, blocking);}
+ byte * CreatePutSpace(size_t &size)
+ {return ChannelCreatePutSpace(this->NULL_CHANNEL, size);}
+ size_t Put2(const byte *begin, size_t length, int messageEnd, bool blocking)
Home |
Main Index |
Thread Index |
Old Index