View | Details | Raw Unified | Return to bug 230478
Collapse All | Expand All

(-)i/devel/avro-c/Makefile (-5 lines)
Lines 14-24 COMMENT= C library for Apache Avro Link Here
14
LICENSE=	APACHE20
14
LICENSE=	APACHE20
15
LICENSE_FILE=	${WRKSRC}/LICENSE
15
LICENSE_FILE=	${WRKSRC}/LICENSE
16
16
17
BROKEN_aarch64=	fails to build: error: No atomic implementation
18
BROKEN_armv6=	fails to build: error: No atomic implementation
19
BROKEN_armv7=	fails to build: error: No atomic implementation
20
BROKEN_mips=	fails to build: error: No atomic implementation
21
BROKEN_mips64=	fails to build: error: No atomic implementation
22
BROKEN_sparc64=	fails to build
17
BROKEN_sparc64=	fails to build
23
18
24
LIB_DEPENDS=	libjansson.so:devel/jansson \
19
LIB_DEPENDS=	libjansson.so:devel/jansson \
(-)i/devel/avro-c/files/patch-src_avro_refcount.h (+11 lines)
Added Link Here
1
--- src/avro/refcount.h.orig	2018-08-09 12:31:39 UTC
2
+++ src/avro/refcount.h
3
@@ -118,7 +118,7 @@ avro_refcount_dec(volatile int *refcount)
4
  * GCC intrinsics
5
  */
6
 
7
-#elif (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) > 40500
8
+#elif (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) > 40500 || defined(__clang__)
9
 
10
 static inline void
11
 avro_refcount_set(volatile int *refcount, int value)

Return to bug 230478