svn commit: r433448 - in head/graphics/swfmill: . files

Jan Beich jbeich at FreeBSD.org
Sun Feb 5 18:58:36 UTC 2017


Author: jbeich
Date: Sun Feb  5 18:58:34 2017
New Revision: 433448
URL: https://svnweb.freebsd.org/changeset/ports/433448

Log:
  graphics/swfmill: fix r432981 to make more sense

Modified:
  head/graphics/swfmill/Makefile   (contents, props changed)
  head/graphics/swfmill/files/patch-src_codegen_parsexml.xsl   (contents, props changed)
  head/graphics/swfmill/files/patch-src_codegen_writexml.xsl   (contents, props changed)

Modified: head/graphics/swfmill/Makefile
==============================================================================
--- head/graphics/swfmill/Makefile	Sun Feb  5 18:58:26 2017	(r433447)
+++ head/graphics/swfmill/Makefile	Sun Feb  5 18:58:34 2017	(r433448)
@@ -3,7 +3,7 @@
 
 PORTNAME=	swfmill
 PORTVERSION=	0.3.3
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	graphics
 MASTER_SITES=	http://swfmill.org/releases/
 

Modified: head/graphics/swfmill/files/patch-src_codegen_parsexml.xsl
==============================================================================
--- head/graphics/swfmill/files/patch-src_codegen_parsexml.xsl	Sun Feb  5 18:58:26 2017	(r433447)
+++ head/graphics/swfmill/files/patch-src_codegen_parsexml.xsl	Sun Feb  5 18:58:34 2017	(r433448)
@@ -5,7 +5,7 @@
  		size_t len = strlen((const char *)from_str);
  		iconv_t cd = iconv_open(ctx->swf_encoding, "UTF-8");
 -		if (cd < 0) {
-+		if (cd == NULL) {
++		if (cd == (iconv_t)-1) {
  			fprintf(stderr, "iconv_open failed.\n");
  			char *buf = new char[1];
  			buf[0] = '\0';

Modified: head/graphics/swfmill/files/patch-src_codegen_writexml.xsl
==============================================================================
--- head/graphics/swfmill/files/patch-src_codegen_writexml.xsl	Sun Feb  5 18:58:26 2017	(r433447)
+++ head/graphics/swfmill/files/patch-src_codegen_writexml.xsl	Sun Feb  5 18:58:34 2017	(r433448)
@@ -5,7 +5,7 @@
  		size_t len = strlen(from_str);
  		iconv_t cd = iconv_open("UTF-8", ctx->swf_encoding);
 -		if (cd < 0) {
-+		if (cd == NULL) {
++		if (cd == (iconv_t)-1) {
  			fprintf(stderr, "iconv_open failed.\n");
  			return xmlCharStrdup("");
  		}


More information about the svn-ports-all mailing list