diff options
Diffstat (limited to 'graphics/swfmill/files/patch-src_codegen_writexml.xsl')
-rw-r--r-- | graphics/swfmill/files/patch-src_codegen_writexml.xsl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/swfmill/files/patch-src_codegen_writexml.xsl b/graphics/swfmill/files/patch-src_codegen_writexml.xsl new file mode 100644 index 000000000000..48f689e25996 --- /dev/null +++ b/graphics/swfmill/files/patch-src_codegen_writexml.xsl @@ -0,0 +1,11 @@ +--- src/codegen/writexml.xsl.orig 2013-10-30 17:33:35 UTC
++++ src/codegen/writexml.xsl
+@@ -15,7 +15,7 @@ xmlChar *toXmlChar(const Context *ctx, c
+ if (ctx->convertEncoding) {
+ size_t len = strlen(from_str);
+ iconv_t cd = iconv_open("UTF-8", ctx->swf_encoding);
+- if (cd < 0) {
++ if (cd == NULL) {
+ fprintf(stderr, "iconv_open failed.\n");
+ return xmlCharStrdup("");
+ }
|