Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2013 14:55:51 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323971 - head/textproc/sablotron/files
Message-ID:  <201307301455.r6UEtpcK054126@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Tue Jul 30 14:55:51 2013
New Revision: 323971
URL: http://svnweb.freebsd.org/changeset/ports/323971

Log:
  Add a patch to actually make the ICONV_TYPECAST knob work.

Added:
  head/textproc/sablotron/files/
  head/textproc/sablotron/files/patch-src__engine__encoding.cpp   (contents, props changed)

Added: head/textproc/sablotron/files/patch-src__engine__encoding.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/sablotron/files/patch-src__engine__encoding.cpp	Tue Jul 30 14:55:51 2013	(r323971)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307301455.r6UEtpcK054126>