Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2015 08:57:10 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r394056 - in head/print/harfbuzz: . files
Message-ID:  <201508130857.t7D8vAwR028415@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Thu Aug 13 08:57:10 2015
New Revision: 394056
URL: https://svnweb.freebsd.org/changeset/ports/394056

Log:
  Update harfbuzz to 1.0.1. [1]
  
  Fix build on mips. [2]
  
  PR:		202176 [1], 201681  [2]
  Submitted by:	olivierd@ [1], Carlos J Puga Medina <cpm@fbsd.es> [2]

Added:
  head/print/harfbuzz/files/patch-src_hb-atomic-private.hh   (contents, props changed)
Modified:
  head/print/harfbuzz/Makefile
  head/print/harfbuzz/distinfo

Modified: head/print/harfbuzz/Makefile
==============================================================================
--- head/print/harfbuzz/Makefile	Thu Aug 13 08:50:11 2015	(r394055)
+++ head/print/harfbuzz/Makefile	Thu Aug 13 08:57:10 2015	(r394056)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	harfbuzz
-PORTVERSION=	0.9.41
+PORTVERSION=	1.0.1
 CATEGORIES=	print
 MASTER_SITES=	http://www.freedesktop.org/software/harfbuzz/release/
 
@@ -20,7 +20,7 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-graphite2
 INSTALL_TARGET=	install-strip
 
-PLIST_SUB+=	LIBVER=0.941.0
+PLIST_SUB+=	LIBVER=0.10000.1
 
 .include <bsd.port.pre.mk>
 

Modified: head/print/harfbuzz/distinfo
==============================================================================
--- head/print/harfbuzz/distinfo	Thu Aug 13 08:50:11 2015	(r394055)
+++ head/print/harfbuzz/distinfo	Thu Aug 13 08:57:10 2015	(r394056)
@@ -1,2 +1,2 @@
-SHA256 (harfbuzz-0.9.41.tar.bz2) = d81aa53d0c02b437beeaac159d7fc16394d676bbce0860fb6f6a10b587dc057c
-SIZE (harfbuzz-0.9.41.tar.bz2) = 1188176
+SHA256 (harfbuzz-1.0.1.tar.bz2) = 32a1a7ad584a2f2cfba5c1d234d046c0521e86e7a21d403e15e89aa509ef0ea8
+SIZE (harfbuzz-1.0.1.tar.bz2) = 1211877

Added: head/print/harfbuzz/files/patch-src_hb-atomic-private.hh
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/harfbuzz/files/patch-src_hb-atomic-private.hh	Thu Aug 13 08:57:10 2015	(r394056)
@@ -0,0 +1,16 @@
+--- src/hb-atomic-private.hh.orig	2015-04-10 02:16:57 UTC
++++ src/hb-atomic-private.hh
+@@ -103,8 +103,12 @@ typedef int hb_atomic_int_impl_t;
+ #define hb_atomic_int_impl_add(AI, V)		__sync_fetch_and_add (&(AI), (V))
+ 
+ #define hb_atomic_ptr_impl_get(P)		(void *) (__sync_synchronize (), *(P))
++#if defined(__FreeBSD__) && defined(__mips__)
++#include <machine/atomic.h>
++#define hb_atomic_ptr_impl_cmpexch(P,O,N)	atomic_cmpset_rel_32 ((uint32_t *)(P), (uint32_t)(O), (uint32_t)(N))
++#else
+ #define hb_atomic_ptr_impl_cmpexch(P,O,N)	__sync_bool_compare_and_swap ((P), (O), (N))
+-
++#endif
+ 
+ #elif !defined(HB_NO_MT) && defined(HAVE_SOLARIS_ATOMIC_OPS)
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508130857.t7D8vAwR028415>