Bugfixing update to libev-4.19

Thanks sthen@ for the ag search results
This commit is contained in:
dcoppa 2014-10-13 09:13:31 +00:00
parent c359cf6136
commit 8eab6ac449
5 changed files with 12 additions and 41 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.13 2013/04/23 18:59:53 dcoppa Exp $
# $OpenBSD: Makefile,v 1.14 2014/10/13 09:13:31 dcoppa Exp $
COMMENT = high-performance event loop library
DISTNAME = libev-4.15
DISTNAME = libev-4.19
CATEGORIES = devel
MAINTAINER = David Coppa <dcoppa@openbsd.org>

View File

@ -1,2 +1,2 @@
SHA256 (libev-4.15.tar.gz) = st1DoHNVb1NQy+0Ftu9ETcxLVj9OCxAJ179EgmFgb+s=
SIZE (libev-4.15.tar.gz) = 513919
SHA256 (libev-4.19.tar.gz) = iPxficqWzsoUwWwQ574+kh2uZehJMtaAwv1qQBc+3Ms=
SIZE (libev-4.19.tar.gz) = 524429

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Makefile_in,v 1.4 2013/04/23 18:59:53 dcoppa Exp $
--- Makefile.in.orig Fri Mar 1 12:10:35 2013
+++ Makefile.in Tue Apr 23 08:54:04 2013
@@ -267,9 +267,9 @@ EXTRA_DIST = LICENSE Changes libev.m4 autogen.sh \
$OpenBSD: patch-Makefile_in,v 1.5 2014/10/13 09:13:31 dcoppa Exp $
--- Makefile.in.orig Fri Sep 26 03:09:57 2014
+++ Makefile.in Fri Oct 10 16:35:14 2014
@@ -343,9 +343,9 @@ EXTRA_DIST = LICENSE Changes libev.m4 autogen.sh \
ev.3 ev.pod Symbols.ev Symbols.event
man_MANS = ev.3

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure,v 1.4 2013/04/23 18:59:53 dcoppa Exp $
--- configure.orig Fri Mar 1 12:10:34 2013
+++ configure Tue Apr 23 08:54:04 2013
@@ -3708,11 +3708,6 @@ fi
$OpenBSD: patch-configure,v 1.5 2014/10/13 09:13:31 dcoppa Exp $
--- configure.orig Thu Sep 25 08:18:58 2014
+++ configure Fri Oct 10 16:35:14 2014
@@ -3879,11 +3879,6 @@ fi

View File

@ -1,29 +0,0 @@
$OpenBSD: patch-ev_c,v 1.6 2013/09/19 16:03:27 miod Exp $
Teach libev about m68k, m88k and sh.
--- ev.c.orig Fri Mar 1 11:10:48 2013
+++ ev.c Wed Sep 4 14:49:57 2013
@@ -637,6 +637,12 @@ struct signalfd_siginfo
#define ECB_MEMORY_FENCE_RELEASE __asm__ __volatile__ ("")
#elif defined __ia64__
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("mf" : : : "memory")
+ #elif defined __m68k__
+ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("" : : : "memory")
+ #elif defined __m88k__
+ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("tb1 0,%%r0,128" : : : "memory")
+ #elif defined __sh__
+ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("" : : : "memory")
#endif
#endif
#endif
@@ -1053,6 +1059,9 @@ ecb_inline ecb_bool ecb_little_endian (void) { return
|| defined __alpha__ \
|| defined __hppa__ \
|| defined __ia64__ \
+ || defined __m68k__ \
+ || defined __m88k__ \
+ || defined __sh__ \
|| defined _M_IX86 || defined _M_AMD64 || defined _M_IA64
#define ECB_STDFP 1
#include <string.h> /* for memcpy */