qt58.qtbase: fix developer build
This commit is contained in:
parent
52ac15953e
commit
64418af8c5
@ -107,8 +107,10 @@ stdenv.mkDerivation {
|
|||||||
"-system-proxies"
|
"-system-proxies"
|
||||||
"-pkg-config"
|
"-pkg-config"
|
||||||
]
|
]
|
||||||
++ lib.optional developerBuild "-developer-build"
|
++ lib.optionals developerBuild [
|
||||||
|
"-developer-build"
|
||||||
|
"-no-warnings-are-errors"
|
||||||
|
]
|
||||||
++ [
|
++ [
|
||||||
"-gui"
|
"-gui"
|
||||||
"-widgets"
|
"-widgets"
|
||||||
|
@ -0,0 +1,14 @@
|
|||||||
|
Index: qtbase-opensource-src-5.8.0/src/network/socket/qnativesocketengine_unix.cpp
|
||||||
|
===================================================================
|
||||||
|
--- qtbase-opensource-src-5.8.0.orig/src/network/socket/qnativesocketengine_unix.cpp
|
||||||
|
+++ qtbase-opensource-src-5.8.0/src/network/socket/qnativesocketengine_unix.cpp
|
||||||
|
@@ -979,7 +979,8 @@ qint64 QNativeSocketEnginePrivate::nativ
|
||||||
|
if (cmsgptr->cmsg_len == CMSG_LEN(sizeof(int))
|
||||||
|
&& ((cmsgptr->cmsg_level == IPPROTO_IPV6 && cmsgptr->cmsg_type == IPV6_HOPLIMIT)
|
||||||
|
|| (cmsgptr->cmsg_level == IPPROTO_IP && cmsgptr->cmsg_type == IP_TTL))) {
|
||||||
|
- header->hopLimit = *reinterpret_cast<int *>(CMSG_DATA(cmsgptr));
|
||||||
|
+ int *ttl = reinterpret_cast<int *>(CMSG_DATA(cmsgptr));
|
||||||
|
+ header->hopLimit = *ttl;
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifndef QT_NO_SCTP
|
@ -2,8 +2,8 @@ dlopen-resolv.patch
|
|||||||
tzdir.patch
|
tzdir.patch
|
||||||
dlopen-libXcursor.patch
|
dlopen-libXcursor.patch
|
||||||
xdg-config-dirs.patch
|
xdg-config-dirs.patch
|
||||||
compose-search-path.patch
|
|
||||||
libressl.patch
|
libressl.patch
|
||||||
qpa-plugin-path.patch
|
qpa-plugin-path.patch
|
||||||
dlopen-gl.patch
|
dlopen-gl.patch
|
||||||
|
compose-search-path.patch
|
||||||
cmake-paths.patch
|
cmake-paths.patch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user