From 187db2a167eefa394d7dff9a92f9da40b1dcdb21 Mon Sep 17 00:00:00 2001 From: Jon Ciesla Date: Jan 06 2011 17:32:03 +0000 Subject: MySQL 5.5 patch. --- diff --git a/bacula-5.0.3-mysql55.patch b/bacula-5.0.3-mysql55.patch new file mode 100644 index 0000000..ea459c2 --- /dev/null +++ b/bacula-5.0.3-mysql55.patch @@ -0,0 +1,11 @@ +--- src/cats/mysql.c~ 2010-08-05 09:29:51.000000000 -0500 ++++ src/cats/mysql.c 2011-01-06 11:28:59.907306001 -0600 +@@ -292,7 +292,7 @@ + void db_thread_cleanup() + { + #ifndef HAVE_WIN32 +- my_thread_end(); ++ mysql_thread_end(); + #endif + } + diff --git a/bacula.spec b/bacula.spec index e5135b3..3b6c913 100644 --- a/bacula.spec +++ b/bacula.spec @@ -52,6 +52,7 @@ Patch18: bacula-5.0.3-dsolink.patch Patch19: bacula-5.0.3-log-path.patch Patch20: bacula-5.0.3-sqlite-priv.patch Patch21: bacula-5.0.3-tray-dir.patch +Patch22: bacula-5.0.3-mysql55.patch URL: http://www.bacula.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -370,6 +371,7 @@ pushd bacula-%{version} %patch19 -p2 -b .log-path %patch20 -p0 -b .priv %patch21 -p2 -b .tray-dir +%patch22 -p0 -b .mysql55 # Remove execution permissions from files we're packaging as docs later on find examples -type f | xargs chmod -x @@ -1025,7 +1027,7 @@ fi %changelog * Mon Jan 03 2011 Jon Ciesla - 5.0.3-7 -- Rebuild for MySQL 5.5. +- Rebuild for MySQL 5.5, with patch. * Fri Nov 26 2010 Jan Görig - 5.0.3-6 - Fixed previous fix of alternatives