openbsd-ports/sysutils/bacula/patches/patch-src_qt-console_main_cpp
merdely b92ffdaba9 Update bacula to 5.0.2.
Fixes the weird install issues with the bat binary

New features can be found here:
http://www.bacula.org/5.0.x-manuals/en/main/main/New_Features_in_5_0_0.html

Thanks to sthen for help with the new wantlib/lib_depends stuff,
removing the sqlite flavor, ...

Thanks to giovanni for pointing out a ${TRUEPREFIX} -> /usr/local that
crept into one of my patch files.

ok sthen@
2010-07-20 14:38:39 +00:00

13 lines
526 B
Plaintext

$OpenBSD: patch-src_qt-console_main_cpp,v 1.4 2010/07/20 14:38:39 merdely Exp $
--- src/qt-console/main.cpp.orig Tue Apr 27 15:58:29 2010
+++ src/qt-console/main.cpp Thu Jun 24 16:25:08 2010
@@ -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;