Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Feb 2017 18:58:35 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433448 - in head/graphics/swfmill: . files
Message-ID:  <201702051858.v15IwZu9022866@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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-&gt;swf_encoding, "UTF-8");
 -		if (cd &lt; 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-&gt;swf_encoding);
 -		if (cd &lt; 0) {
-+		if (cd == NULL) {
++		if (cd == (iconv_t)-1) {
  			fprintf(stderr, "iconv_open failed.\n");
  			return xmlCharStrdup("");
  		}



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