aboutsummaryrefslogtreecommitdiff
path: root/package/mysql/0003-ac_stack_direction-is-unset.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mysql/0003-ac_stack_direction-is-unset.patch')
-rw-r--r--package/mysql/0003-ac_stack_direction-is-unset.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/mysql/0003-ac_stack_direction-is-unset.patch b/package/mysql/0003-ac_stack_direction-is-unset.patch
new file mode 100644
index 0000000000..6fef0a9acf
--- /dev/null
+++ b/package/mysql/0003-ac_stack_direction-is-unset.patch
@@ -0,0 +1,15 @@
+misc.m4: ac_cv_c_stack_direction is unset.
+
+Signed-off-by: Marcelo Gutierrez (UTN/FRH) <kuyurix@gmail.com>
+
+--- mysql-5.1.70.orig/config/ac-macros/misc.m4
++++ mysql-5.1.70/config/ac-macros/misc.m4
+@@ -477,7 +477,7 @@
+ exit(ptr_f(&a) < 0);
+ }
+ ], ac_cv_c_stack_direction=1, ac_cv_c_stack_direction=-1,
+- ac_cv_c_stack_direction=)])
++ ac_cv_c_stack_direction=0)])
+ AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction)
+ ])dnl
+