Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 516042 Details for
Bug 644748
[Prefix/Cygwin] Qt5 (5.9.3) Cygwin support patches
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
QtNetwork specific patches to build and install on cygwin
qtnetwork-5.9.3-fix_build_on_cygwin_prefix.patch (text/plain), 2.31 KB, created by
Sven Eden
on 2018-01-23 10:47:00 UTC
(
hide
)
Description:
QtNetwork specific patches to build and install on cygwin
Filename:
MIME Type:
Creator:
Sven Eden
Created:
2018-01-23 10:47:00 UTC
Size:
2.31 KB
patch
obsolete
># ===================================================================== ># === Patches specific to qtnetwork === ># ===================================================================== >--- a/src/network/kernel/qdnslookup_unix.cpp 2018-01-18 11:58:42.360052900 +0100 >+++ b/src/network/kernel/qdnslookup_unix.cpp 2018-01-18 11:58:42.578839500 +0100 >@@ -56,6 +56,8 @@ > > #if defined(__GNU_LIBRARY__) && !defined(__UCLIBC__) > # include <gnu/lib-names.h> >+#elif defined(Q_OS_CYGWIN) >+# define LIBRESOLV_SO "cygwin1.dll" > #endif > > QT_BEGIN_NAMESPACE >--- a/src/network/kernel/qhostinfo_unix.cpp 2018-01-18 11:58:42.406929200 +0100 >+++ b/src/network/kernel/qhostinfo_unix.cpp 2018-01-18 11:58:42.594452600 +0100 >@@ -64,6 +64,8 @@ > > #if defined(__GNU_LIBRARY__) && !defined(__UCLIBC__) > # include <gnu/lib-names.h> >+#elif defined(Q_OS_CYGWIN) >+# define LIBRESOLV_SO "cygwin1.dll" > #endif > > #if defined (QT_NO_GETADDRINFO) >--- a/src/network/socket/qnativesocketengine_unix.cpp 2018-01-19 08:21:39.537806700 +0100 >+++ b/src/network/socket/qnativesocketengine_unix.cpp 2018-01-19 08:21:39.600143800 +0100 >@@ -203,7 +203,9 @@ > case QNativeSocketEngine::ReceivePacketInformation: > if (socketProtocol == QAbstractSocket::IPv6Protocol || socketProtocol == QAbstractSocket::AnyIPProtocol) { > level = IPPROTO_IPV6; >+#ifdef IPV6_RECVPKTINFO > n = IPV6_RECVPKTINFO; >+#endif > } else if (socketProtocol == QAbstractSocket::IPv4Protocol) { > level = IPPROTO_IP; > #ifdef IP_PKTINFO >@@ -218,7 +220,9 @@ > case QNativeSocketEngine::ReceiveHopLimit: > if (socketProtocol == QAbstractSocket::IPv6Protocol || socketProtocol == QAbstractSocket::AnyIPProtocol) { > level = IPPROTO_IPV6; >+#ifdef IPV6_RECVHOPLIMIT > n = IPV6_RECVHOPLIMIT; >+#endif > } else if (socketProtocol == QAbstractSocket::IPv4Protocol) { > #ifdef IP_RECVTTL // IP_RECVTTL is a non-standard extension supported on some OS > level = IPPROTO_IP; >@@ -942,6 +946,9 @@ > Q_ASSERT(header); > qt_socket_getPortAndAddress(&aa, &header->senderPort, &header->senderAddress); > header->destinationPort = localPort; >+#ifndef MSG_EOR >+#define MSG_EOR 0 >+#endif > header->endOfRecord = (msg.msg_flags & MSG_EOR) != 0; > > // parse the ancillary data
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 644748
:
515030
|
515034
|
515138
|
515302
|
515304
|
515306
|
516034
|
516036
|
516040
| 516042 |
516538
|
520668