From 10badc34f3f75fde73df14ac2026ce51b6d43f07e9adf78424ff3d14d6e9d23b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 16 Jan 2023 17:53:10 +0000 Subject: [PATCH] Accepting request 1058580 from home:elvigia:branches:devel:libraries:c_c++ - Disable the select backend, this can be easily done by lying to configure. This is done due to: * using fd number > 1024 on an fd_set results in a runtime fortify source assertion, preventing further doom. * select will not be changed to handle fd > 1024. * this limit is unreasonable low for this century. OBS-URL: https://build.opensuse.org/request/show/1058580 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libevent?expand=0&rev=52 --- libevent.changes | 10 ++++++++++ libevent.spec | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/libevent.changes b/libevent.changes index aa8b818..86761ed 100644 --- a/libevent.changes +++ b/libevent.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sun Jan 15 22:06:53 UTC 2023 - Cristian Rodríguez + +- Disable the select backend, this can be easily done by lying + to configure. This is done due to: + * using fd number > 1024 on an fd_set results in a runtime + fortify source assertion, preventing further doom. + * select will not be changed to handle fd > 1024. + * this limit is unreasonable low for this century. + ------------------------------------------------------------------- Tue Feb 9 08:18:41 UTC 2021 - Dominique Leuenberger diff --git a/libevent.spec b/libevent.spec index 8a68642..2c2de45 100644 --- a/libevent.spec +++ b/libevent.spec @@ -1,7 +1,7 @@ # # spec file for package libevent # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -120,6 +120,7 @@ This package holds the static libraries for libevent2. %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects ./autogen.sh +export ac_cv_func_select=no %configure \ --disable-libevent-regress make %{?_smp_mflags}