diff options
author | Peter Seiderer <ps.report@gmx.net> | 2016-08-20 21:09:54 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-08-20 22:36:05 +0200 |
commit | 435b6f5d4a26cbd2799d6fac1b4bffdabc63f977 (patch) | |
tree | d81054da4c47a67aaa7f7a5f569136a78715188d /package/qt5/qt5base/0007-Remove-libudev-dependency-from-kms.pro.patch | |
parent | a3a0e7651b9bd45693889d4c353179669a199ea2 (diff) | |
download | buildroot-435b6f5d4a26cbd2799d6fac1b4bffdabc63f977.tar.gz buildroot-435b6f5d4a26cbd2799d6fac1b4bffdabc63f977.zip |
qt5base: remove libudev dependency from kms
Use upstream patch [1]
Fixes [2]:
KMS auto-detection... ()
Project ERROR: libudev development package not found
KMS disabled.
KMS support cannot be enabled due to functionality tests!
Turn on verbose messaging (-v) to ./configure to see the final report.
If you believe this message is in error you may use the continue
switch (-continue) to ./configure to continue.
[1] https://code.qt.io/cgit/qt/qtbase.git/patch/?id=72492735b7b7770808fcc9fe067e8f03fab827fc
[2] http://autobuild.buildroot.net/results/063/063859ad460552dd7c101115500b7845045a134f
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/qt5/qt5base/0007-Remove-libudev-dependency-from-kms.pro.patch')
-rw-r--r-- | package/qt5/qt5base/0007-Remove-libudev-dependency-from-kms.pro.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/package/qt5/qt5base/0007-Remove-libudev-dependency-from-kms.pro.patch b/package/qt5/qt5base/0007-Remove-libudev-dependency-from-kms.pro.patch new file mode 100644 index 0000000000..7ecbcd0568 --- /dev/null +++ b/package/qt5/qt5base/0007-Remove-libudev-dependency-from-kms.pro.patch @@ -0,0 +1,33 @@ +From 0f1b4bb65abe0e36e9e4b9813e45192223509de8 Mon Sep 17 00:00:00 2001 +From: Ralf Nolden <nolden@kde.org> +Date: Tue, 17 May 2016 12:57:17 +0200 +Subject: [PATCH] Remove libudev dependency from kms.pro + +To compile the kms qpa plugin, only libdrm is needed. +Remove the libudev dependency for the compile check to enable +building of the qpa plugin on platforms where libudev is not present +such as BSD systems (but where KMS works) + +Change-Id: Icd0be70a8949578a6158d523428706890a9674eb +Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> +Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> + +Upstream: https://code.qt.io/cgit/qt/qtbase.git/patch/?id=72492735b7b7770808fcc9fe067e8f03fab827fc +Signed-off-by: Peter Seiderer <ps.report@gmx.net> +--- + config.tests/qpa/kms/kms.pro | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.tests/qpa/kms/kms.pro b/config.tests/qpa/kms/kms.pro +index 1fb7367..5147bc8 100644 +--- a/config.tests/qpa/kms/kms.pro ++++ b/config.tests/qpa/kms/kms.pro +@@ -1,4 +1,4 @@ + SOURCES = kms.cpp + CONFIG += link_pkgconfig +-PKGCONFIG += libdrm libudev ++PKGCONFIG += libdrm + CONFIG -= qt +-- +2.8.1 + |