mysql: update to 5.1.50
This commit is contained in:
parent
5a2b558f32
commit
e825870fab
@ -1,4 +1,3 @@
|
||||
907c4ac28c33b2508750bca8a29ef9b9 my.cnf
|
||||
fda6e1139f11cc501ca600070424caa8 mysql-5.1-gcc45-apicheck.patch
|
||||
a90d87a71fa3c23dff6d78afc8e3184c mysql-5.1.49.tar.gz
|
||||
23bac4a0aafd683b077dac146ce2701f mysql-5.1.50.tar.gz
|
||||
642a596f13ebd7e459c5ff2fd382f06b mysqld
|
||||
|
@ -4,16 +4,14 @@
|
||||
# Depends on: ncurses readline zlib
|
||||
|
||||
name=mysql
|
||||
version=5.1.49
|
||||
version=5.1.50
|
||||
release=1
|
||||
source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.1/$name-$version.tar.gz \
|
||||
my.cnf mysqld mysql-5.1-gcc45-apicheck.patch)
|
||||
my.cnf mysqld)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
|
||||
patch -p1 -i $SRC/mysql-5.1-gcc45-apicheck.patch
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--libexecdir=/usr/sbin \
|
||||
|
@ -1,49 +0,0 @@
|
||||
# http://bugs.mysql.com/bug.php?id=52514
|
||||
|
||||
diff -Nru mysql-5.1.49.orig/Makefile.in mysql-5.1.49/Makefile.in
|
||||
--- mysql-5.1.49.orig/Makefile.in 2010-07-23 11:19:04.883436681 +0200
|
||||
+++ mysql-5.1.49/Makefile.in 2010-07-23 11:24:08.673443229 +0200
|
||||
@@ -1097,9 +1097,10 @@
|
||||
# 1) Generate preprocessor output for the files that need to
|
||||
# be tested for abi/api changes. use -nostdinc to prevent
|
||||
# generation of preprocessor output for system headers. This
|
||||
-# results in messages in stderr saying that these headers
|
||||
-# were not found. Redirect the stderr output to /dev/null
|
||||
-# to prevent seeing these messages.
|
||||
+# results in messages in stderr saying that these headers were not found
|
||||
+# with older gccs and in an error with newer ones. Redirect the stderr
|
||||
+# output to /dev/null to prevent seeing these messages, and guard includes
|
||||
+# with #ifndef mysql_abi_check; define mysql_abi_check for the abi check.
|
||||
# 2) sed the output to
|
||||
# 2.1) remove blank lines and lines that begin with "# "
|
||||
# 2.2) When gcc -E is run on the Mac OS and solaris sparc platforms it
|
||||
@@ -1135,7 +1136,7 @@
|
||||
do_abi_check:
|
||||
set -ex; \
|
||||
for file in $(abi_headers); do \
|
||||
- @CC@ -E -nostdinc -dI \
|
||||
+ @CC@ -Dmysql_abi_check -E -nostdinc -dI \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/include/mysql \
|
||||
-I$(top_srcdir)/sql \
|
||||
diff -Nru mysql-5.1.49.orig/include/mysql.h mysql-5.1.49/include/mysql.h
|
||||
--- mysql-5.1.49.orig/include/mysql.h 2010-07-23 11:19:05.353433926 +0200
|
||||
+++ mysql-5.1.49/include/mysql.h 2010-07-23 11:24:08.673443229 +0200
|
||||
@@ -44,7 +44,9 @@
|
||||
#endif
|
||||
|
||||
#ifndef _global_h /* If not standard header */
|
||||
+#ifndef mysql_abi_check
|
||||
#include <sys/types.h>
|
||||
+#endif
|
||||
#ifdef __LCC__
|
||||
#include <winsock2.h> /* For windows */
|
||||
#endif
|
||||
diff -Nru mysql-5.1.49.orig/include/mysql.h.pp mysql-5.1.49/include/mysql.h.pp
|
||||
--- mysql-5.1.49.orig/include/mysql.h.pp 2010-07-23 11:19:05.353433926 +0200
|
||||
+++ mysql-5.1.49/include/mysql.h.pp 2010-07-23 11:24:08.673443229 +0200
|
||||
@@ -1,4 +1,3 @@
|
||||
-#include <sys/types.h>
|
||||
typedef char my_bool;
|
||||
typedef int my_socket;
|
||||
#include "mysql_version.h"
|
Loading…
x
Reference in New Issue
Block a user