[Bug 240964] x11-toolkits/qt5-gui: 5.13.0 fails to build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 1 19:51:57 BST 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240964

--- Comment #7 from Walter Schwarzenfeld <w.schwarzenfeld at utanet.at> ---
(In reply to Anders Bolt-Evensen from comment #2)
It was not meant as workaround (it is wrong).

If I am right, this should the correct way:

--- src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp.orig   
2019-10-01 18:04:32 UTC
+++ src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp
@@ -38,6 +38,12 @@
 **
 ****************************************************************************/

+#ifdef Q_OS_FREEBSD
+#include <dev/evdev/input.h>
+#else
+#include <linux/input.h>
+#endif
+
 #include "qevdevtouchhandler_p.h"
 #include "qtouchoutputmapping_p.h"
 #include <QStringList>
@@ -49,11 +55,6 @@
 #include <QtCore/private/qcore_unix_p.h>
 #include <QtGui/private/qhighdpiscaling_p.h>
 #include <QtGui/private/qguiapplication_p.h>
-#ifdef Q_OS_FREEBSD
-#include <dev/evdev/input.h>
-#else
-#include <linux/input.h>
-#endif

 #include <math.h>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list