aboutsummaryrefslogtreecommitdiffstats
path: root/community/libfreehand/fix-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/libfreehand/fix-build.patch')
-rw-r--r--community/libfreehand/fix-build.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/libfreehand/fix-build.patch b/community/libfreehand/fix-build.patch
new file mode 100644
index 00000000000..2a612f4c91a
--- /dev/null
+++ b/community/libfreehand/fix-build.patch
@@ -0,0 +1,13 @@
+diff --git a/src/lib/libfreehand_utils.cpp b/src/lib/libfreehand_utils.cpp
+index 439c457..32f23e0 100644
+--- a/src/lib/libfreehand_utils.cpp
++++ b/src/lib/libfreehand_utils.cpp
+@@ -162,7 +162,7 @@ void libfreehand::_appendUTF16(librevenge::RVNGString &text, std::vector<unsigne
+ while (j < length)
+ {
+ UChar32 c;
+- U16_NEXT(s, j, length, c)
++ U16_NEXT(s, j, length, c);
+ unsigned char outbuf[U8_MAX_LENGTH+1];
+ int i = 0;
+ U8_APPEND_UNSAFE(&outbuf[0], i, c);