forked from jl777/komodo
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request jl777#271 from Asherda/libevent-upgrade
Upgrade libevent to 2.1.12
- Loading branch information
Showing
2 changed files
with
24 additions
and
3 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
15 changes: 15 additions & 0 deletions
15
depends/patches/libevent/0001-fix-windows-getaddrinfo.patch
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff -ur libevent-2.1.8-stable.orig/configure.ac libevent-2.1.8-stable/configure.ac | ||
--- libevent-2.1.8-stable.orig/configure.ac 2017-01-29 17:51:00.000000000 +0000 | ||
+++ libevent-2.1.8-stable/configure.ac 2020-03-07 01:11:16.311335005 +0000 | ||
@@ -389,6 +389,10 @@ | ||
#ifdef HAVE_NETDB_H | ||
#include <netdb.h> | ||
#endif | ||
+#ifdef _WIN32 | ||
+#include <winsock2.h> | ||
+#include <ws2tcpip.h> | ||
+#endif | ||
]], | ||
[[ | ||
getaddrinfo; | ||
Only in libevent-2.1.8-stable: configure.ac~ |