132 lines
5.7 KiB
Diff
132 lines
5.7 KiB
Diff
diff -Naur bacula-13.0.0.old/autoconf/bacula-macros/db.m4 bacula-13.0.0/autoconf/bacula-macros/db.m4
|
|
--- bacula-13.0.0.old/autoconf/bacula-macros/db.m4 2022-07-08 14:50:02.293058459 +0200
|
|
+++ bacula-13.0.0/autoconf/bacula-macros/db.m4 2022-07-08 14:52:40.525902566 +0200
|
|
@@ -102,7 +102,7 @@
|
|
fi
|
|
DBI_INCLUDE=-I$DBI_INCDIR
|
|
if test x$use_libtool != xno; then
|
|
- DBI_LIBS="-R $DBI_LIBDIR -L$DBI_LIBDIR -ldbi"
|
|
+ DBI_LIBS="-L$DBI_LIBDIR -ldbi"
|
|
else
|
|
DBI_LIBS="-L$DBI_LIBDIR -ldbi"
|
|
fi
|
|
@@ -494,7 +494,7 @@
|
|
elif test -f $MYSQL_LIBDIR/libmysqlclient_r.a \
|
|
-o -f $MYSQL_LIBDIR/libmysqlclient_r.so; then
|
|
if test x$use_libtool != xno; then
|
|
- MYSQL_LIBS="-R $MYSQL_LIBDIR -L$MYSQL_LIBDIR -lmysqlclient_r -lz"
|
|
+ MYSQL_LIBS="-L$MYSQL_LIBDIR -lmysqlclient_r -lz"
|
|
else
|
|
MYSQL_LIBS="-L$MYSQL_LIBDIR -lmysqlclient_r -lz"
|
|
fi
|
|
@@ -625,7 +625,7 @@
|
|
fi
|
|
MYSQL_INCLUDE=-I$MYSQL_INCDIR
|
|
if test x$use_libtool != xno; then
|
|
- MYSQL_LIBS="-R $MYSQL_LIBDIR -L$MYSQL_LIBDIR -lmysqld -lz -lm -lcrypt"
|
|
+ MYSQL_LIBS="-L$MYSQL_LIBDIR -lmysqld -lz -lm -lcrypt"
|
|
else
|
|
MYSQL_LIBS="-L$MYSQL_LIBDIR -lmysqld -lz -lm -lcrypt"
|
|
fi
|
|
@@ -715,7 +715,7 @@
|
|
fi
|
|
INGRES_INCLUDE=-I$INGRES_INCDIR
|
|
if test x$use_libtool != xno; then
|
|
- INGRES_LIBS="-R $INGRES_LIBDIR -L$INGRES_LIBDIR -lq.1 -lcompat.1 -lframe.1"
|
|
+ INGRES_LIBS="-L$INGRES_LIBDIR -lq.1 -lcompat.1 -lframe.1"
|
|
else
|
|
INGRES_LIBS="-L$INGRES_LIBDIR -lq.1 -lcompat.1 -lframe.1"
|
|
fi
|
|
@@ -803,7 +803,7 @@
|
|
fi
|
|
SQLITE_INCLUDE=-I$SQLITE_INCDIR
|
|
if test x$use_libtool != xno; then
|
|
- SQLITE_LIBS="-R $SQLITE_LIBDIR -L$SQLITE_LIBDIR -lsqlite3"
|
|
+ SQLITE_LIBS="-L$SQLITE_LIBDIR -lsqlite3"
|
|
else
|
|
SQLITE_LIBS="-L$SQLITE_LIBDIR -lsqlite3"
|
|
fi
|
|
@@ -936,7 +936,7 @@
|
|
|
|
POSTGRESQL_INCLUDE=-I$POSTGRESQL_INCDIR
|
|
if test x$use_libtool != xno; then
|
|
- POSTGRESQL_LIBS="-R $POSTGRESQL_LIBDIR -L$POSTGRESQL_LIBDIR -lpq"
|
|
+ POSTGRESQL_LIBS="-L$POSTGRESQL_LIBDIR -lpq"
|
|
else
|
|
POSTGRESQL_LIBS="-L$POSTGRESQL_LIBDIR -lpq"
|
|
fi
|
|
diff -Naur bacula-13.0.0.old/autoconf/configure.in bacula-13.0.0/autoconf/configure.in
|
|
--- bacula-13.0.0.old/autoconf/configure.in 2022-07-08 14:50:02.292058441 +0200
|
|
+++ bacula-13.0.0/autoconf/configure.in 2022-07-08 14:52:40.528902620 +0200
|
|
@@ -16,7 +16,7 @@
|
|
cd ${BUILD_DIR}
|
|
AC_SUBST(BUILD_DIR)
|
|
AC_SUBST(TOP_DIR)
|
|
-AC_CONFIG_AUX_DIR(${BUILD_DIR}/autoconf)
|
|
+AC_CONFIG_AUX_DIR(autoconf)
|
|
AC_CONFIG_HEADERS(src/config.h:autoconf/config.h.in)
|
|
|
|
dnl minimal Win32 stuff for "make clean"
|
|
@@ -3508,11 +3508,6 @@
|
|
AC_DEFINE(FDLIBS)
|
|
|
|
CFLAGS=${CFLAGS--O}
|
|
-
|
|
-if test x$have_gcc = xyes ; then
|
|
- CPPFLAGS="$CPPFLAGS -x c++ -fno-strict-aliasing -fno-exceptions -fno-rtti"
|
|
- CFLAGS="$CFLAGS -x c++ -fno-strict-aliasing -fno-exceptions -fno-rtti"
|
|
-fi
|
|
LDFLAGS=${LDFLAGS--O}
|
|
CPPFLAGS="$CPPFLAGS"
|
|
CFLAGS="$CFLAGS"
|
|
diff -Naur bacula-13.0.0.old/autoconf/Make.common.in bacula-13.0.0/autoconf/Make.common.in
|
|
--- bacula-13.0.0.old/autoconf/Make.common.in 2022-07-08 14:50:02.290058405 +0200
|
|
+++ bacula-13.0.0/autoconf/Make.common.in 2022-07-08 14:52:40.529902638 +0200
|
|
@@ -75,12 +75,12 @@
|
|
DEFAULT_ARCHIVE_TYPE = @DEFAULT_ARCHIVE_TYPE@
|
|
DEFAULT_SHARED_OBJECT_TYPE = @DEFAULT_SHARED_OBJECT_TYPE@
|
|
LIBTOOL = @BUILD_DIR@/libtool
|
|
-LIBTOOL_COMPILE = @LIBTOOL@ --silent --tag=CXX --mode=compile
|
|
-LIBTOOL_LINK = @LIBTOOL@ --silent --tag=CXX --mode=link
|
|
-LIBTOOL_INSTALL = @LIBTOOL@ --silent --tag=CXX --mode=install
|
|
-LIBTOOL_INSTALL_FINISH = @LIBTOOL@ --silent --tag=CXX --finish --mode=install
|
|
-LIBTOOL_UNINSTALL = @LIBTOOL@ --silent --tag=CXX --mode=uninstall
|
|
-LIBTOOL_CLEAN = @LIBTOOL@ --silent --tag=CXX --mode=clean
|
|
+LIBTOOL_COMPILE = @LIBTOOL@ --tag=CXX --mode=compile
|
|
+LIBTOOL_LINK = @LIBTOOL@ --tag=CXX --mode=link
|
|
+LIBTOOL_INSTALL = @LIBTOOL@ --tag=CXX --mode=install
|
|
+LIBTOOL_INSTALL_FINISH = @LIBTOOL@ --tag=CXX --finish --mode=install
|
|
+LIBTOOL_UNINSTALL = @LIBTOOL@ --tag=CXX --mode=uninstall
|
|
+LIBTOOL_CLEAN = @LIBTOOL@ --tag=CXX --mode=clean
|
|
|
|
# Flags & libs
|
|
CFLAGS = @CFLAGS@ @OPENSSL_INC@
|
|
diff -Naur bacula-13.0.0.old/src/qt-console/bat.pro.in bacula-13.0.0/src/qt-console/bat.pro.in
|
|
--- bacula-13.0.0.old/src/qt-console/bat.pro.in 2022-07-08 14:50:57.498050723 +0200
|
|
+++ bacula-13.0.0/src/qt-console/bat.pro.in 2022-07-08 14:52:40.529902638 +0200
|
|
@@ -23,8 +23,8 @@
|
|
DEPENDPATH += .
|
|
INCLUDEPATH += .. . ./console ./restore ./select
|
|
LIBS += -L../lib -lbaccfg -lbac -L../findlib -lbacfind @OPENSSL_LIBS@
|
|
-LIBTOOL_LINK = @QMAKE_LIBTOOL@ --silent --tag=CXX --mode=link
|
|
-LIBTOOL_INSTALL = @QMAKE_LIBTOOL@ --silent --mode=install
|
|
+LIBTOOL_LINK = @QMAKE_LIBTOOL@ --tag=CXX --mode=link
|
|
+LIBTOOL_INSTALL = @QMAKE_LIBTOOL@ --mode=install
|
|
QMAKE_LINK = $${LIBTOOL_LINK} $(CXX)
|
|
QMAKE_INSTALL_PROGRAM = $${LIBTOOL_INSTALL} install -m @SBINPERM@ -p
|
|
QMAKE_CLEAN += .libs/* bat
|
|
diff -Naur bacula-13.0.0.old/src/qt-console/tray-monitor/tray-monitor.pro.in bacula-13.0.0/src/qt-console/tray-monitor/tray-monitor.pro.in
|
|
--- bacula-13.0.0.old/src/qt-console/tray-monitor/tray-monitor.pro.in 2022-07-08 14:50:02.187056554 +0200
|
|
+++ bacula-13.0.0/src/qt-console/tray-monitor/tray-monitor.pro.in 2022-07-08 14:52:40.530902656 +0200
|
|
@@ -36,8 +36,8 @@
|
|
DEPENDPATH += .
|
|
INCLUDEPATH += ../.. .
|
|
QMAKE_CC = $(CXX)
|
|
-LIBTOOL_LINK = @QMAKE_LIBTOOL@ --silent --tag=CXX --mode=link
|
|
-LIBTOOL_INSTALL = @QMAKE_LIBTOOL@ --silent --mode=install
|
|
+LIBTOOL_LINK = @QMAKE_LIBTOOL@ --tag=CXX --mode=link
|
|
+LIBTOOL_INSTALL = @QMAKE_LIBTOOL@ --mode=install
|
|
QMAKE_LINK = $${LIBTOOL_LINK} $(CXX)
|
|
QMAKE_INSTALL_PROGRAM = $${LIBTOOL_INSTALL} install -m @SBINPERM@ -p
|
|
QMAKE_CLEAN += obj/* .libs/* bacula-tray-monitor release/bacula-tray-monitor
|