void-packages/srcpkgs/qt5/patches/qt-musl-serialio.patch
Jürgen Buchmüller 013674e3a8 qt5: update to 5.8.0
No longer build examples but just install the source in qt5-examples.
New submodule qt5-speech.
2017-03-05 02:41:34 +01:00

12 lines
513 B
Diff

--- qtwebengine/src/3rdparty/chromium/device/serial/serial_io_handler_posix.cc 2017-01-03 10:28:53.000000000 +0100
+++ qtwebengine/src/3rdparty/chromium/device/serial/serial_io_handler_posix.cc 2017-02-23 21:20:42.650669563 +0100
@@ -12,6 +12,9 @@
#if defined(OS_LINUX)
#include <linux/serial.h>
+#if !defined(__GLIBC__)
+#include <asm-generic/ioctls.h>
+#endif
// The definition of struct termios2 is copied from asm-generic/termbits.h
// because including that header directly conflicts with termios.h.