[packages/libinput] - filterout -DNDEBUG per libinput-util.h warning

qboosh qboosh at pld-linux.org
Fri Apr 4 18:03:51 CEST 2025


commit 79b32385a8a5c6e8ce3042e4980c5d29af3614eb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Apr 4 17:37:11 2025 +0200

    - filterout -DNDEBUG per libinput-util.h warning

 libinput.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/libinput.spec b/libinput.spec
index 5f83863..d27ef2f 100644
--- a/libinput.spec
+++ b/libinput.spec
@@ -60,6 +60,10 @@ Requires:	libwacom >= 2.15.0
 Requires:	mtdev >= 1.1.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# libinput-util.h:31
+# #warning "libinput relies on assert(). #defining NDEBUG is not recommended"
+%define		filterout_cpp	-DNDEBUG
+
 %description
 libinput is a library that handles input devices for display servers
 and other applications that need to directly deal with input devices.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libinput.git/commitdiff/79b32385a8a5c6e8ce3042e4980c5d29af3614eb



More information about the pld-cvs-commit mailing list