Index: head/graphics/swfmill/Makefile =================================================================== --- head/graphics/swfmill/Makefile (revision 432980) +++ head/graphics/swfmill/Makefile (revision 432981) @@ -1,26 +1,26 @@ # Created by: Sergey Skvortsov # $FreeBSD$ PORTNAME= swfmill PORTVERSION= 0.3.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= http://swfmill.org/releases/ MAINTAINER= ports@FreeBSD.org COMMENT= Tool to generate or decompile Adobe Flash SWF files LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 USES= dos2unix iconv gmake pkgconfig libtool USE_GNOME= libxml2 libxslt GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include DOS2UNIX_FILES= src/swft/swft_import_ttf.cpp PLIST_FILES= bin/swfmill .include Index: head/graphics/swfmill/files/patch-src_codegen_parsexml.xsl =================================================================== --- head/graphics/swfmill/files/patch-src_codegen_parsexml.xsl (nonexistent) +++ head/graphics/swfmill/files/patch-src_codegen_parsexml.xsl (revision 432981) @@ -0,0 +1,11 @@ +--- src/codegen/parsexml.xsl.orig 2013-10-30 17:33:35 UTC ++++ src/codegen/parsexml.xsl +@@ -19,7 +19,7 @@ char *fromXmlChar(const Context *ctx, co + if (ctx->convertEncoding) { + size_t len = strlen((const char *)from_str); + iconv_t cd = iconv_open(ctx->swf_encoding, "UTF-8"); +- if (cd < 0) { ++ if (cd == NULL) { + fprintf(stderr, "iconv_open failed.\n"); + char *buf = new char[1]; + buf[0] = '\0'; Property changes on: head/graphics/swfmill/files/patch-src_codegen_parsexml.xsl ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +crlf \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/swfmill/files/patch-src_codegen_writexml.xsl =================================================================== --- head/graphics/swfmill/files/patch-src_codegen_writexml.xsl (nonexistent) +++ head/graphics/swfmill/files/patch-src_codegen_writexml.xsl (revision 432981) @@ -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(""); + } Property changes on: head/graphics/swfmill/files/patch-src_codegen_writexml.xsl ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +crlf \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property