From b29198efab952667bf936877ea65c2a1041f0712 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sun, 7 Aug 2022 22:20:36 +0200 Subject: [PATCH] harfbuzz: update to 5.1.0. --- .../harfbuzz/patches/fix-char-signed.patch | 29 +++++++++++++++++++ srcpkgs/harfbuzz/template | 4 +-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/harfbuzz/patches/fix-char-signed.patch diff --git a/srcpkgs/harfbuzz/patches/fix-char-signed.patch b/srcpkgs/harfbuzz/patches/fix-char-signed.patch new file mode 100644 index 00000000000..affcbc57dc5 --- /dev/null +++ b/srcpkgs/harfbuzz/patches/fix-char-signed.patch @@ -0,0 +1,29 @@ +Patch-Source: https://github.com/harfbuzz/harfbuzz/pull/3771 +From 81fe35159e4fdc5ca2c9436cc9ad2750bda64203 Mon Sep 17 00:00:00 2001 +From: psykose +Date: Mon, 1 Aug 2022 07:45:25 +0000 +Subject: [PATCH] [repacker] fix signedness of char in tests + +--- + src/test-repacker.cc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/test-repacker.cc b/src/test-repacker.cc +index 053c0c603..1b7e1f08b 100644 +--- a/src/test-repacker.cc ++++ b/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); +-- +2.37.1 + diff --git a/srcpkgs/harfbuzz/template b/srcpkgs/harfbuzz/template index 4899fd5a1c3..b8bc39ce408 100644 --- a/srcpkgs/harfbuzz/template +++ b/srcpkgs/harfbuzz/template @@ -1,6 +1,6 @@ # Template file for 'harfbuzz' pkgname=harfbuzz -version=4.4.1 +version=5.1.0 revision=1 build_style=meson build_helper="gir qemu" @@ -14,7 +14,7 @@ license="MIT" homepage="http://www.freedesktop.org/wiki/Software/HarfBuzz/" changelog="https://github.com/harfbuzz/harfbuzz/raw/main/NEWS" distfiles="https://github.com/harfbuzz/harfbuzz/releases/download/${version}/harfbuzz-${version}.tar.xz" -checksum=c5bc33ac099b2e52f01d27cde21cee4281b9d5bfec7684135e268512478bc9ee +checksum=2edb95db668781aaa8d60959d21be2ff80085f31b12053cdd660d9a50ce84f05 libharfbuzz_package() { short_desc+=" - runtime library"