summaryrefslogtreecommitdiff
path: root/Build/source/libs/harfbuzz/harfbuzz-0.9.10-PATCHES/patch-01-const
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/harfbuzz/harfbuzz-0.9.10-PATCHES/patch-01-const')
-rw-r--r--Build/source/libs/harfbuzz/harfbuzz-0.9.10-PATCHES/patch-01-const39
1 files changed, 39 insertions, 0 deletions
diff --git a/Build/source/libs/harfbuzz/harfbuzz-0.9.10-PATCHES/patch-01-const b/Build/source/libs/harfbuzz/harfbuzz-0.9.10-PATCHES/patch-01-const
new file mode 100644
index 00000000000..98eabbd22ec
--- /dev/null
+++ b/Build/source/libs/harfbuzz/harfbuzz-0.9.10-PATCHES/patch-01-const
@@ -0,0 +1,39 @@
+diff -ur harfbuzz-0.9.10.orig/src/hb-ot-layout-gsubgpos-private.hh harfbuzz-0.9.10/src/hb-ot-layout-gsubgpos-private.hh
+--- harfbuzz-0.9.10.orig/src/hb-ot-layout-gsubgpos-private.hh 2013-01-03 07:14:24.000000000 +0100
++++ harfbuzz-0.9.10/src/hb-ot-layout-gsubgpos-private.hh 2013-01-04 13:31:51.000000000 +0100
+@@ -62,7 +62,7 @@
+ template <typename T>
+ inline return_t process (const T &obj) { obj.closure (this); return HB_VOID; }
+ static return_t default_return_value (void) { return HB_VOID; }
+- bool stop_sublookup_iteration (const return_t r HB_UNUSED) const { return false; }
++ bool stop_sublookup_iteration (return_t r HB_UNUSED) const { return false; }
+ return_t recurse (unsigned int lookup_index)
+ {
+ if (unlikely (nesting_level_left == 0 || !recurse_func))
+@@ -111,7 +111,7 @@
+ template <typename T>
+ inline return_t process (const T &obj) { return obj.would_apply (this); }
+ static return_t default_return_value (void) { return false; }
+- bool stop_sublookup_iteration (const return_t r) const { return r; }
++ bool stop_sublookup_iteration (return_t r) const { return r; }
+
+ hb_face_t *face;
+ const hb_codepoint_t *glyphs;
+@@ -150,7 +150,7 @@
+ template <typename T>
+ inline return_t process (const T &obj) { obj.collect_glyphs (this); return HB_VOID; }
+ static return_t default_return_value (void) { return HB_VOID; }
+- bool stop_sublookup_iteration (const return_t r HB_UNUSED) const { return false; }
++ bool stop_sublookup_iteration (return_t r HB_UNUSED) const { return false; }
+ return_t recurse (unsigned int lookup_index)
+ {
+ if (unlikely (nesting_level_left == 0 || !recurse_func))
+@@ -243,7 +243,7 @@
+ template <typename T>
+ inline return_t process (const T &obj) { return obj.apply (this); }
+ static return_t default_return_value (void) { return false; }
+- bool stop_sublookup_iteration (const return_t r) const { return r; }
++ bool stop_sublookup_iteration (return_t r) const { return r; }
+ return_t recurse (unsigned int lookup_index)
+ {
+ if (unlikely (nesting_level_left == 0 || !recurse_func))