aboutsummaryrefslogtreecommitdiff
path: root/print/libraqm
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2020-04-02 15:05:51 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2020-04-02 15:05:51 +0000
commit0a244141c20b550a445d4c68e652d72b879502ab (patch)
tree782b776f4ba68f603ff6dc4e5b8373413b60c85b /print/libraqm
parentbc7c83f309fe907bfa66d0aa3a6e5dd18e3865fb (diff)
downloadports-0a244141c20b550a445d4c68e652d72b879502ab.tar.gz
ports-0a244141c20b550a445d4c68e652d72b879502ab.zip
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
Notes
Notes: svn path=/head/; revision=530379
Diffstat (limited to 'print/libraqm')
-rw-r--r--print/libraqm/files/patch-src_raqm.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/print/libraqm/files/patch-src_raqm.c b/print/libraqm/files/patch-src_raqm.c
index 2a6de316432f..8fcc7cb66935 100644
--- a/print/libraqm/files/patch-src_raqm.c
+++ b/print/libraqm/files/patch-src_raqm.c
@@ -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;
+