- update to swfmill-0.3.3

- enable tests
This commit is contained in:
jasper 2015-12-30 16:42:38 +00:00
parent dbbd93f36e
commit 4e792ebfea
4 changed files with 23 additions and 34 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.5 2015/04/21 18:53:15 sthen Exp $
# $OpenBSD: Makefile,v 1.6 2015/12/30 16:42:38 jasper Exp $
COMMENT= xml2swf and swf2xml processor with import functionalities
DISTNAME= swfmill-0.3.1
REVISION= 1
DISTNAME= swfmill-0.3.3
CATEGORIES= multimedia
MASTER_SITES= ${HOMEPAGE}releases/
@ -22,6 +21,4 @@ LIB_DEPENDS= graphics/png \
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
NO_TEST= Yes
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (swfmill-0.3.1.tar.gz) = FlAPte0o3BqPfDANcRVy5DEmFvkaLO/NYYxQ2/MdSUw=
SIZE (swfmill-0.3.1.tar.gz) = 433683
SHA256 (swfmill-0.3.3.tar.gz) = +ehSnu2Eliq/iMZFe1nLxtIw2waNH92XfnsjQii+rJY=
SIZE (swfmill-0.3.3.tar.gz) = 1386829

View File

@ -1,23 +1,12 @@
$OpenBSD: patch-src_swft_readpng_c,v 1.1.1.1 2011/08/23 19:52:30 kili Exp $
--- src/swft/readpng.c.orig Mon Jul 25 20:51:42 2011
+++ src/swft/readpng.c Mon Jul 25 21:00:35 2011
@@ -50,8 +50,9 @@
#include <stdio.h>
#include <stdlib.h>
-#include "png.h" /* libpng header; includes zlib.h */
+#include "png.h" /* libpng header */
#include "readpng.h" /* typedefs, common macros, public prototypes */
+#include "zlib.h" /* zlib header */
/* future versions of libpng will provide this macro: */
#ifndef png_jmpbuf
@@ -87,7 +88,7 @@ int readpng_init(FILE *infile, ulg *pWidth, ulg *pHeig
* have used slightly more general png_sig_cmp() function instead */
fread(sig, 1, 8, infile);
- if (!png_check_sig(sig, 8))
+ if (png_sig_cmp(sig, 0, 8))
return 1; /* bad signature */
$OpenBSD: patch-src_swft_readpng_c,v 1.2 2015/12/30 16:42:38 jasper Exp $
--- src/swft/readpng.c.orig Thu Oct 31 04:10:21 2013
+++ src/swft/readpng.c Wed Dec 30 17:38:36 2015
@@ -88,7 +88,7 @@ int readpng_init(FILE *infile, ulg *pWidth, ulg *pHeig
* have used slightly more general png_sig_cmp() function instead */
fread(sig, 1, 8, infile);
- if (!png_check_sig(sig, 8))
+ if (png_sig_cmp(sig, 0, 8))
return 1; /* bad signature */

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_xslt_xslt_h,v 1.1.1.1 2011/08/23 19:52:30 kili Exp $
--- src/xslt/xslt.h.orig Tue Jul 5 14:22:35 2011
+++ src/xslt/xslt.h Tue Jul 5 14:21:30 2011
@@ -0,0 +1,7 @@
$OpenBSD: patch-src_xslt_xslt_h,v 1.2 2015/12/30 16:42:38 jasper Exp $
--- src/xslt/xslt.h.orig Sun Jun 2 06:03:14 2013
+++ src/xslt/xslt.h Wed Dec 30 17:33:07 2015
@@ -1,3 +1,10 @@
+#ifndef SWF_XSLT_H
+#define SWF_XSLT_H
+
@ -9,3 +9,6 @@ $OpenBSD: patch-src_xslt_xslt_h,v 1.1.1.1 2011/08/23 19:52:30 kili Exp $
+extern const char *xslt_simple;
+
+#endif
#ifndef SWF_XSLT_H
#define SWF_XSLT_H