diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-02-06 02:58:34 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-02-06 02:58:34 +0800 |
commit | 8ae3f1410d0faba982d987aed1baa637d9bc0b37 (patch) | |
tree | 194d868b7da7c455b584d1e5c3538c0707ee15f2 /graphics/swfmill | |
parent | d25ccc79f314bd069cf5764643d195e55269ee31 (diff) | |
download | freebsd-ports-gnome-8ae3f1410d0faba982d987aed1baa637d9bc0b37.tar.gz freebsd-ports-gnome-8ae3f1410d0faba982d987aed1baa637d9bc0b37.tar.zst freebsd-ports-gnome-8ae3f1410d0faba982d987aed1baa637d9bc0b37.zip |
graphics/swfmill: fix r432981 to make more sense
Diffstat (limited to 'graphics/swfmill')
-rw-r--r-- | graphics/swfmill/Makefile | 2 | ||||
-rw-r--r-- | graphics/swfmill/files/patch-src_codegen_parsexml.xsl | 2 | ||||
-rw-r--r-- | graphics/swfmill/files/patch-src_codegen_writexml.xsl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/graphics/swfmill/Makefile b/graphics/swfmill/Makefile index 69d6f42836ea..5865a41d4a98 100644 --- a/graphics/swfmill/Makefile +++ b/graphics/swfmill/Makefile @@ -3,7 +3,7 @@ PORTNAME= swfmill PORTVERSION= 0.3.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= http://swfmill.org/releases/ diff --git a/graphics/swfmill/files/patch-src_codegen_parsexml.xsl b/graphics/swfmill/files/patch-src_codegen_parsexml.xsl index 15222ae2e414..2e5d6f234a16 100644 --- a/graphics/swfmill/files/patch-src_codegen_parsexml.xsl +++ b/graphics/swfmill/files/patch-src_codegen_parsexml.xsl @@ -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';
diff --git a/graphics/swfmill/files/patch-src_codegen_writexml.xsl b/graphics/swfmill/files/patch-src_codegen_writexml.xsl index 48f689e25996..fb95220452af 100644 --- a/graphics/swfmill/files/patch-src_codegen_writexml.xsl +++ b/graphics/swfmill/files/patch-src_codegen_writexml.xsl @@ -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("");
}
|