summaryrefslogtreecommitdiff
path: root/archlinuxaba/bacula/look-for-qt-order.patch
diff options
context:
space:
mode:
Diffstat (limited to 'archlinuxaba/bacula/look-for-qt-order.patch')
-rw-r--r--archlinuxaba/bacula/look-for-qt-order.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/archlinuxaba/bacula/look-for-qt-order.patch b/archlinuxaba/bacula/look-for-qt-order.patch
new file mode 100644
index 0000000..089b828
--- /dev/null
+++ b/archlinuxaba/bacula/look-for-qt-order.patch
@@ -0,0 +1,23 @@
+diff -rauN bacula-13.0.1/configure bacula-13.0.1-look-for-qt-order-patch/configure
+--- bacula-13.0.1/configure 2022-08-05 17:13:35.000000000 +0200
++++ bacula-13.0.1-look-for-qt-order-patch/configure 2022-12-01 06:58:25.828032900 +0100
+@@ -22000,15 +22000,15 @@
+
+ BAT_DIR=
+ if test x$support_bat = xyes; then
+- abc=`$PKG_CONFIG QtGui`
++ abc=`$PKG_CONFIG Qt5Gui`
+ pkg=$?
+ if test $pkg = 0; then
+- BAT_DIR=src/qt-console
++ BAT_DIR="src/qt-console src/qt-console/tray-monitor"
+ else
+- abc=`$PKG_CONFIG Qt5Gui`
++ abc=`$PKG_CONFIG QtGui`
+ pkg=$?
+ if test $pkg = 0; then
+- BAT_DIR="src/qt-console src/qt-console/tray-monitor"
++ BAT_DIR=src/qt-console
+ else
+ as_fn_error $? "Unable to find either Qt4 or Qt5 installation needed by bat" "$LINENO" 5
+ fi