Fix port of TOR
* missed to include a patch for libevent, thanks to @chelmuth for recognizing!
This commit is contained in:
committed by
Christian Helmuth
parent
b4b02afa5b
commit
29287e292d
@@ -1 +1 @@
|
||||
bc9f02a87e99ddb111016ec13c711f7beb5dbb4a
|
||||
18686a1c621513d60cecbe7111839bcea068e0ee
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
LICENSE := BSD-like
|
||||
VERSION := 2.0.22
|
||||
DOWNLOADS := libevent.archive
|
||||
PATCHES := $(addprefix src/lib/libevent/,event-internal.patch)
|
||||
PATCHES := $(addprefix src/lib/libevent/,event-internal.patch win32.patch)
|
||||
PATCH_OPT := -p1 -d src/lib/libevent
|
||||
URL(libevent) := https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz
|
||||
SHA(libevent) := a586882bc93a208318c70fc7077ed8fca9862864
|
||||
|
||||
12
src/lib/libevent/win32.patch
Normal file
12
src/lib/libevent/win32.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/evutil.c b/evutil.c
|
||||
--- a/evutil.c
|
||||
+++ b/evutil.c
|
||||
@@ -182,7 +182,7 @@
|
||||
int
|
||||
evutil_socketpair(int family, int type, int protocol, evutil_socket_t fd[2])
|
||||
{
|
||||
-#ifndef WIN32
|
||||
+#if 0
|
||||
return socketpair(family, type, protocol, fd);
|
||||
#else
|
||||
return evutil_ersatz_socketpair(family, type, protocol, fd);
|
||||
Reference in New Issue
Block a user