File harfbuzz-abi-compat.patch of Package harfbuzz.4224
Index: harfbuzz-1.4.5/src/hb-common.cc
===================================================================
--- harfbuzz-1.4.5.orig/src/hb-common.cc
+++ harfbuzz-1.4.5/src/hb-common.cc
@@ -606,7 +606,13 @@ hb_version_atleast (unsigned int major,
return HB_VERSION_ATLEAST (major, minor, micro);
}
-
+hb_bool_t
+hb_version_check (unsigned int major,
+ unsigned int minor,
+ unsigned int micro)
+{
+ return HB_VERSION_ATLEAST (major, minor, micro);
+}
/* hb_feature_t and hb_variation_t */
Index: harfbuzz-1.4.5/src/hb-version.h
===================================================================
--- harfbuzz-1.4.5.orig/src/hb-version.h
+++ harfbuzz-1.4.5/src/hb-version.h
@@ -60,6 +60,11 @@ hb_version_atleast (unsigned int major,
unsigned int minor,
unsigned int micro);
+HB_EXTERN hb_bool_t
+hb_version_check (unsigned int major,
+ unsigned int minor,
+ unsigned int micro);
+
HB_END_DECLS
Index: harfbuzz-1.4.5/src/hb-version.h.in
===================================================================
--- harfbuzz-1.4.5.orig/src/hb-version.h.in
+++ harfbuzz-1.4.5/src/hb-version.h.in
@@ -60,6 +60,10 @@ hb_version_atleast (unsigned int major,
unsigned int minor,
unsigned int micro);
+HB_EXTERN hb_bool_t
+hb_version_check (unsigned int major,
+ unsigned int minor,
+ unsigned int micro);
HB_END_DECLS