mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-01-31 02:20:53 +00:00
Merge pull request #2409 from patricklodder/1.14.4-libevent-2.1.12
depends: libevent 2.1.12-stable
This commit is contained in:
commit
d5f4e810a4
@ -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
|
||||
|
||||
14
depends/patches/libevent/glibc_compatibility.patch
Normal file
14
depends/patches/libevent/glibc_compatibility.patch
Normal 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user