Blame SOURCES/bacula-5.2.13-bat-build.patch

2785c5
diff -Naur bacula-5.2.13.old/src/qt-console/bat.pro.in bacula-5.2.13/src/qt-console/bat.pro.in
2785c5
--- bacula-5.2.13.old/src/qt-console/bat.pro.in	2013-02-19 20:21:35.000000000 +0100
2785c5
+++ bacula-5.2.13/src/qt-console/bat.pro.in	2013-02-20 09:45:44.110033340 +0100
2785c5
@@ -6,13 +6,13 @@
2785c5
 #
2785c5
 #   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2785c5
 #    
2785c5
-CONFIG += qt debug @QWT@
2785c5
+CONFIG += qt release @QWT@
2785c5
 
2785c5
 bins.path = /$(DESTDIR)@sbindir@
2785c5
 bins.files = bat
2785c5
 confs.path = /$(DESTDIR)@sysconfdir@
2785c5
 confs.commands = ./install_conf_file
2785c5
-help.path = /$(DESTDIR)@docdir@
2785c5
+help.path = /$(DESTDIR)@htmldir@
2785c5
 help.files = help/*.html images/status.png images/mail-message-new.png
2785c5
 
2785c5
 TEMPLATE     = app
2785c5
diff -Naur bacula-5.2.13.old/src/qt-console/main.cpp bacula-5.2.13/src/qt-console/main.cpp
2785c5
--- bacula-5.2.13.old/src/qt-console/main.cpp	2013-02-19 20:21:35.000000000 +0100
2785c5
+++ bacula-5.2.13/src/qt-console/main.cpp	2013-02-20 09:46:19.556679571 +0100
2785c5
@@ -40,9 +40,9 @@
2785c5
 /*
2785c5
  * We need Qt version 4.8.4 or later to be able to comple correctly
2785c5
  */
2785c5
-#if QT_VERSION < 0x040804
2785c5
+#if QT_VERSION < 0x040602
2785c5
 #error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
2785c5
-#error "You need Qt version 4.8.4 or later to build Bat"
2785c5
+#error "You need Qt version 4.6.2 or later to build Bat"
2785c5
 #error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
2785c5
 #endif
2785c5