summaryrefslogtreecommitdiff
path: root/package/mysql/patches/patch-include_my_global_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-12-26 18:18:36 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2014-12-26 18:18:55 (GMT)
commiteaff7ac1d8cc0bd86e9c3f491473209f971c2e56 (patch)
tree8d4beb132526aa8173dee3949034d4f6def8e330 /package/mysql/patches/patch-include_my_global_h
parent42df43cc66e9246389555ec58de5aec721f5eb97 (diff)
update to latest upstream, fix uClibc-ng compile
Diffstat (limited to 'package/mysql/patches/patch-include_my_global_h')
-rw-r--r--package/mysql/patches/patch-include_my_global_h15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/mysql/patches/patch-include_my_global_h b/package/mysql/patches/patch-include_my_global_h
new file mode 100644
index 0000000..37c22fd
--- /dev/null
+++ b/package/mysql/patches/patch-include_my_global_h
@@ -0,0 +1,15 @@
+--- mysql-5.6.22.orig/include/my_global.h 2014-11-20 23:39:51.000000000 -0600
++++ mysql-5.6.22/include/my_global.h 2014-12-26 10:33:04.736371139 -0600
+@@ -769,11 +769,7 @@ inline unsigned long long my_double2ulon
+ #define my_isnan(X) std::isnan(X)
+ #define my_isinf(X) std::isinf(X)
+ #else
+- #ifdef HAVE_LLVM_LIBCPP /* finite is deprecated in libc++ */
+- #define my_isfinite(X) isfinite(X)
+- #else
+- #define my_isfinite(X) finite(X)
+- #endif
++ #define my_isfinite(X) isfinite(X)
+ #define my_isnan(X) isnan(X)
+ #ifdef HAVE_ISINF
+ /* System-provided isinf() is available and safe to use */