]> git.pld-linux.org Git - packages/percona-server.git/blobdiff - mysql-libs.patch
- builds on ac-amd64: RPMS/mysql-5.5.8-0.1.amd64.rpm
[packages/percona-server.git] / mysql-libs.patch
index fba7838502903ee3cca3b6df2d186ce69a93978e..bbca817343d3b565889cc2b2d950022e12c3b307 100644 (file)
@@ -1,51 +1,53 @@
---- mysql-4.1.7.org/configure.in       2004-10-27 01:35:54.930172056 +0200
-+++ mysql-4.1.7/configure.in   2004-10-27 01:39:04.368373072 +0200
-@@ -779,19 +779,20 @@
+--- mysql-5.1.21-beta/configure.in~    2007-08-29 19:00:29.000000000 +0300
++++ mysql-5.1.21-beta/configure.in     2007-08-29 19:00:35.000000000 +0300
+@@ -836,8 +836,9 @@
  
  AC_CHECK_LIB(m, floor, [], AC_CHECK_LIB(m, __infinity))
  
 -AC_CHECK_LIB(nsl_r, gethostbyname_r, [],
 -  AC_CHECK_LIB(nsl, gethostbyname_r))
--AC_CHECK_FUNC(gethostbyname_r)
-+AC_CHECK_FUNC(gethostbyname_r, [],
-+  [AC_CHECK_LIB(nsl_r, gethostbyname_r, [],
-+     [AC_CHECK_LIB(nsl, gethostbyname_r)])])
++AC_CHECK_FUNC(gethostbyname_r, [], [
++ AC_CHECK_LIB(nsl_r, gethostbyname_r, [],
++  AC_CHECK_LIB(nsl, gethostbyname_r)) ])
+ AC_CHECK_FUNC(gethostbyname_r)
  
- AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt))
--AC_CHECK_FUNC(yp_get_default_domain, ,
--  AC_CHECK_LIB(nsl, yp_get_default_domain))
- AC_CHECK_FUNC(p2open, , AC_CHECK_LIB(gen, p2open))
- # This may get things to compile even if bind-8 is installed
- AC_CHECK_FUNC(bind, , AC_CHECK_LIB(bind, bind))
- # For crypt() on Linux
--AC_CHECK_LIB(crypt, crypt)
+ AC_SEARCH_LIBS(setsockopt, socket)
+@@ -845,6 +846,11 @@
+ AC_SEARCH_LIBS(bind, bind)
+ # Check if crypt() exists in libc or libcrypt, sets LIBS if needed
+ AC_SEARCH_LIBS(crypt, crypt, AC_DEFINE(HAVE_CRYPT, 1, [crypt]))
 +save_LIBS="$LIBS"
 +AC_CHECK_LIB(crypt, crypt, [LIBS="-lcrypt $LIBS"; LIBCRYPT="-lcrypt"])
 +AC_SUBST(LIBCRYPT)
- AC_CHECK_FUNC(crypt, AC_DEFINE([HAVE_CRYPT], [1], [crypt])) 
++AC_CHECK_FUNC(crypt, AC_DEFINE([HAVE_CRYPT], [1], [crypt]))
 +LIBS="$save_LIBS"
+ # See if we need a library for address lookup.
+ AC_SEARCH_LIBS(inet_aton, [socket nsl resolv])
  
- # For sem_xxx functions on Solaris 2.6
- AC_CHECK_FUNC(sem_init, , AC_CHECK_LIB(posix4, sem_init))
---- mysql-5.0.21/libmysql_r/Makefile.am~       2006-05-02 16:55:15.179229923 +0300
-+++ mysql-5.0.21/libmysql_r/Makefile.am        2006-05-02 16:56:08.080408785 +0300
-@@ -32,7 +32,7 @@
- libmysql_dir = $(top_srcdir)/libmysql
- libmysqlclient_r_la_SOURCES = $(target_sources)
--libmysqlclient_r_la_LIBADD = $(target_libadd) $(yassl_las)
-+libmysqlclient_r_la_LIBADD = $(target_libadd) $(yassl_las) -lpthread
- libmysqlclient_r_la_LDFLAGS = $(target_ldflags)
- # This is called from the toplevel makefile
---- mysql-4.1.7.org/sql/Makefile.am    2004-10-27 01:35:55.971013824 +0200
-+++ mysql-4.1.7/sql/Makefile.am        2004-10-27 01:37:07.260176224 +0200
-@@ -44,7 +44,7 @@
-                         @innodb_system_libs@ \
-                       @ndbcluster_libs@ @ndbcluster_system_libs@ \
+--- mysql-5.1.21-beta/sql/Makefile.am~ 2007-08-29 18:58:33.000000000 +0300
++++ mysql-5.1.21-beta/sql/Makefile.am  2007-08-29 19:01:33.000000000 +0300
+@@ -43,7 +43,7 @@
+                       @pstack_libs@ \
+                       @mysql_plugin_libs@ \
                        $(LDADD)  $(CXXLDFLAGS) $(WRAPLIBS) @LIBDL@ \
--                        @yassl_libs@ @openssl_libs@
-+                        @yassl_libs@ @openssl_libs@ @LIBCRYPT@
+-                      $(yassl_libs) $(openssl_libs) @MYSQLD_EXTRA_LIBS@
++                      $(yassl_libs) $(openssl_libs) @LIBCRYPT@ @MYSQLD_EXTRA_LIBS@
  noinst_HEADERS =      item.h item_func.h item_sum.h item_cmpfunc.h \
-                       item_strfunc.h item_timefunc.h item_uniq.h \
-                       item_create.h item_subselect.h item_row.h \
+                       item_strfunc.h item_timefunc.h \
+--- mysql-5.1.26-rc/config/ac-macros/ssl.m4.orig       2008-07-01 00:35:01.000000000 +0200
++++ mysql-5.1.26-rc/config/ac-macros/ssl.m4    2008-08-25 19:53:00.258254465 +0200
+@@ -102,7 +102,12 @@
+   #
+   # Try to link with openSSL libs in <location>
+   #
+-  openssl_libs="-L$location/lib/ -lssl -lcrypto"
++  if test "$location" != "/usr"
++  then
++  openssl_libs="-L$location/lib -lssl -lcrypto"
++  else
++  openssl_libs="-lssl -lcrypto"
++  fi
+   MYSQL_CHECK_SSL_DIR([$openssl_includes], [$openssl_libs])
+   if test "$mysql_ssl_found" == "no"
This page took 0.04808 seconds and 4 git commands to generate.