diff options
author | Rosen Penev <rosenp@gmail.com> | 2018-08-17 13:31:48 -0700 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-08-25 13:18:35 +0200 |
commit | 3ccc2ebe01c179cb48b04e812ff15d16fdaf711b (patch) | |
tree | a97eaee20b803aae585410bb384cc734bb83db5d /package/libs/libevent2/patches | |
parent | 41faf52b0ffe902381e75a35e886f635321347b5 (diff) | |
download | upstream-3ccc2ebe01c179cb48b04e812ff15d16fdaf711b.tar.gz upstream-3ccc2ebe01c179cb48b04e812ff15d16fdaf711b.tar.bz2 upstream-3ccc2ebe01c179cb48b04e812ff15d16fdaf711b.zip |
libevent2: Switch to using release tarball
Starting with version 2.1.8, a release tarball is available.
Simplifies the Makefile slightly.
Updated the project URL. HTTPS is broken. Issue has been reported upstream
Adjusted patches. CMake support is not present in the tarball. It's made
for Windows anyway.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/libs/libevent2/patches')
-rw-r--r-- | package/libs/libevent2/patches/0001-Do-not-check-for-ERR_remove_thread_state-do-not-link.patch | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/package/libs/libevent2/patches/0001-Do-not-check-for-ERR_remove_thread_state-do-not-link.patch b/package/libs/libevent2/patches/0001-Do-not-check-for-ERR_remove_thread_state-do-not-link.patch index a839de0713..d2677a1f61 100644 --- a/package/libs/libevent2/patches/0001-Do-not-check-for-ERR_remove_thread_state-do-not-link.patch +++ b/package/libs/libevent2/patches/0001-Do-not-check-for-ERR_remove_thread_state-do-not-link.patch @@ -16,29 +16,10 @@ because it was introduced in openssl 1.0.0, and the previous line Fixes: #473 --- - CMakeLists.txt | 4 ---- configure.ac | 4 ---- - event-config.h.cmake | 3 --- sample/https-client.c | 4 ---- - 4 files changed, 15 deletions(-) + 2 files changed, 8 deletions(-) -diff --git a/CMakeLists.txt b/CMakeLists.txt -index b4a34f3d..28d6c22c 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -877,10 +877,6 @@ if (NOT EVENT__DISABLE_SAMPLES) - time-test) - - if (NOT EVENT__DISABLE_OPENSSL AND OPENSSL_LIBRARIES) -- set(CMAKE_REQUIRED_LIBRARIES ${OPENSSL_LIBRARIES}) -- CHECK_FUNCTION_EXISTS_EX(ERR_remove_thread_state EVENT__HAVE_ERR_REMOVE_THREAD_STATE) -- set(CMAKE_REQUIRED_LIBRARIES "") -- - # Special sample with more than one file. - add_executable(https-client - sample/https-client.c -diff --git a/configure.ac b/configure.ac -index 7528d37e..3f137277 100644 --- a/configure.ac +++ b/configure.ac @@ -791,10 +791,6 @@ fi @@ -52,22 +33,6 @@ index 7528d37e..3f137277 100644 # Add some more warnings which we use in development but not in the # released versions. (Some relevant gcc versions can't handle these.) -diff --git a/event-config.h.cmake b/event-config.h.cmake -index c1355be9..cb363be8 100644 ---- a/event-config.h.cmake -+++ b/event-config.h.cmake -@@ -523,9 +523,6 @@ - - #cmakedefine EVENT__NEED_DLLIMPORT - --/* Define to 1 if you have ERR_remove_thread_stat(). */ --#cmakedefine EVENT__HAVE_ERR_REMOVE_THREAD_STATE -- - /* Define if waitpid() supports WNOWAIT */ - #cmakedefine EVENT__HAVE_WAITPID_WITH_WNOWAIT - -diff --git a/sample/https-client.c b/sample/https-client.c -index 74839565..2ed6fb74 100644 --- a/sample/https-client.c +++ b/sample/https-client.c @@ -484,11 +484,7 @@ cleanup: @@ -82,6 +47,3 @@ index 74839565..2ed6fb74 100644 CRYPTO_cleanup_all_ex_data(); sk_SSL_COMP_free(SSL_COMP_get_compression_methods()); --- -2.17.0 - |