diff options
author | mat <mat@FreeBSD.org> | 2013-07-30 22:55:51 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2013-07-30 22:55:51 +0800 |
commit | d2a0837425ecaf5e3d523c54480e52d2e3315668 (patch) | |
tree | 1593928a9d81b73083a7557a54825dd0c4a9d1db /textproc | |
parent | b5b0253e8d9a02e7333125c5f90d5d6881d99860 (diff) | |
download | freebsd-ports-gnome-d2a0837425ecaf5e3d523c54480e52d2e3315668.tar.gz freebsd-ports-gnome-d2a0837425ecaf5e3d523c54480e52d2e3315668.tar.zst freebsd-ports-gnome-d2a0837425ecaf5e3d523c54480e52d2e3315668.zip |
Add a patch to actually make the ICONV_TYPECAST knob work.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/sablotron/files/patch-src__engine__encoding.cpp | 11 |
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 |