aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2013-07-30 22:55:51 +0800
committermat <mat@FreeBSD.org>2013-07-30 22:55:51 +0800
commitd2a0837425ecaf5e3d523c54480e52d2e3315668 (patch)
tree1593928a9d81b73083a7557a54825dd0c4a9d1db /textproc
parentb5b0253e8d9a02e7333125c5f90d5d6881d99860 (diff)
downloadfreebsd-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.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