diff --git a/libev-4.11.tar.gz b/libev-4.11.tar.gz deleted file mode 100644 index 925289f..0000000 --- a/libev-4.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9f55f16ff6e4d60a1b1fa7f4962af69768468f0d7c362aab6387f52020938cdf -size 484766 diff --git a/libev-4.15.tar.gz b/libev-4.15.tar.gz new file mode 100644 index 0000000..1483b5a --- /dev/null +++ b/libev-4.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b2dd43a073556f5350cbed05b6ef444dcc4b563f4e0b1009d7bf448261606feb +size 513919 diff --git a/libev-4.00_compiler_warnings.patch b/libev-4.15_compiler_warnings.patch similarity index 58% rename from libev-4.00_compiler_warnings.patch rename to libev-4.15_compiler_warnings.patch index f318819..0b7d84b 100644 --- a/libev-4.00_compiler_warnings.patch +++ b/libev-4.15_compiler_warnings.patch @@ -1,17 +1,15 @@ -Index: ev.c -=================================================================== ---- ev.c.orig -+++ ev.c -@@ -2629,7 +2629,7 @@ ev_io_start (EV_P_ ev_io *w) - array_needsize (ANFD, anfds, anfdmax, fd + 1, array_init_zero); - wlist_add (&anfds[fd].head, (WL)w); +--- ev.c.orig 2013-03-01 12:10:48.000000000 +0100 ++++ ev.c 2013-04-11 06:20:42.146709446 +0200 +@@ -3551,7 +3551,7 @@ ev_io_start (EV_P_ ev_io *w) EV_THROW + /* common bug, apparently */ + assert (("libev: ev_io_start called with corrupted watcher", ((WL)w)->next != (WL)w)); - fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY); + fd_change (EV_A_ fd, (w->events & EV__IOFDSET) | EV_ANFD_REIFY); w->events &= ~EV__IOFDSET; EV_FREQUENT_CHECK; -@@ -3856,8 +3856,8 @@ ev_walk (EV_P_ int types, void (*cb)(EV_ +@@ -4792,8 +4792,8 @@ ev_walk (EV_P_ int types, void (*cb)(EV_ wl = wn; } #endif diff --git a/libev.changes b/libev.changes index 90a90f8..f67081c 100644 --- a/libev.changes +++ b/libev.changes @@ -1,3 +1,60 @@ +------------------------------------------------------------------- +Thu Apr 11 04:29:08 UTC 2013 - sweet_f_a@gmx.de + +- update to version 4,15 + - destroying a non-default loop would stop the global waitpid + watcher (Denis Bilenko). + - queueing pending watchers of higher priority from a watcher now invokes + them in a timely fashion (reported by Denis Bilenko). + - add throw() to all libev functions that cannot throw exceptions, for + further code size decrease when compiling for C++. + - add throw () to callbacks that must not throw exceptions (allocator, + syserr, loop acquire/release, periodic reschedule cbs). + - fix event_base_loop return code, add event_get_callback, event_base_new, + event_base_get_method calls to improve libevent 1.x emulation and add + some libevent 2.x functionality (based on a patch by Jeff Davey). + - add more memory fences to fix a bug reported by Jeff Davey. Better + be overfenced than underprotected. + - ev_run now returns a boolean status (true meaning watchers are + still active). + - ev_once: undef EV_ERROR in ev_kqueue.c, to avoid clashing with + libev's EV_ERROR (reported by 191919). + - (ecb) add memory fence support for xlC (Darin McBride). + - (ecb) add memory fence support for gcc-mips (Anton Kirilov). + - (ecb) add memory fence support for gcc-alpha (Christian Weisgerber). + - work around some kernels losing file descriptors by leaking + the kqueue descriptor in the child. + - work around linux inotify not reporting IN_ATTRIB changes for directories + in many cases. + - include sys/syscall.h instead of plain syscall.h. + - check for io watcher loops in ev_verify, check for the most + common reported usage bug in ev_io_start. + - choose socket vs. WSASocket at compiletime using EV_USE_WSASOCKET. + - always use WSASend/WSARecv directly on windows, hoping that this + works in all cases (unlike read/write/send/recv...). + - try to detect signals around a fork faster (test program by + Denis Bilenko). + - work around recent glibc versions that leak memory in realloc. + - rename ev::embed::set to ev::embed::set_embed to avoid clashing + the watcher base set (loop) method. + - rewrite the async/signal pipe logic to always keep a valid fd, which + simplifies (and hopefully correctifies :) the race checking + on fork, at the cost of one extra fd. + - add fat, msdos, jffs2, ramfs, ntfs and btrfs to the list of + inotify-supporting filesystems. + - move orig_CFLAGS assignment to after AC_INIT, as newer autoconf + versions ignore it before + (https://bugzilla.redhat.com/show_bug.cgi?id=908096). + - add some untested android support. + - enum expressions must be of type int (reported by Juan Pablo L). +- rebase libev-4.15_compiler_warnings.patch + +------------------------------------------------------------------- +Thu Dec 20 11:39:16 UTC 2012 - sweet_f_a@gmx.de + +- fix mandriva build +- don't use obsolete makeinstall macro + ------------------------------------------------------------------- Sat Jul 7 14:38:42 UTC 2012 - reddwarf@opensuse.org diff --git a/libev.spec b/libev.spec index 5b250fe..eb8a0e7 100644 --- a/libev.spec +++ b/libev.spec @@ -1,7 +1,7 @@ # # spec file for package libev # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,12 @@ # +%if 0%{?mandriva_version:1} +%define __libtoolize /bin/true +%endif + Name: libev -Version: 4.11 +Version: 4.15 Release: 0 # Summary: A full-featured and high-performance event loop library @@ -29,7 +33,7 @@ Source: http://dist.schmorp.de/%{name}/%{name}-%{version}.tar.gz # Upstream has received patches to add pkg-config support for years but it always ignored them (yes, no answer at all). But since every distribution creates it we just follow. Source1: libev.pc # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines -Patch0: libev-4.00_compiler_warnings.patch +Patch0: libev-4.15_compiler_warnings.patch # BuildRequires: pkgconfig # @@ -77,14 +81,16 @@ sed -i 's;@VERSION@;%{version};' %{SOURCE1} %build orig_CFLAGS=1; export orig_CFLAGS CFLAGS="%{optflags} -fno-strict-aliasing -Wno-unused" -%configure --disable-static +%configure \ + --docdir=%{_docdir} \ + --disable-static make %{?_smp_mflags} %check make check %install -%makeinstall +%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}} rm -v %{buildroot}%{_libdir}/libev.la mkdir -p %{buildroot}%{_libdir}/pkgconfig