diff --git a/security/cryptopp/Makefile b/security/cryptopp/Makefile index 4bb248f44870..9741e1c005d5 100644 --- a/security/cryptopp/Makefile +++ b/security/cryptopp/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: cryptopp -# Date created: 18 January 2001 -# Whom: George Reid -# +# Created by: George Reid # $FreeBSD$ -# PORTNAME= cryptopp PORTVERSION= 5.6.1 diff --git a/security/cryptopp/files/patch-wake.cpp b/security/cryptopp/files/patch-wake.cpp new file mode 100644 index 000000000000..4f4e228189e3 --- /dev/null +++ b/security/cryptopp/files/patch-wake.cpp @@ -0,0 +1,20 @@ +--- wake.cpp.orig ++++ wake.cpp +@@ -25,13 +25,13 @@ void WAKE_Base::GenKey(word32 k0, word32 k1, word32 k2, word32 k3) + CRYPTOPP_COMPILE_ASSERT(sizeof(x) == 4); + static int tt[10]= { + 0x726a8f3b, // table +- 0xe69a3b5c, +- 0xd3c71fe5, +- 0xab3c73d2, ++ static_cast(0xe69a3b5c), ++ static_cast(0xd3c71fe5), ++ static_cast(0xab3c73d2), + 0x4d3a8eb3, + 0x0396d6e8, + 0x3d4c2f7a, +- 0x9ee27cf3, } ; ++ static_cast(0x9ee27cf3), } ; + t[0] = k0; + t[1] = k1; + t[2] = k2;