summaryrefslogtreecommitdiff
path: root/external/harfbuzz
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-12-30 22:23:40 +0000
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2016-12-30 23:31:48 +0000
commit83a9c8e046dfcaccdb1114ec5a386a11fcca3a02 (patch)
tree2a26f1569c8e8ad1aec01b8c97db6f74de8b3070 /external/harfbuzz
parent7ed40deee74a9869b7da073ad473241187420ff8 (diff)
build fix
apparently harfbuzz is not build with std=c++11 everywhere Change-Id: Ie105706212d9dd32f33bc67c8a878ce8a55e60ef Reviewed-on: https://gerrit.libreoffice.org/32521 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'external/harfbuzz')
-rw-r--r--external/harfbuzz/ubsan.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/harfbuzz/ubsan.patch b/external/harfbuzz/ubsan.patch
index 36b5a4519483..fde85cf81761 100644
--- a/external/harfbuzz/ubsan.patch
+++ b/external/harfbuzz/ubsan.patch
@@ -58,7 +58,7 @@
template <typename T>
inline const Type *bsearch (T *key) const
{
-+ if (len == 0) return nullptr;
++ if (len == 0) return NULL;
return (const Type *) ::bsearch (key, array, len, sizeof (Type), (hb_compare_func_t) Type::cmp);
}