aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2012-04-02 15:43:24 +0800
committerale <ale@FreeBSD.org>2012-04-02 15:43:24 +0800
commit50abefa60da11800d4b6f936e0742006095180bd (patch)
tree9fbff90c7cefae856ee9bf3586237c9277d498fe
parentd838862edac673fe7bb52053e86c0295352dccd0 (diff)
downloadfreebsd-ports-gnome-50abefa60da11800d4b6f936e0742006095180bd.tar.gz
freebsd-ports-gnome-50abefa60da11800d4b6f936e0742006095180bd.tar.zst
freebsd-ports-gnome-50abefa60da11800d4b6f936e0742006095180bd.zip
Fix build on i386.
PR: ports/166503 Submitted by: Oleksii Tsai <oleksii.tsai@googlemail.com> Feature safe: yes
-rw-r--r--databases/mysql55-client/files/patch-extra_yassl_taocrypt_src_integer.cpp11
-rw-r--r--databases/mysql55-server/files/patch-extra_yassl_taocrypt_src_integer.cpp11
2 files changed, 22 insertions, 0 deletions
diff --git a/databases/mysql55-client/files/patch-extra_yassl_taocrypt_src_integer.cpp b/databases/mysql55-client/files/patch-extra_yassl_taocrypt_src_integer.cpp
new file mode 100644
index 000000000000..e94bf77c990d
--- /dev/null
+++ b/databases/mysql55-client/files/patch-extra_yassl_taocrypt_src_integer.cpp
@@ -0,0 +1,11 @@
+--- 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;
diff --git a/databases/mysql55-server/files/patch-extra_yassl_taocrypt_src_integer.cpp b/databases/mysql55-server/files/patch-extra_yassl_taocrypt_src_integer.cpp
new file mode 100644
index 000000000000..e94bf77c990d
--- /dev/null
+++ b/databases/mysql55-server/files/patch-extra_yassl_taocrypt_src_integer.cpp
@@ -0,0 +1,11 @@
+--- 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;