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

(-)Makefile (-2 / +2 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	harfbuzz
4
PORTNAME=	harfbuzz
5
PORTVERSION=	0.9.41
5
PORTVERSION=	1.0.1
6
CATEGORIES=	print
6
CATEGORIES=	print
7
MASTER_SITES=	http://www.freedesktop.org/software/harfbuzz/release/
7
MASTER_SITES=	http://www.freedesktop.org/software/harfbuzz/release/
8
8
Lines 20-26 Link Here
20
CONFIGURE_ARGS=	--with-graphite2
20
CONFIGURE_ARGS=	--with-graphite2
21
INSTALL_TARGET=	install-strip
21
INSTALL_TARGET=	install-strip
22
22
23
PLIST_SUB+=	LIBVER=0.941.0
23
PLIST_SUB+=	LIBVER=0.10000.1
24
24
25
.include <bsd.port.pre.mk>
25
.include <bsd.port.pre.mk>
26
26
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (harfbuzz-0.9.41.tar.bz2) = d81aa53d0c02b437beeaac159d7fc16394d676bbce0860fb6f6a10b587dc057c
1
SHA256 (harfbuzz-1.0.1.tar.bz2) = 32a1a7ad584a2f2cfba5c1d234d046c0521e86e7a21d403e15e89aa509ef0ea8
2
SIZE (harfbuzz-0.9.41.tar.bz2) = 1188176
2
SIZE (harfbuzz-1.0.1.tar.bz2) = 1211877
(-)files/patch-src_hb-atomic-private.hh (+16 lines)
Line 0 Link Here
1
--- src/hb-atomic-private.hh.orig	2015-04-10 02:16:57 UTC
2
+++ src/hb-atomic-private.hh
3
@@ -103,8 +103,12 @@ typedef int hb_atomic_int_impl_t;
4
 #define hb_atomic_int_impl_add(AI, V)		__sync_fetch_and_add (&(AI), (V))
5
 
6
 #define hb_atomic_ptr_impl_get(P)		(void *) (__sync_synchronize (), *(P))
7
+#if defined(__FreeBSD__) && defined(__mips__)
8
+#include <machine/atomic.h>
9
+#define hb_atomic_ptr_impl_cmpexch(P,O,N)     atomic_cmpset_rel_32 ((uint32_t *)(P), (uint32_t)(O), (uint32_t)(N))
10
+#else
11
 #define hb_atomic_ptr_impl_cmpexch(P,O,N)	__sync_bool_compare_and_swap ((P), (O), (N))
12
-
13
+#endif
14
 
15
 #elif !defined(HB_NO_MT) && defined(HAVE_SOLARIS_ATOMIC_OPS)
16
 

Return to bug 202176