revert: Avoid @GLIBC_2.25 symbols for compatibility

This reverts commit 6de96a86bfe51fe974f756c4d8070865d2efc2f2.
This commit is contained in:
Kittywhiskers Van Gogh 2023-06-20 14:43:56 +00:00 committed by PastaPastaPasta
parent a44a1a94f6
commit b8ffea6cc3
2 changed files with 1 additions and 17 deletions

View File

@ -3,7 +3,6 @@ $(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
# When building for Windows, we set _WIN32_WINNT to target the same Windows
# version as we do in configure. Due to quirks in libevents build system, this
@ -18,8 +17,7 @@ define $(package)_set_vars
endef
define $(package)_preprocess_cmds
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub build-aux && \
patch -p1 -i $($(package)_patch_dir)/glibc_compatibility.patch
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub build-aux
endef
define $(package)_config_cmds

View File

@ -1,14 +0,0 @@
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