ports/editors/xmlcopyeditor/files/patch-src_xmlcopyeditor.cpp.diff
Beech Rintoul 499d5c44c2 - New port xmlcopyeditor-1.1.0.3
- XML Copy Editor is a fast validating XML editor.

Features:

    * DTD/XML Schema/RELAX NG validation
    * XSLT
    * XPath
    * Pretty-printing
    * Syntax highlighting
    * Folding
    * Tag completion
    * Tag locking
    * Tag-free editing
    * Spelling and style check
    * Built-in support for XHTML, XSL, DocBook and TEI

PR:		ports/118483
Submitted by:	Jose Garcia Juanino <jjuanino@gmail.com> (maintainer)
Approved by:	linimon (mentor)
2008-01-02 22:23:28 +00:00

26 lines
884 B
Diff

--- src/xmlcopyeditor.cpp.orig Thu Dec 20 19:39:44 2007
+++ src/xmlcopyeditor.cpp Thu Dec 20 19:42:26 2007
@@ -2977,10 +2977,7 @@
nconv = iconv (
cd,
-#ifdef __WXMSW__
- ( const char ** )
-#endif
- &docBuffer,
+ ICONV_CHAR_CAST(&docBuffer),
&docBufferLeft,
&iconvBuffer,
&iconvBufferLeft );
@@ -4685,10 +4682,7 @@
nconv = iconv (
cd,
-#ifdef __WXMSW__
- ( const char ** )
-#endif
- &utf8BufferPtr,
+ ICONV_CHAR_CAST(&utf8BufferPtr),
&utf8BufferLeft,
&iconvBuffer,
&iconvBufferLeft );