It is supposed to be used only for debugging and when partially
enabled, like it was, it breaks tray-monitor
--- /dev/null
+diff -dur bacula-5.2.13.orig/src/version.h bacula-5.2.13/src/version.h
+--- bacula-5.2.13.orig/src/version.h 2013-02-19 20:21:35.000000000 +0100
++++ bacula-5.2.13/src/version.h 2013-12-04 20:36:09.987318325 +0100
+@@ -77,9 +77,9 @@
+ * it can always be turned on, but we advise to use it only
+ * for debug
+ */
+-# ifndef _USE_LOCKMGR
+-# define _USE_LOCKMGR
+-# endif /* _USE_LOCKMGR */
++//# ifndef _USE_LOCKMGR
++//# define _USE_LOCKMGR
++//# endif /* _USE_LOCKMGR */
+ /*
+ * Enable priority management with the lock manager
+ *
Patch3: %{name}-desktop.patch
Patch4: make_catalog_backup-setup-home.patch
Patch5: %{name}-wx-console-build.patch
+Patch6: %{name}-no_lockmgr.patch
URL: http://www.bacula.org/
BuildRequires: acl-devel
BuildRequires: autoconf
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
tar -xf %{SOURCE2} && ln -s bacula-rescue-* rescue