Merge pull request #2409 from patricklodder/1.14.4-libevent-2.1.12

depends: libevent 2.1.12-stable
This commit is contained in:
chromatic 2022-07-10 13:06:40 -07:00 committed by GitHub
commit d5f4e810a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 4 deletions

View File

@ -1,8 +1,9 @@
package=libevent
$(package)_version=2.1.11-stable
$(package)_download_path=https://github.com/libevent/libevent/archive/
$(package)_file_name=release-$($(package)_version).tar.gz
$(package)_sha256_hash=229393ab2bf0dc94694f21836846b424f3532585bac3468738b7bf752c03901e
$(package)_version=2.1.12-stable
$(package)_download_path=https://github.com/libevent/libevent/releases/download/release-$($(package)_version)/
$(package)_file_name=$(package)-$($(package)_version).tar.gz
$(package)_sha256_hash=92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
$(package)_patches = glibc_compatibility.patch
define $(package)_preprocess_cmds
./autogen.sh
@ -14,6 +15,10 @@ define $(package)_set_vars
$(package)_config_opts_linux=--with-pic
endef
define $(package)_preprocess_cmds
patch -p1 -i $($(package)_patch_dir)/glibc_compatibility.patch
endef
define $(package)_config_cmds
$($(package)_autoconf)
endef

View File

@ -0,0 +1,14 @@
Avoid getrandom@GLIBC_2.25 symbol.
--- old/config.h.in
+++ new/config.h.in
@@ -101,9 +101,6 @@
/* Define to 1 if you have the `getprotobynumber' function. */
#undef HAVE_GETPROTOBYNUMBER
-/* Define to 1 if you have the `getrandom' function. */
-#undef HAVE_GETRANDOM
-
/* Define to 1 if you have the `getservbyname' function. */
#undef HAVE_GETSERVBYNAME