freebsd-ports/databases/mariadb55-server/files/patch-extra_yassl_taocrypt_src_integer.cpp
Florian Smeets 87a0e0727b Add the 5.5 branch of MariaDB
PR:		ports/174660
Submitted by:	Alexandr Kovalenko <never@nevermind.kiev.ua>
Approved by:	geoffroy desvernay <dgeo@centrale-marseille.fr>
		(maintainer of databases/mariadb-*)
2013-01-05 11:30:51 +00:00

11 lines
451 B
C++

--- extra/yassl/taocrypt/src/integer.cpp.orig 2012-04-02 09:37:09.000000000 +0200
+++ extra/yassl/taocrypt/src/integer.cpp 2012-04-02 09:37:41.000000000 +0200
@@ -73,7 +73,7 @@
CPP_TYPENAME AlignedAllocator<T>::pointer AlignedAllocator<T>::allocate(
size_type n, const void *)
{
- if (n > max_size())
+ if (n > AlignedAllocator<T>::max_size())
return 0;
if (n == 0)
return 0;