aboutsummaryrefslogtreecommitdiff
path: root/textproc/sablotron/files/patch-src__engine__encoding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/sablotron/files/patch-src__engine__encoding.cpp')
-rw-r--r--textproc/sablotron/files/patch-src__engine__encoding.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/sablotron/files/patch-src__engine__encoding.cpp b/textproc/sablotron/files/patch-src__engine__encoding.cpp
new file mode 100644
index 000000000000..3079d18b8ac7
--- /dev/null
+++ b/textproc/sablotron/files/patch-src__engine__encoding.cpp
@@ -0,0 +1,11 @@
+--- ./src/engine/encoding.cpp.orig 2013-07-30 16:44:46.000000000 +0200
++++ ./src/engine/encoding.cpp 2013-07-30 16:46:02.000000000 +0200
+@@ -278,7 +278,7 @@
+ errno = 0;
+ iconv((iconv_t)(cd -> physCD),
+ # ifdef SABLOT_ICONV_CAST_OK
+- (char**)(&inbuf),
++ (const char**)(&inbuf),
+ # else
+ &inbuf,
+ # endif