mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-01-31 10:30:52 +00:00
build: Avoid getrandom@GLIBC_2.25 symbol in libevent package
This commit is contained in:
parent
612b4b89ed
commit
211db366c4
@ -3,6 +3,7 @@ $(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