From 81b819920ddf7962c44a52e064ebcdf954aa72c9 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Thu, 2 Sep 2010 23:32:17 +0200 Subject: [PATCH] mysql: fixed to install my_compiler.h, required to build php's bindings --- ...5.1.50_include_missing_my_compiler_h.patch | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 database/mysql/5.1.50_include_missing_my_compiler_h.patch diff --git a/database/mysql/5.1.50_include_missing_my_compiler_h.patch b/database/mysql/5.1.50_include_missing_my_compiler_h.patch new file mode 100644 index 000000000..ea270873d --- /dev/null +++ b/database/mysql/5.1.50_include_missing_my_compiler_h.patch @@ -0,0 +1,59 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../mysql/5.1.50_include_missing_my_compiler_h.patch +# Copyright (C) 2010 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +http://bugs.mysql.com/bug.php?id=55846 + +diff -Naur mysql-5.1.50.orig/include/Makefile.am mysql-5.1.50/include/Makefile.am +--- mysql-5.1.50.orig/include/Makefile.am 2010-08-03 18:24:29.000000000 +0100 ++++ mysql-5.1.50/include/Makefile.am 2010-08-24 11:57:01.000000000 +0100 +@@ -23,7 +23,7 @@ + pkginclude_HEADERS = $(HEADERS_ABI) my_dbug.h m_string.h my_sys.h \ + my_xml.h mysql_embed.h \ + my_pthread.h my_no_pthread.h \ +- decimal.h errmsg.h my_global.h my_net.h \ ++ decimal.h errmsg.h my_compiler.h my_global.h my_net.h \ + my_getopt.h sslopt-longopts.h my_dir.h \ + sslopt-vars.h sslopt-case.h sql_common.h keycache.h \ + m_ctype.h my_attribute.h $(HEADERS_GEN_CONFIGURE) \ +@@ -37,7 +37,7 @@ + my_aes.h my_tree.h my_trie.h hash.h thr_alarm.h \ + thr_lock.h t_ctype.h violite.h my_md5.h base64.h \ + my_handler.h my_time.h my_vle.h my_user.h \ +- my_libwrap.h my_stacktrace.h my_compiler.h ++ my_libwrap.h my_stacktrace.h + + EXTRA_DIST = mysql.h.pp mysql/plugin.h.pp + +--- ./include/Makefile.in.orig 2010-09-02 23:28:59.000000000 +0200 ++++ ./include/Makefile.in 2010-09-02 23:29:55.000000000 +0200 +@@ -402,7 +402,7 @@ + pkginclude_HEADERS = $(HEADERS_ABI) my_dbug.h m_string.h my_sys.h \ + my_xml.h mysql_embed.h \ + my_pthread.h my_no_pthread.h \ +- decimal.h errmsg.h my_global.h my_net.h \ ++ decimal.h errmsg.h my_compiler.h my_global.h my_net.h \ + my_getopt.h sslopt-longopts.h my_dir.h \ + sslopt-vars.h sslopt-case.h sql_common.h keycache.h \ + m_ctype.h my_attribute.h $(HEADERS_GEN_CONFIGURE) \ +@@ -416,7 +416,7 @@ + my_aes.h my_tree.h my_trie.h hash.h thr_alarm.h \ + thr_lock.h t_ctype.h violite.h my_md5.h base64.h \ + my_handler.h my_time.h my_vle.h my_user.h \ +- my_libwrap.h my_stacktrace.h my_compiler.h ++ my_libwrap.h my_stacktrace.h + + EXTRA_DIST = mysql.h.pp mysql/plugin.h.pp +