Mysql 5.5.18 patch

This commit is contained in:
Simone Caronni 2011-12-10 22:52:34 +01:00
parent 84365c0d5d
commit 0e75ff5f1c
2 changed files with 18 additions and 1 deletions

12
bacula-5.2.2-mysql.patch Normal file
View File

@ -0,0 +1,12 @@
diff -Naur bacula-5.2.2.old/src/cats/mysql.c bacula-5.2.2/src/cats/mysql.c
--- bacula-5.2.2.old/src/cats/mysql.c 2011-11-26 15:08:12.000000000 +0100
+++ bacula-5.2.2/src/cats/mysql.c 2011-12-10 22:32:47.763334236 +0100
@@ -296,7 +296,7 @@
void B_DB_MYSQL::db_thread_cleanup(void)
{
#ifndef HAVE_WIN32
- my_thread_end();
+ mysql_thread_end();
#endif
}

View File

@ -1,6 +1,6 @@
Name: bacula
Version: 5.2.2
Release: 9%{?dist}
Release: 10%{?dist}
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
# See LICENSE for details
License: GPLv2 with exceptions
@ -25,6 +25,7 @@ Source18: bacula-checkconf
Patch1: bacula-5.2.2-config.patch
Patch2: bacula-5.0.2-openssl.patch
Patch3: bacula-5.2.2-queryfile.patch
Patch4: bacula-5.2.2-mysql.patch
Patch5: bacula-5.2.2-log-path.patch
Patch6: bacula-5.0.3-sqlite-priv.patch
Patch7: bacula-5.2.1-bat-pamd.patch
@ -296,6 +297,7 @@ Provides check_bacula support for Nagios.
%patch1 -p1 -b .config
%patch2 -p2 -b .openssl
%patch3 -p1 -b .queryfile
%patch4 -p1 -b .mysql
%patch5 -p1 -b .log-path
%patch6 -p0 -b .priv
%patch7 -p1 -b .bat-pamd
@ -842,6 +844,9 @@ fi
%changelog
* Sat Dec 10 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-10
- Added patch for mysql 5.5.18 from Oliver Falk.
* Wed Dec 07 2011 Simone Caronni <negativo17@gmail.com> - 5.2.2-9
- Add sample-query.sql as config file.
- Small log changes.