[packages/bacula] - fix building on ix86, rel 5

baggins baggins at pld-linux.org
Sun Sep 26 10:47:08 CEST 2021


commit eefd6bbdb230291c72e9e36a76389c96eeeb517e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Sep 26 10:46:46 2021 +0200

    - fix building on ix86, rel 5

 bacula.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/bacula.spec b/bacula.spec
index cc1fb69..4c980e8 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -23,7 +23,7 @@ Summary:	Bacula - The Network Backup Solution
 Summary(pl.UTF-8):	Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
 Name:		bacula
 Version:	9.4.2
-Release:	4
+Release:	5
 License:	AGPL v3
 Group:		Networking/Utilities
 Source0:	http://downloads.sourceforge.net/bacula/%{name}-%{version}.tar.gz
@@ -417,6 +417,8 @@ cd ..
 %endif
 
 CPPFLAGS="-I/usr/include/ncurses -I%{_includedir}/readline"
+CXXFLAGS="%{rpmcxxflags} -Wno-narrowing"
+CFLAGS="%{rpmcflags} -Wno-narrowing"
 
 BUILD_DIR=$(pwd) \
 QMAKE=%{_bindir}/qmake-qt5 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bacula.git/commitdiff/eefd6bbdb230291c72e9e36a76389c96eeeb517e



More information about the pld-cvs-commit mailing list