aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt5-qtwebengine/qt-musl-serialio.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-09-04 11:11:01 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-09-04 11:24:46 +0200
commit3815b72ba156c35b962e15d65a52bb4ded404a58 (patch)
tree3e1595be115eb37e60a1fc57c242e43e7d26f9f3 /community/qt5-qtwebengine/qt-musl-serialio.patch
parentde17d5212836b5874586e9f7cfee4381ee2a8401 (diff)
downloadaports-3815b72ba156c35b962e15d65a52bb4ded404a58.tar.bz2
aports-3815b72ba156c35b962e15d65a52bb4ded404a58.tar.xz
community/qt5-qtwebengine: move from testing
Diffstat (limited to 'community/qt5-qtwebengine/qt-musl-serialio.patch')
-rw-r--r--community/qt5-qtwebengine/qt-musl-serialio.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/qt5-qtwebengine/qt-musl-serialio.patch b/community/qt5-qtwebengine/qt-musl-serialio.patch
new file mode 100644
index 0000000000..cf0e0fa768
--- /dev/null
+++ b/community/qt5-qtwebengine/qt-musl-serialio.patch
@@ -0,0 +1,12 @@
+--- 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.