Sun Aug 7 12:35:35 2022 UTC ()
harfbuzz: fix build on arm and ppc (char unsignedness)


(tnn)
diff -r1.121 -r1.122 pkgsrc/fonts/harfbuzz/distinfo
diff -r0 -r1.1 pkgsrc/fonts/harfbuzz/patches/patch-src_test-repacker.cc

cvs diff -r1.121 -r1.122 pkgsrc/fonts/harfbuzz/distinfo (expand / switch to unified diff)

--- pkgsrc/fonts/harfbuzz/distinfo 2022/08/07 08:08:23 1.121
+++ pkgsrc/fonts/harfbuzz/distinfo 2022/08/07 12:35:34 1.122
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1$NetBSD: distinfo,v 1.121 2022/08/07 08:08:23 wiz Exp $ 1$NetBSD: distinfo,v 1.122 2022/08/07 12:35:34 tnn Exp $
2 2
3BLAKE2s (harfbuzz-5.1.0.tar.xz) = 2bb7d692f5e22b611db664f3ae0c193ecf272d3d74c718b49e7b385f6ff259a0 3BLAKE2s (harfbuzz-5.1.0.tar.xz) = 2bb7d692f5e22b611db664f3ae0c193ecf272d3d74c718b49e7b385f6ff259a0
4SHA512 (harfbuzz-5.1.0.tar.xz) = 452c4236ef997db2a32c5ac32d3b619c5fa9b5691cde935092b32581387de8d161ab1ba78dd9fa02c36ce553f0f1fdd5564132ec81cd7b863af6d3be96cbf979 4SHA512 (harfbuzz-5.1.0.tar.xz) = 452c4236ef997db2a32c5ac32d3b619c5fa9b5691cde935092b32581387de8d161ab1ba78dd9fa02c36ce553f0f1fdd5564132ec81cd7b863af6d3be96cbf979
5Size (harfbuzz-5.1.0.tar.xz) = 15183424 bytes 5Size (harfbuzz-5.1.0.tar.xz) = 15183424 bytes
 6SHA1 (patch-src_test-repacker.cc) = 2a1021ec6a2cb35b23bd6a6576b1e9bb6feb2580

File Added: pkgsrc/fonts/harfbuzz/patches/Attic/patch-src_test-repacker.cc
$NetBSD: patch-src_test-repacker.cc,v 1.1 2022/08/07 12:35:35 tnn Exp $

https://github.com/harfbuzz/harfbuzz/commit/04d28d94e576aab099891e6736fd0088dfac3366

--- src/test-repacker.cc.orig	2022-07-31 13:50:44.000000000 +0000
+++ src/test-repacker.cc
@@ -112,9 +112,9 @@ static void start_lookup (int8_t type,
                           hb_serialize_context_t* c)
 {
   char lookup[] = {
-    0, type, // type
+    0, (char)type, // type
     0, 0, // flag
-    0, num_subtables, // num subtables
+    0, (char)num_subtables, // num subtables
   };
 
   start_object (lookup, 6, c);