add qt
This commit is contained in:
parent
b6f279d346
commit
19ac0a9042
4 changed files with 169 additions and 0 deletions
11
pkgs/qtbase/musl-socket.patch
Normal file
11
pkgs/qtbase/musl-socket.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/mkspecs/linux-clang/qplatformdefs.h
|
||||
+++ b/mkspecs/linux-clang/qplatformdefs.h
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
-#if defined(__GLIBC__) && (__GLIBC__ >= 2)
|
||||
+#if defined(__GLIBC__) && (__GLIBC__ >= 2) || !defined(__GLIBC__)
|
||||
#define QT_SOCKLEN_T socklen_t
|
||||
#else
|
||||
#define QT_SOCKLEN_T int
|
Loading…
Add table
Add a link
Reference in a new issue