summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/libs/harfbuzz/TLpatches/ChangeLog1
-rw-r--r--Build/source/libs/harfbuzz/TLpatches/patch-01-HAVE_FALLBACK16
-rw-r--r--Build/source/libs/harfbuzz/harfbuzz-src/src/hb-fallback-shape.cc4
3 files changed, 19 insertions, 2 deletions
diff --git a/Build/source/libs/harfbuzz/TLpatches/ChangeLog b/Build/source/libs/harfbuzz/TLpatches/ChangeLog
index fd5b26cd274..47bd4a9a055 100644
--- a/Build/source/libs/harfbuzz/TLpatches/ChangeLog
+++ b/Build/source/libs/harfbuzz/TLpatches/ChangeLog
@@ -2,6 +2,7 @@
Imported harfbuzz-1.4.3 source tree from:
http://www.freedesktop.org/software/harfbuzz/release/
+ Add patch-01-HAVE_FALLBACK.
2017-01-25 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
diff --git a/Build/source/libs/harfbuzz/TLpatches/patch-01-HAVE_FALLBACK b/Build/source/libs/harfbuzz/TLpatches/patch-01-HAVE_FALLBACK
new file mode 100644
index 00000000000..bb8ab1f5a19
--- /dev/null
+++ b/Build/source/libs/harfbuzz/TLpatches/patch-01-HAVE_FALLBACK
@@ -0,0 +1,16 @@
+diff -ur harfbuzz-1.4.3.orig/src/hb-fallback-shape.cc harfbuzz-1.4.3/src/hb-fallback-shape.cc
+--- harfbuzz-1.4.3.orig/src/hb-fallback-shape.cc Sat Feb 04 09:37:28 2017
++++ harfbuzz-1.4.3/src/hb-fallback-shape.cc Sun Feb 26 08:53:22 2017
+@@ -27,10 +27,10 @@
+ #define HB_SHAPER fallback
+ #include "hb-shaper-impl-private.hh"
+
+-
++#if HAVE_FALLBACK
+ HB_SHAPER_DATA_ENSURE_DEFINE(fallback, face)
+ HB_SHAPER_DATA_ENSURE_DEFINE(fallback, font)
+-
++#endif
+
+ /*
+ * shaper face data
diff --git a/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-fallback-shape.cc b/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-fallback-shape.cc
index 4b60c6c3491..556dfcb1ff1 100644
--- a/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-fallback-shape.cc
+++ b/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-fallback-shape.cc
@@ -27,10 +27,10 @@
#define HB_SHAPER fallback
#include "hb-shaper-impl-private.hh"
-
+#if HAVE_FALLBACK
HB_SHAPER_DATA_ENSURE_DEFINE(fallback, face)
HB_SHAPER_DATA_ENSURE_DEFINE(fallback, font)
-
+#endif
/*
* shaper face data