forked from ElementsProject/elements
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[depends, zmq, doc] upgrade zeromq to 4.2.5 and avoid deprecated zero…
…mq api functions
- Loading branch information
Showing
7 changed files
with
33 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
From 1a159c128c69a42d90819375c06a39994f3fbfc1 Mon Sep 17 00:00:00 2001 | ||
From: Cory Fields <cory-nospam-@coryfields.com> | ||
Date: Tue, 28 Nov 2017 20:33:25 -0500 | ||
From f6866b0f166ad168618aae64c7fbee8775d3eb23 Mon Sep 17 00:00:00 2001 | ||
From: mruddy <[email protected].com> | ||
Date: Sat, 30 Jun 2018 09:44:58 -0400 | ||
Subject: [PATCH] fix build with older mingw64 | ||
|
||
--- | ||
src/windows.hpp | 7 +++++++ | ||
1 file changed, 7 insertions(+) | ||
|
||
diff --git a/src/windows.hpp b/src/windows.hpp | ||
index 99e889d..e69038e 100644 | ||
index 6c3839fd..2c32ec79 100644 | ||
--- a/src/windows.hpp | ||
+++ b/src/windows.hpp | ||
@@ -55,6 +55,13 @@ | ||
@@ -58,6 +58,13 @@ | ||
#include <winsock2.h> | ||
#include <windows.h> | ||
#include <mswsock.h> | ||
|
@@ -23,8 +23,8 @@ index 99e889d..e69038e 100644 | |
+#include <ws2ipdef.h> | ||
+#endif | ||
#include <iphlpapi.h> | ||
|
||
#if !defined __MINGW32__ | ||
-- | ||
2.7.4 | ||
-- | ||
2.17.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
From 6e6b47d5ab381c3df3b30bb0b0a6cf210dfb1eba Mon Sep 17 00:00:00 2001 | ||
From: Cory Fields <cory-nospam-@coryfields.com> | ||
Date: Mon, 5 Mar 2018 14:22:05 -0500 | ||
From c9bbdd6581d07acfe8971e4bcebe278a3676cf03 Mon Sep 17 00:00:00 2001 | ||
From: mruddy <[email protected].com> | ||
Date: Sat, 30 Jun 2018 09:57:18 -0400 | ||
Subject: [PATCH] disable pthread_set_name_np | ||
|
||
pthread_set_name_np adds a Glibc requirement on >= 2.12. | ||
|
@@ -9,27 +9,27 @@ pthread_set_name_np adds a Glibc requirement on >= 2.12. | |
1 file changed, 3 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/src/thread.cpp b/src/thread.cpp | ||
index 4fc59c3e..c3fdfd46 100644 | ||
index a1086b0c..9943f354 100644 | ||
--- a/src/thread.cpp | ||
+++ b/src/thread.cpp | ||
@@ -220,7 +220,7 @@ void zmq::thread_t::setThreadName(const char *name_) | ||
@@ -307,7 +307,7 @@ void zmq::thread_t::setThreadName (const char *name_) | ||
*/ | ||
if (!name_) | ||
return; | ||
- | ||
+#if 0 | ||
#if defined(ZMQ_HAVE_PTHREAD_SETNAME_1) | ||
int rc = pthread_setname_np(name_); | ||
if(rc) return; | ||
@@ -233,6 +233,8 @@ void zmq::thread_t::setThreadName(const char *name_) | ||
int rc = pthread_setname_np (name_); | ||
if (rc) | ||
@@ -323,6 +323,8 @@ void zmq::thread_t::setThreadName (const char *name_) | ||
#elif defined(ZMQ_HAVE_PTHREAD_SET_NAME) | ||
pthread_set_name_np(descriptor, name_); | ||
pthread_set_name_np (descriptor, name_); | ||
#endif | ||
+#endif | ||
+ return; | ||
} | ||
|
||
#endif | ||
-- | ||
2.11.1 | ||
2.17.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters