[packages/qt5-qtbase] build without statx to support kernels older than 4.11

atler atler at pld-linux.org
Thu Mar 21 00:35:23 CET 2019


commit fc41f21cbe3529378b0600ec3e027668b7f878d4
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Mar 21 00:30:10 2019 +0100

    build without statx to support kernels older than 4.11

 qt5-qtbase.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec
index ac61eea..01abf72 100644
--- a/qt5-qtbase.spec
+++ b/qt5-qtbase.spec
@@ -18,6 +18,7 @@
 %bcond_without	kms		# KMS platform support
 %bcond_without	libinput	# libinput support
 %bcond_without	pch		# pch (pre-compiled headers) in qmake
+%bcond_with	statx		# build with statx() (requires kernel >= 4.11)
 %bcond_with	systemd		# logging to journald
 %bcond_without	tslib		# tslib support
 # -- databases
@@ -1220,6 +1221,7 @@ COMMONOPT=" \
 	-icu \
 	%{?with_systemd:-journald} \
 	%{!?with_egl:-no-eglfs} \
+	%{!?with_statx:-no-feature-statx} \
 	%{!?with_kms:-no-kms} \
 	%{!?with_libinput:-no-libinput} \
 	-no-rpath \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtbase.git/commitdiff/fc41f21cbe3529378b0600ec3e027668b7f878d4



More information about the pld-cvs-commit mailing list