summaryrefslogtreecommitdiff
path: root/repo/libfreehand/fix-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libfreehand/fix-build.patch')
-rw-r--r--repo/libfreehand/fix-build.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/repo/libfreehand/fix-build.patch b/repo/libfreehand/fix-build.patch
new file mode 100644
index 0000000..2a612f4
--- /dev/null
+++ b/repo/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);