Date: Thu, 9 Aug 2018 14:45:57 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476784 - in head/devel/avro-c: . files Message-ID: <201808091445.w79EjvNj078038@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Aug 9 14:45:57 2018 New Revision: 476784 URL: https://svnweb.freebsd.org/changeset/ports/476784 Log: Fix build on aarch64, arm and mips PR: 230478 Submitted by: Greg V <greg@unrelenting.technology> Added: head/devel/avro-c/files/patch-src_avro_refcount.h (contents, props changed) Modified: head/devel/avro-c/Makefile Modified: head/devel/avro-c/Makefile ============================================================================== --- head/devel/avro-c/Makefile Thu Aug 9 14:45:52 2018 (r476783) +++ head/devel/avro-c/Makefile Thu Aug 9 14:45:57 2018 (r476784) @@ -14,11 +14,6 @@ COMMENT= C library for Apache Avro LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_aarch64= fails to build: error: No atomic implementation -BROKEN_armv6= fails to build: error: No atomic implementation -BROKEN_armv7= fails to build: error: No atomic implementation -BROKEN_mips= fails to build: error: No atomic implementation -BROKEN_mips64= fails to build: error: No atomic implementation BROKEN_sparc64= fails to build LIB_DEPENDS= libjansson.so:devel/jansson \ Added: head/devel/avro-c/files/patch-src_avro_refcount.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/avro-c/files/patch-src_avro_refcount.h Thu Aug 9 14:45:57 2018 (r476784) @@ -0,0 +1,11 @@ +--- src/avro/refcount.h.orig 2017-04-17 23:56:17 UTC ++++ src/avro/refcount.h +@@ -118,7 +118,7 @@ avro_refcount_dec(volatile int *refcount + * GCC intrinsics + */ + +-#elif (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) > 40500 ++#elif (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) > 40500 || defined(__clang__) + + static inline void + avro_refcount_set(volatile int *refcount, int value)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808091445.w79EjvNj078038>