openbsd-ports/sysutils/bacula/patches/patch-src_qt-console_main_cpp
ajacoutot b549864bc8 Major update to bacula 5.2.1.
As usual with major version bump, do not forget to run the upgrade
script corresponding to your DB.
A new README is provided in the package.

Tested by sthen@ and myself.
"Don't wait on me" merdely@ (maintainer)

ok sthen@
2011-11-17 23:45:56 +00:00

13 lines
528 B
Plaintext

$OpenBSD: patch-src_qt-console_main_cpp,v 1.5 2011/11/17 23:45:56 ajacoutot Exp $
--- src/qt-console/main.cpp.orig Sun Oct 30 13:03:42 2011
+++ src/qt-console/main.cpp Mon Nov 14 12:19:03 2011
@@ -49,7 +49,7 @@ extern bool parse_bat_config(CONFIG *config, const cha
extern void message_callback(int /* type */, char *msg);
-#define CONFIG_FILE "bat.conf" /* default configuration file */
+#define CONFIG_FILE "${BACULACONF}/bat.conf" /* default configuration file */
/* Static variables */
static CONFIG *config;