Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 2020 15:05:51 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r530379 - head/print/libraqm/files
Message-ID:  <202004021505.032F5pm1058814@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zeising
Date: Thu Apr  2 15:05:51 2020
New Revision: 530379
URL: https://svnweb.freebsd.org/changeset/ports/530379

Log:
  print/libraqm: FIx build with llvm 10
  
  Fix the build of print/libraqm with llvm 10.
  
  PR:		244401
  Submitted by:	dim
  Approved by:	maintainer timeout
  MFH:		2020Q2

Modified:
  head/print/libraqm/files/patch-src_raqm.c

Modified: head/print/libraqm/files/patch-src_raqm.c
==============================================================================
--- head/print/libraqm/files/patch-src_raqm.c	Thu Apr  2 14:27:24 2020	(r530378)
+++ head/print/libraqm/files/patch-src_raqm.c	Thu Apr  2 15:05:51 2020	(r530379)
@@ -1,4 +1,4 @@
---- src/raqm.c.orig	2019-05-17 11:29:46 UTC
+--- src/raqm.c.orig	2019-05-05 20:05:08 UTC
 +++ src/raqm.c
 @@ -1599,14 +1599,14 @@ _raqm_shape (raqm_t *rq)
  /* Convert index from UTF-32 to UTF-8 */
@@ -175,3 +175,20 @@
  
    return true;
  }
+@@ -1931,11 +1931,11 @@ _raqm_get_grapheme_break (hb_codepoint_t ch,
+     case HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK:
+     case HB_UNICODE_GENERAL_CATEGORY_ENCLOSING_MARK:
+     case HB_UNICODE_GENERAL_CATEGORY_SPACING_MARK:
+-      if (ch != 0x102B || ch != 0x102C || ch != 0x1038 ||
+-          (ch <= 0x1062 && ch >= 0x1064) || (ch <= 0x1067 && ch >= 0x106D) ||
+-          ch != 0x1083 || (ch <= 0x1087 && ch >= 0x108C) || ch != 0x108F ||
+-          (ch <= 0x109A && ch >= 0x109C) || ch != 0x1A61 || ch != 0x1A63 ||
+-          ch != 0x1A64 || ch != 0xAA7B || ch != 0xAA70 || ch != 0x11720 ||
++      if (ch != 0x102B && ch != 0x102C && ch != 0x1038 &&
++          (ch < 0x1062 || ch > 0x1064) && (ch < 0x1067 || ch > 0x106D) &&
++          ch != 0x1083 && (ch < 0x1087 || ch > 0x108C) && ch != 0x108F &&
++          (ch < 0x109A || ch > 0x109C) && ch != 0x1A61 && ch != 0x1A63 &&
++          ch != 0x1A64 && ch != 0xAA7B && ch != 0xAA70 && ch != 0x11720 &&
+           ch != 0x11721) /**/
+         gb_type = RAQM_GRAPHEM_SPACING_MARK;
+ 



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