pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/harfbuzz harfbuzz: fix build on arm and ppc (cha...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1cacf4eb7de
branches:  trunk
changeset: 382868:b1cacf4eb7de
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Aug 07 12:35:34 2022 +0000

description:
harfbuzz: fix build on arm and ppc (char unsignedness)

diffstat:

 fonts/harfbuzz/distinfo                           |   3 ++-
 fonts/harfbuzz/patches/patch-src_test-repacker.cc |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 65e41f36a0be -r b1cacf4eb7de fonts/harfbuzz/distinfo
--- a/fonts/harfbuzz/distinfo   Sun Aug 07 11:49:30 2022 +0000
+++ b/fonts/harfbuzz/distinfo   Sun Aug 07 12:35:34 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.121 2022/08/07 08:08:23 wiz Exp $
+$NetBSD: distinfo,v 1.122 2022/08/07 12:35:34 tnn Exp $
 
 BLAKE2s (harfbuzz-5.1.0.tar.xz) = 2bb7d692f5e22b611db664f3ae0c193ecf272d3d74c718b49e7b385f6ff259a0
 SHA512 (harfbuzz-5.1.0.tar.xz) = 452c4236ef997db2a32c5ac32d3b619c5fa9b5691cde935092b32581387de8d161ab1ba78dd9fa02c36ce553f0f1fdd5564132ec81cd7b863af6d3be96cbf979
 Size (harfbuzz-5.1.0.tar.xz) = 15183424 bytes
+SHA1 (patch-src_test-repacker.cc) = 2a1021ec6a2cb35b23bd6a6576b1e9bb6feb2580
diff -r 65e41f36a0be -r b1cacf4eb7de fonts/harfbuzz/patches/patch-src_test-repacker.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/harfbuzz/patches/patch-src_test-repacker.cc Sun Aug 07 12:35:34 2022 +0000
@@ -0,0 +1,18 @@
+$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);



Home | Main Index | Thread Index | Old Index