]> git.pld-linux.org Git - packages/percona-server.git/blob - mysql-libs.patch
- updated to 5.0.19
[packages/percona-server.git] / mysql-libs.patch
1 diff -urN mysql-4.1.7.org/configure.in mysql-4.1.7/configure.in
2 --- mysql-4.1.7.org/configure.in        2004-10-27 01:35:54.930172056 +0200
3 +++ mysql-4.1.7/configure.in    2004-10-27 01:39:04.368373072 +0200
4 @@ -779,19 +779,20 @@
5  
6  AC_CHECK_LIB(m, floor, [], AC_CHECK_LIB(m, __infinity))
7  
8 -AC_CHECK_LIB(nsl_r, gethostbyname_r, [],
9 -  AC_CHECK_LIB(nsl, gethostbyname_r))
10 -AC_CHECK_FUNC(gethostbyname_r)
11 +AC_CHECK_FUNC(gethostbyname_r, [],
12 +  [AC_CHECK_LIB(nsl_r, gethostbyname_r, [],
13 +     [AC_CHECK_LIB(nsl, gethostbyname_r)])])
14  
15  AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt))
16 -AC_CHECK_FUNC(yp_get_default_domain, ,
17 -  AC_CHECK_LIB(nsl, yp_get_default_domain))
18  AC_CHECK_FUNC(p2open, , AC_CHECK_LIB(gen, p2open))
19  # This may get things to compile even if bind-8 is installed
20  AC_CHECK_FUNC(bind, , AC_CHECK_LIB(bind, bind))
21  # For crypt() on Linux
22 -AC_CHECK_LIB(crypt, crypt)
23 +save_LIBS="$LIBS"
24 +AC_CHECK_LIB(crypt, crypt, [LIBS="-lcrypt $LIBS"; LIBCRYPT="-lcrypt"])
25 +AC_SUBST(LIBCRYPT)
26  AC_CHECK_FUNC(crypt, AC_DEFINE([HAVE_CRYPT], [1], [crypt])) 
27 +LIBS="$save_LIBS"
28  
29  # For sem_xxx functions on Solaris 2.6
30  AC_CHECK_FUNC(sem_init, , AC_CHECK_LIB(posix4, sem_init))
31 --- mysql-5.0.19-nightly-20060111/libmysql_r/Makefile.am~       2006-01-13 12:17:05.000000000 +0200
32 +++ mysql-5.0.19-nightly-20060111/libmysql_r/Makefile.am        2006-01-13 12:17:50.000000000 +0200
33 @@ -32,7 +32,7 @@
34  libmysql_dir = $(top_srcdir)/libmysql
35  
36  libmysqlclient_r_la_SOURCES = $(target_sources)
37 -libmysqlclient_r_la_LIBADD = $(target_libadd) $(yassl_libs_with_path)
38 +libmysqlclient_r_la_LIBADD = $(target_libadd) $(yassl_libs_with_path) -lpthread
39  libmysqlclient_r_la_LDFLAGS = $(target_ldflags)
40  
41  # This is called from the toplevel makefile
42 diff -urN mysql-4.1.7.org/sql/Makefile.am mysql-4.1.7/sql/Makefile.am
43 --- mysql-4.1.7.org/sql/Makefile.am     2004-10-27 01:35:55.971013824 +0200
44 +++ mysql-4.1.7/sql/Makefile.am 2004-10-27 01:37:07.260176224 +0200
45 @@ -44,7 +44,7 @@
46                          @innodb_system_libs@ \
47                         @ndbcluster_libs@ @ndbcluster_system_libs@ \
48                         $(LDADD)  $(CXXLDFLAGS) $(WRAPLIBS) @LIBDL@ \
49 -                        @yassl_libs@ @openssl_libs@
50 +                        @yassl_libs@ @openssl_libs@ @LIBCRYPT@
51  noinst_HEADERS =       item.h item_func.h item_sum.h item_cmpfunc.h \
52                         item_strfunc.h item_timefunc.h item_uniq.h \
53                         item_create.h item_subselect.h item_row.h \
This page took 0.04382 seconds and 4 git commands to generate.