aboutsummaryrefslogtreecommitdiff
path: root/graphics/ipe/files/patch-ipelib__ipedoc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ipe/files/patch-ipelib__ipedoc.cpp')
-rw-r--r--graphics/ipe/files/patch-ipelib__ipedoc.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/ipe/files/patch-ipelib__ipedoc.cpp b/graphics/ipe/files/patch-ipelib__ipedoc.cpp
new file mode 100644
index 000000000000..f4d56b64aec5
--- /dev/null
+++ b/graphics/ipe/files/patch-ipelib__ipedoc.cpp
@@ -0,0 +1,11 @@
+--- ipelib/ipedoc.cpp.orig
++++ ipelib/ipedoc.cpp
+@@ -850,7 +850,7 @@
+ if (!file)
+ return ErrWritingSource;
+
+- char *inbuf = (char *) utf8.data();
++ const char *inbuf = utf8.data();
+ size_t inbytesleft = utf8.size();
+
+ FileStream fstream(file);