summaryrefslogtreecommitdiff
path: root/package/mysql/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/mysql/patches')
-rw-r--r--package/mysql/patches/patch-include_config_h_in4
-rw-r--r--package/mysql/patches/patch-scripts_mysql_config_sh11
2 files changed, 13 insertions, 2 deletions
diff --git a/package/mysql/patches/patch-include_config_h_in b/package/mysql/patches/patch-include_config_h_in
index 361a8b651..d9b28c419 100644
--- a/package/mysql/patches/patch-include_config_h_in
+++ b/package/mysql/patches/patch-include_config_h_in
@@ -1,11 +1,11 @@
--- mysql-5.1.48.orig/include/config.h.in 2010-06-03 17:54:04.000000000 +0200
-+++ mysql-5.1.48/include/config.h.in 2011-01-15 13:01:30.000000000 +0100
++++ mysql-5.1.48/include/config.h.in 2011-01-21 00:08:19.737408555 +0100
@@ -856,7 +856,7 @@
/* Define to 1 if you have the `strtoull' function. */
#undef HAVE_STRTOULL
-/* Define to 1 if `st_rdev' is member of `struct stat'. */
-+/* Define to 1 if `st_rdev' is a member of `struct stat'. */
++/* Define to 1 if `struct stat' is a member of `st_rdev'. */
#undef HAVE_STRUCT_STAT_ST_RDEV
/* Define to 1 if your `struct stat' has `st_rdev'. Deprecated, use
diff --git a/package/mysql/patches/patch-scripts_mysql_config_sh b/package/mysql/patches/patch-scripts_mysql_config_sh
new file mode 100644
index 000000000..3e1833199
--- /dev/null
+++ b/package/mysql/patches/patch-scripts_mysql_config_sh
@@ -0,0 +1,11 @@
+--- mysql-5.1.48.orig/scripts/mysql_config.sh 2010-06-03 17:50:21.000000000 +0200
++++ mysql-5.1.48/scripts/mysql_config.sh 2011-01-21 00:32:53.596454498 +0100
+@@ -119,7 +119,7 @@ if [ -r "$pkglibdir/libmygcc.a" ]; then
+ embedded_libs="$embedded_libs -lmygcc "
+ fi
+
+-cflags="-I$pkgincludedir @CFLAGS@ " #note: end space!
++cflags="-I$pkgincludedir" #note: end space!
+ include="-I$pkgincludedir"
+
+ # Remove some options that a client doesn't have to care about