mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
graphics/swfmill: update 0.3.3 -> 0.3.4
Changes: https://github.com/djcsdy/swfmill/commits/master
This commit is contained in:
parent
63cd4a1f60
commit
b0cd56a412
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=451517
4 changed files with 7 additions and 27 deletions
|
@ -2,8 +2,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= swfmill
|
PORTNAME= swfmill
|
||||||
PORTVERSION= 0.3.3
|
PORTVERSION= 0.3.4
|
||||||
PORTREVISION= 5
|
|
||||||
CATEGORIES= graphics
|
CATEGORIES= graphics
|
||||||
MASTER_SITES= http://swfmill.org/releases/
|
MASTER_SITES= http://swfmill.org/releases/
|
||||||
|
|
||||||
|
@ -13,7 +12,9 @@ COMMENT= Tool to generate or decompile Adobe Flash SWF files
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
LIB_DEPENDS= libpng.so:graphics/png \
|
LIB_DEPENDS= libpng.so:graphics/png \
|
||||||
libfreetype.so:print/freetype2
|
libfreetype.so:print/freetype2 \
|
||||||
|
libgcrypt.so:security/libgcrypt \
|
||||||
|
libgpg-error.so:security/libgpg-error
|
||||||
|
|
||||||
USES= dos2unix iconv gmake pkgconfig libtool
|
USES= dos2unix iconv gmake pkgconfig libtool
|
||||||
USE_GNOME= libxml2 libxslt
|
USE_GNOME= libxml2 libxslt
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
SHA256 (swfmill-0.3.3.tar.gz) = f9e8529eed84962abf88c6457b59cbc6d230db068d1fdd977e7b234228beac96
|
TIMESTAMP = 1507454534
|
||||||
SIZE (swfmill-0.3.3.tar.gz) = 1386829
|
SHA256 (swfmill-0.3.4.tar.gz) = 514843cdacd1c95a1a8b60a3f4f4fc6559932fb270c6a0585ad5c3275da03589
|
||||||
|
SIZE (swfmill-0.3.4.tar.gz) = 1387014
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- 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 == (iconv_t)-1) {
|
|
||||||
fprintf(stderr, "iconv_open failed.\n");
|
|
||||||
char *buf = new char[1];
|
|
||||||
buf[0] = '\0';
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- 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 == (iconv_t)-1) {
|
|
||||||
fprintf(stderr, "iconv_open failed.\n");
|
|
||||||
return xmlCharStrdup("");
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue