[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Issues compiling libevent 2.0.22-stable on OS X 10.11.6 (15G31) and OpenSSL 1.1.0c 10 Nov 2016



Hi Azat,

The patch does not even apply to libevent-2.0.22-stable. Something I might be doing wrong?

cat ../libevent-397.patch | patch  --dry-run
patching file bufferevent_openssl.c
Hunk #1 succeeded at 60 (offset -6 lines).
Hunk #2 FAILED at 104.
Hunk #3 FAILED at 115.
Hunk #4 FAILED at 134.
Hunk #5 FAILED at 153.
Hunk #6 FAILED at 185.
Hunk #7 FAILED at 222.
Hunk #8 FAILED at 252.
7 out of 8 hunks FAILED -- saving rejects to file bufferevent_openssl.c.rej
patching file openssl-compat.h
can't find file to patch at input line 198
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/sample/https-client.c b/sample/https-client.c
|index 029cd19..dfe6bd6 100644
|--- a/sample/https-client.c
|+++ b/sample/https-client.c
--------------------------
File to patch: sample/https-client.c
sample/https-client.c: No such file or directory
Skip this patch? [y] y
Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 232
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/sample/openssl_hostname_validation.c b/sample/openssl_hostname_validation.c
|index 00e63d1..40312f2 100644
|--- a/sample/openssl_hostname_validation.c
|+++ b/sample/openssl_hostname_validation.c
--------------------------
File to patch: sample/openssl_hostname_validation.c
sample/openssl_hostname_validation.c: No such file or directory
Skip this patch? [y] y
Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 274
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/test/regress_ssl.c b/test/regress_ssl.c
|index a476980..2fac84b 100644
|--- a/test/regress_ssl.c
|+++ b/test/regress_ssl.c
--------------------------
File to patch: test/regress_ssl.c
patching file test/regress_ssl.c
Hunk #1 succeeded at 49 with fuzz 1 (offset -6 lines).
Hunk #2 FAILED at 529.
Hunk #3 FAILED at 538.
Hunk #4 FAILED at 559.
Hunk #5 FAILED at 573.
Hunk #6 FAILED at 597.
Hunk #7 FAILED at 621.
Hunk #8 FAILED at 687.
7 out of 8 hunks FAILED -- saving rejects to file test/regress_ssl.c.rej

Thanks!

On Fri, Nov 11, 2016 at 2:33 AM, varun <varun.net@xxxxxxxxx> wrote:

Ok cool I will give it a shot tomorrow. Thanks Azat!


On Nov 11, 2016 2:31 AM, "Azat Khuzhin" <a3at.mail@xxxxxxxxx> wrote:
On Thu, Nov 10, 2016 at 7:54 PM, varun <varun.net@xxxxxxxxx> wrote:
> Hi,
>
> I am having issues compiling libevent 2.0.22-stable on my mac. Can someone
> please point out what I might be doing wrong?
>
> OS X 10.11.6 (15G31)
> OpenSSL 1.1.0c  10 Nov 2016

Hi,

You need to apply next patch:
https://patch-diff.githubusercontent.com/raw/libevent/libevent/pull/397.patch

  Azat.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.