Remove stupid hack and sync with devel/libev. OK?
Index: Makefile =================================================================== RCS file: /cvs/ports/x11/rxvt-unicode/Makefile,v retrieving revision 1.19 diff -u -p -r1.19 Makefile --- Makefile 16 Apr 2012 18:08:09 -0000 1.19 +++ Makefile 29 Aug 2012 08:13:26 -0000 @@ -3,7 +3,7 @@ COMMENT = clone of rxvt with Unicode and Xft support DISTNAME = rxvt-unicode-9.15 -REVISION = 0 +REVISION = 1 CATEGORIES = x11 EXTRACT_SUFX = .tar.bz2 Index: patches/patch-libev_ev_c =================================================================== RCS file: /cvs/ports/x11/rxvt-unicode/patches/patch-libev_ev_c,v retrieving revision 1.2 diff -u -p -r1.2 patch-libev_ev_c --- patches/patch-libev_ev_c 23 Jan 2012 08:10:41 -0000 1.2 +++ patches/patch-libev_ev_c 29 Aug 2012 08:13:26 -0000 @@ -1,11 +1,18 @@ $OpenBSD: patch-libev_ev_c,v 1.2 2012/01/23 08:10:41 dcoppa Exp $ --- libev/ev.c.orig Thu Jan 19 18:55:00 2012 -+++ libev/ev.c Sun Jan 22 18:04:25 2012 -@@ -921,7 +921,6 @@ ecb_function_ ecb_bool ecb_little_endian (void) { retu - * alternatively, you can remove this #error and link against libpthread, - * which will then provide the memory fences. - */ --# error "memory fences not defined for your architecture, please report" ++++ libev/ev.c Wed Aug 29 10:04:02 2012 +@@ -562,6 +562,14 @@ struct signalfd_siginfo + #define ECB_MEMORY_FENCE __asm__ __volatile__ ("membar #LoadStore | #LoadLoad | #StoreStore | #StoreLoad | " : : : "memory") + #define ECB_MEMORY_FENCE_ACQUIRE __asm__ __volatile__ ("membar #LoadStore | #LoadLoad" : : : "memory") + #define ECB_MEMORY_FENCE_RELEASE __asm__ __volatile__ ("membar #LoadStore | #StoreStore") ++ #elif defined(__s390__) || defined(__s390x__) ++ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("bcr 15,0" : : : "memory") ++ #elif defined(__mips__) ++ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("sync" : : : "memory") ++ #elif defined(__alpha__) ++ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("mb" : : : "memory") ++ #elif defined(__hppa__) ++ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("sync" : : : "memory") + #endif + #endif #endif - - #ifndef ECB_MEMORY_FENCE