svn commit: r476784 - in head/devel/avro-c: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Aug 9 14:46:13 UTC 2018
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 at 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)
More information about the svn-ports-head
mailing list