summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--groups/261.native_packages_x11.group4
-rw-r--r--patches/harfbuzz-2.1.3.local.patch21
2 files changed, 23 insertions, 2 deletions
diff --git a/groups/261.native_packages_x11.group b/groups/261.native_packages_x11.group
index ac27c9f5..2ff49817 100644
--- a/groups/261.native_packages_x11.group
+++ b/groups/261.native_packages_x11.group
@@ -64,8 +64,8 @@ xeyes xorgproto Xrender xterm xtrans xwd xwin")";
: ${PKG_GTK2_CONFIGURE_ARGS_EXTRA:="--disable-cups --disable-papi"};
: ${PKG_GTK2_DISABLED:=1};
: ${PKG_HARFBUZZ_DEPENDS:="freetype_pre glib"};
-: ${PKG_HARFBUZZ_SHA256SUM:=a8e5c86e4d99e1cc9865ec1b8e9b05b98e413c2a885cd11f8e9bb9502dd3e3a9};
-: ${PKG_HARFBUZZ_VERSION:=1.8.8};
+: ${PKG_HARFBUZZ_SHA256SUM:=613264460bb6814c3894e3953225c5357402915853a652d40b4230ce5faf0bee};
+: ${PKG_HARFBUZZ_VERSION:=2.1.3};
: ${PKG_HARFBUZZ_URL:=https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-${PKG_HARFBUZZ_VERSION}.tar.bz2};
: ${PKG_HARFBUZZ_CONFIGURE_ARGS_EXTRA:="--with-icu=no --with-cairo=no"};
: ${PKG_IMLIB2_DEPENDS:="freetype libX11 libXext"};
diff --git a/patches/harfbuzz-2.1.3.local.patch b/patches/harfbuzz-2.1.3.local.patch
new file mode 100644
index 00000000..5655c559
--- /dev/null
+++ b/patches/harfbuzz-2.1.3.local.patch
@@ -0,0 +1,21 @@
+diff -ru harfbuzz-2.1.3.orig/src/hb-aat-layout-kerx-table.hh harfbuzz-2.1.3/src/hb-aat-layout-kerx-table.hh
+--- harfbuzz-2.1.3.orig/src/hb-aat-layout-kerx-table.hh 2018-11-17 01:10:09.000000000 +0100
++++ harfbuzz-2.1.3/src/hb-aat-layout-kerx-table.hh 2022-02-01 13:19:10.829775494 +0100
+@@ -897,7 +897,7 @@
+ reverse = bool (st->u.header.coverage & st->u.header.Backwards) !=
+ HB_DIRECTION_IS_BACKWARD (c->buffer->props.direction);
+
+- if (!c->buffer->message (c->font, "start %c%c%c%c subtable %d", HB_UNTAG (thiz()->tableTag), c->lookup_index))
++ if (!c->buffer->message (c->font, "start %c%c%c%c subtable %d", HB_UNTAG (T::tableTag), c->lookup_index))
+ goto skip;
+
+ if (!seenCrossStream &&
+@@ -927,7 +927,7 @@
+ if (reverse)
+ c->buffer->reverse ();
+
+- (void) c->buffer->message (c->font, "end %c%c%c%c subtable %d", HB_UNTAG (thiz()->tableTag), c->lookup_index);
++ (void) c->buffer->message (c->font, "end %c%c%c%c subtable %d", HB_UNTAG (T::tableTag), c->lookup_index);
+
+ skip:
+ st = &StructAfter<SubTable> (*st);