Updated to latest stable upstream version: 1.4.13
This commit is contained in:
parent
81c855d01a
commit
b7bc4da959
@ -6,3 +6,4 @@ libevent-1.4.4-stable.tar.gz
|
||||
libevent-1.4.5-stable.tar.gz
|
||||
libevent-1.4.10-stable.tar.gz
|
||||
libevent-1.4.12-stable.tar.gz
|
||||
libevent-1.4.13-stable.tar.gz
|
||||
|
||||
@ -1,19 +0,0 @@
|
||||
diff -up libevent-1.4.12-stable/epoll.c.orig libevent-1.4.12-stable/epoll.c
|
||||
--- libevent-1.4.12-stable/epoll.c.orig 2009-07-02 02:05:28.000000000 -0400
|
||||
+++ libevent-1.4.12-stable/epoll.c 2009-08-18 16:13:31.672097000 -0400
|
||||
@@ -115,6 +115,7 @@ epoll_init(struct event_base *base)
|
||||
if (getenv("EVENT_NOEPOLL"))
|
||||
return (NULL);
|
||||
|
||||
+#ifndef linux
|
||||
if (getrlimit(RLIMIT_NOFILE, &rl) == 0 &&
|
||||
rl.rlim_cur != RLIM_INFINITY) {
|
||||
/*
|
||||
@@ -124,6 +125,7 @@ epoll_init(struct event_base *base)
|
||||
*/
|
||||
nfiles = rl.rlim_cur - 1;
|
||||
}
|
||||
+#endif
|
||||
|
||||
/* Initalize the kernel queue */
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
Name: libevent
|
||||
Version: 1.4.12
|
||||
Version: 1.4.13
|
||||
Release: 1%{?dist}
|
||||
Summary: Abstract asynchronous event notification library
|
||||
|
||||
@ -11,8 +11,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: doxygen
|
||||
|
||||
Patch00: libevent-1.4.12-stable-configure.patch
|
||||
Patch01: libevent-1.4.12-stable-epoll.patch
|
||||
Patch00: libevent-1.4.13-stable-configure.patch
|
||||
|
||||
%description
|
||||
The libevent API provides a mechanism to execute a callback function
|
||||
@ -38,8 +37,6 @@ you will need to install %{name}-devel.
|
||||
|
||||
# 477685 - libevent-devel multilib conflict
|
||||
%patch00 -p1
|
||||
# 517918 - epoll backend allocates too much memory
|
||||
%patch01 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@ -112,6 +109,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_docdir}/%{name}-devel-%{version}/sample/*
|
||||
|
||||
%changelog
|
||||
* Tue Dec 15 2009 Steve Dickson <steved@redhat.com> 1.4.13-1
|
||||
- Updated to latest stable upstream version: 1.4.13
|
||||
|
||||
* Tue Aug 18 2009 Steve Dickson <steved@redhat.com> 1.4.12-1
|
||||
- Updated to latest stable upstream version: 1.4.12
|
||||
- API documentation is now installed (bz 487977)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user