[packages/QATzip] - disable false -Werror warning; release 2

qboosh qboosh at pld-linux.org
Fri Apr 18 08:01:18 CEST 2025


commit 8c799d7e8086bd304ef3a9d14e67134f3262d20d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Apr 18 06:40:10 2025 +0200

    - disable false -Werror warning; release 2

 QATzip.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/QATzip.spec b/QATzip.spec
index 9a5cda1..984294c 100644
--- a/QATzip.spec
+++ b/QATzip.spec
@@ -6,7 +6,7 @@ Summary:	Intel QuickAssist Technology (QAT) QATzip library
 Summary(pl.UTF-8):	Biblioteka QATzip wykorzystująca Intel QuickAssist Technology (QAT)
 Name:		QATzip
 Version:	1.3.0
-Release:	1
+Release:	2
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/intel/QATzip/releases
@@ -86,6 +86,9 @@ Statyczna biblioteka QATzip.
 %{__aclocal} -I m4
 %{__autoconf}
 %{__automake}
+# false warning for "calloc(LSM_MET_DEPTH, sizeof(*(m->latency_array)))"
+# where LSM_MET_DEPTH is defined as (1<<(lsm_met_len_shift)) and lsm_met_len_shift is global variable = 6
+CFLAGS="%{rpmcflags} -Wno-error=alloc-size-larger-than="
 %configure \
 	--disable-silent-rules \
 	%{!?with_static_libs:--disable-static}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/QATzip.git/commitdiff/8c799d7e8086bd304ef3a9d14e67134f3262d20d



More information about the pld-cvs-commit mailing list