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
This commit is contained in:
Jan Engelhardt 2023-01-16 17:53:10 +00:00 committed by Git OBS Bridge
parent 765083cc81
commit 10badc34f3
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Jan 15 22:06:53 UTC 2023 - Cristian Rodríguez <crrodriguez@opensuse.org>
- 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 <dimstar@opensuse.org>

View File

@ -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}