add libverto-0.2.4-fix-libev.patch
This commit is contained in:
parent
ac3c68a748
commit
edd1afd6ee
14
libverto-0.2.4-fix-libev.patch
Normal file
14
libverto-0.2.4-fix-libev.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff --git a/src/verto-libev.c b/src/verto-libev.c
|
||||||
|
index 2eb08fc..9c7c324 100644
|
||||||
|
--- a/src/verto-libev.c
|
||||||
|
+++ b/src/verto-libev.c
|
||||||
|
@@ -106,7 +106,9 @@ libev_ctx_set_flags(verto_mod_ctx *ctx, const verto_ev *ev,
|
||||||
|
if (verto_get_flags(ev) & VERTO_EV_FLAG_IO_WRITE)
|
||||||
|
events |= EV_WRITE;
|
||||||
|
|
||||||
|
+ ev_io_stop(ctx, (ev_io*) evpriv);
|
||||||
|
ev_io_set(((ev_io*) evpriv), verto_get_fd(ev), events);
|
||||||
|
+ ev_io_start(ctx, (ev_io*) evpriv);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
|||||||
Name: libverto
|
Name: libverto
|
||||||
Version: 0.2.4
|
Version: 0.2.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Main loop abstraction library
|
Summary: Main loop abstraction library
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://fedorahosted.org/libverto/
|
URL: https://fedorahosted.org/libverto/
|
||||||
Source0: http://fedorahosted.org/releases/l/i/%{name}/%{name}-%{version}.tar.gz
|
Source0: http://fedorahosted.org/releases/l/i/%{name}/%{name}-%{version}.tar.gz
|
||||||
|
# From upstream, will be in next release
|
||||||
|
Patch1: libverto-0.2.4-fix-libev.patch
|
||||||
|
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: libev-devel
|
BuildRequires: libev-devel
|
||||||
@ -114,6 +116,7 @@ developing applications that use %{name}-tevent.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
@ -183,7 +186,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|||||||
%{_libdir}/pkgconfig/%{name}-tevent.pc
|
%{_libdir}/pkgconfig/%{name}-tevent.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Feb 09 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 0.2.4-1
|
* Mon Feb 13 2012 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.4-2
|
||||||
|
- Added libverto-0.2.4-fix-libev.patch
|
||||||
|
|
||||||
|
* Thu Feb 09 2012 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.4-1
|
||||||
- Update to 0.2.4 release
|
- Update to 0.2.4 release
|
||||||
|
|
||||||
* Wed Feb 08 2012 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.3-1
|
* Wed Feb 08 2012 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.3-1
|
||||||
|
Loading…
Reference in New Issue
Block a user