qt5: fix gcc6 musl build
This commit is contained in:
parent
0e062cee61
commit
653b843aca
1 changed files with 10 additions and 0 deletions
10
srcpkgs/qt5/patches/qt-musl-off_t.patch
Normal file
10
srcpkgs/qt5/patches/qt-musl-off_t.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- qtwebengine/src/3rdparty/chromium/third_party/ots/include/opentype-sanitiser.h 2016-05-26 14:58:54.000000000 +0200
|
||||||
|
+++ qtwebengine/src/3rdparty/chromium/third_party/ots/include/opentype-sanitiser.h 2016-10-01 14:31:30.885000000 +0200
|
||||||
|
@@ -21,6 +21,7 @@
|
||||||
|
#define htons(x) _byteswap_ushort (x)
|
||||||
|
#else
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
+#include <sys/types.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue