ports/171929: [MAINTAINER] devel/p5-EV: unbreak build on ia64
Vladimir Timofeev
vovkasm at gmail.com
Mon Sep 24 21:30:16 UTC 2012
>Number: 171929
>Category: ports
>Synopsis: [MAINTAINER] devel/p5-EV: unbreak build on ia64
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 24 21:30:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Vladimir Timofeev
>Release: FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
FreeBSD vov.home 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r240806: Sat Sep 22 14:47:53 MSK
>Description:
This slightly modified patch from upstream version of libev. It is unbreak build on ia64.
Specifically, this should fix this http://pointyhat.freebsd.org/errorlogs/ia64-errorlogs/e.9.20120916093935/p5-EV-4.11,1.log
Thanks to Anton Shterenlikht for reporting and testing.
>How-To-Repeat:
>Fix:
diff -ruN --exclude=CVS /usr/ports/devel/p5-EV/files/patch-libev-ev.c ./files/patch-libev-ev.c
--- /usr/ports/devel/p5-EV/files/patch-libev-ev.c 1970-01-01 03:00:00.000000000 +0300
+++ ./files/patch-libev-ev.c 2012-09-25 01:01:09.171491172 +0400
@@ -0,0 +1,11 @@
+--- libev/ev.c.orig 2012-09-24 16:04:11.033920205 +0400
++++ libev/ev.c 2012-09-24 15:45:30.093945530 +0400
+@@ -579,6 +579,8 @@
+ #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(__ia64__)
++ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("mf" : : : "memory")
+ #endif
+ #endif
+ #endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list