diff --git a/libev.spec b/libev.spec index 58eb3bb..be8dc03 100644 --- a/libev.spec +++ b/libev.spec @@ -3,13 +3,15 @@ Name: libev Version: 4.33 -Release: 13%{?dist} +Release: 14%{?dist} Summary: High-performance event loop/event model with lots of features License: BSD-2-Clause OR GPL-2.0-or-later URL: http://software.schmorp.de/pkg/libev.html Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz +Patch1: osh-bugs.patch + BuildRequires: autoconf BuildRequires: automake BuildRequires: coreutils @@ -18,6 +20,7 @@ BuildRequires: gcc BuildRequires: libtool BuildRequires: make BuildRequires: tar +BuildRequires: git Provides: bundled(libecb) = 1.05 @@ -53,7 +56,7 @@ Provides: bundled(libecb) = 1.05 This package contains the source code for libev. %prep -%autosetup -p0 +%autosetup -S git autoreconf -vfi %build @@ -92,6 +95,10 @@ install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir} %{source_dir} %changelog +* Tue Jan 21 2025 Jan Rybar - 4.33-14 +- fixed OSH findings +- Resolves: RHEL-44360 + * Tue Oct 29 2024 Troy Dawson - 4.33-13 - Bump release for October 2024 mass rebuild: Resolves: RHEL-64018 diff --git a/osh-bugs.patch b/osh-bugs.patch new file mode 100644 index 0000000..662960b --- /dev/null +++ b/osh-bugs.patch @@ -0,0 +1,12 @@ +diff -up ./ev_iouring.c.ori ./ev_iouring.c +--- ./ev_iouring.c.ori 2020-03-08 16:55:17.000000000 +0100 ++++ ./ev_iouring.c 2025-01-21 09:46:51.408343981 +0100 +@@ -313,7 +313,7 @@ iouring_tfd_cb (EV_P_ struct ev_io *w, i + + /* called for full and partial cleanup */ + ecb_cold +-static int ++static void + iouring_internal_destroy (EV_P) + { + close (iouring_tfd);