From 54693029297d5b0c88fbe6badf2365ba18611eff Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 30 Jul 2013 14:55:51 +0000 Subject: Add a patch to actually make the ICONV_TYPECAST knob work. --- textproc/sablotron/files/patch-src__engine__encoding.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 textproc/sablotron/files/patch-src__engine__encoding.cpp (limited to 'textproc/sablotron/files/patch-src__engine__encoding.cpp') 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 -- cgit v1.2.3