aboutsummaryrefslogtreecommitdiff
path: root/textproc/sablotron
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2013-07-30 14:55:51 +0000
committerMathieu Arnold <mat@FreeBSD.org>2013-07-30 14:55:51 +0000
commit54693029297d5b0c88fbe6badf2365ba18611eff (patch)
tree1593928a9d81b73083a7557a54825dd0c4a9d1db /textproc/sablotron
parent2af435d5c97afdc18d15e06043f16f16671c336d (diff)
downloadports-54693029297d5b0c88fbe6badf2365ba18611eff.tar.gz
ports-54693029297d5b0c88fbe6badf2365ba18611eff.zip
Add a patch to actually make the ICONV_TYPECAST knob work.
Notes
Notes: svn path=/head/; revision=323971
Diffstat (limited to 'textproc/sablotron')
-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