fixed OSH findings

Resolves: RHEL-44360
This commit is contained in:
Jan Rybar 2025-01-24 14:30:29 +01:00
parent 08d1b69835
commit 2384f42d2d
2 changed files with 21 additions and 2 deletions

View File

@ -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 <jrybar@redhat.com> - 4.33-14
- fixed OSH findings
- Resolves: RHEL-44360
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4.33-13
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018

12
osh-bugs.patch Normal file
View File

@ -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);