Accepting request 1153468 from server:http

- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN
- modified patches
  % libev-4.15_compiler_warnings.patch (refreshed) (forwarded request 1153467 from pgajdos)

OBS-URL: https://build.opensuse.org/request/show/1153468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libev?expand=0&rev=22
This commit is contained in:
Dominique Leuenberger 2024-03-02 22:20:35 +00:00 committed by Git OBS Bridge
commit 84b55906d5
3 changed files with 14 additions and 8 deletions

View File

@ -1,7 +1,7 @@
Index: ev.c
===================================================================
--- ev.c.orig
+++ ev.c
--- a/ev.c
+++ b/ev.c
@@ -577,7 +577,7 @@ struct signalfd_siginfo
* This value is good at least till the year 4000.
*/
@ -33,8 +33,8 @@ Index: ev.c
Index: ev_iouring.c
===================================================================
--- ev_iouring.c.orig
+++ ev_iouring.c
--- a/ev_iouring.c
+++ b/ev_iouring.c
@@ -295,7 +295,7 @@ iouring_sqe_submit (EV_P_ struct io_urin
EV_SQ_ARRAY [idx] = idx;
ECB_MEMORY_FENCE_RELEASE;

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Feb 29 16:15:33 UTC 2024 - pgajdos@suse.com
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN
- modified patches
% libev-4.15_compiler_warnings.patch (refreshed)
-------------------------------------------------------------------
Thu Oct 12 10:17:23 UTC 2023 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libev
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -81,9 +81,7 @@ This package holds the development files for libev.
%if %{with signify}
signify -V -p %{SOURCE3} -m %{SOURCE0}
%endif
%setup -q
%patch0
%patch1 -p1
%autosetup -p1
%build
CFLAGS="%{optflags} -fno-strict-aliasing -Wno-unused"