ports/109801: Update port: graphics/swftools to 0.8.1
KATO Tsuguru
tkato432 at yahoo.com
Sat Mar 3 16:10:08 UTC 2007
>Number: 109801
>Category: ports
>Synopsis: Update port: graphics/swftools to 0.8.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 03 16:10:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.11-RELEASE-p26 i386
>Organization:
>Environment:
>Description:
- Update to version 0.8.1
Remove file:
files/patch-lib__pdf__xpdf__gmem.c
files/patch-lib__pdf__xpdf__gmem.h
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/graphics/swftools/Makefile graphics/swftools/Makefile
--- /usr/ports/graphics/swftools/Makefile Fri Feb 9 14:22:12 2007
+++ graphics/swftools/Makefile Thu Mar 1 13:22:38 2007
@@ -7,8 +7,7 @@
#
PORTNAME= swftools
-PORTVERSION= 0.8.0
-PORTREVISION= 1
+PORTVERSION= 0.8.1
CATEGORIES= graphics
MASTER_SITES= http://www.swftools.org/
diff -urN /usr/ports/graphics/swftools/distinfo graphics/swftools/distinfo
--- /usr/ports/graphics/swftools/distinfo Tue Feb 6 13:42:06 2007
+++ graphics/swftools/distinfo Thu Mar 1 14:17:47 2007
@@ -1,3 +1,3 @@
-MD5 (swftools-0.8.0.tar.gz) = acc720839689fbf75c1b119fd00d555d
-SHA256 (swftools-0.8.0.tar.gz) = 2db4d7b88864e81727f8c8b36629749fbeaa5bc3c9ec1d8f74bc4c67837e8948
-SIZE (swftools-0.8.0.tar.gz) = 1734013
+MD5 (swftools-0.8.1.tar.gz) = 932f4e5fce551ed70c0390fdc0eb1af6
+SHA256 (swftools-0.8.1.tar.gz) = 54b067fe8f644be7bc6d2b037d10679166d7c2cee1c2876d7a4434bee260e550
+SIZE (swftools-0.8.1.tar.gz) = 1743477
diff -urN /usr/ports/graphics/swftools/files/patch-lib__pdf__xpdf__gmem.c graphics/swftools/files/patch-lib__pdf__xpdf__gmem.c
--- /usr/ports/graphics/swftools/files/patch-lib__pdf__xpdf__gmem.c Fri Feb 9 07:35:40 2007
+++ graphics/swftools/files/patch-lib__pdf__xpdf__gmem.c Thu Jan 1 09:00:00 1970
@@ -1,50 +0,0 @@
---- lib/pdf/xpdf/gmem.c.orig Wed Oct 11 02:54:28 2006
-+++ lib/pdf/xpdf/gmem.c Mon Jan 22 13:06:47 2007
-@@ -47,9 +47,9 @@
-
- #endif /* DEBUG_MEM */
-
--void *gmalloc(int size) {
-+void *gmalloc(size_t size) {
- #ifdef DEBUG_MEM
-- int size1;
-+ size_t size1;
- char *mem;
- GMemHdr *hdr;
- void *data;
-@@ -98,11 +98,11 @@
- #endif
- }
-
--void *grealloc(void *p, int size) {
-+void *grealloc(void *p, size_t size) {
- #ifdef DEBUG_MEM
- GMemHdr *hdr;
- void *q;
-- int oldSize;
-+ size_t oldSize;
-
- if (size <= 0) {
- if (p) {
-@@ -142,8 +142,8 @@
- #endif
- }
-
--void *gmallocn(int nObjs, int objSize) {
-- int n;
-+void *gmallocn(int nObjs, size_t objSize) {
-+ size_t n;
-
- if (nObjs == 0) {
- return NULL;
-@@ -156,8 +156,8 @@
- return gmalloc(n);
- }
-
--void *greallocn(void *p, int nObjs, int objSize) {
-- int n;
-+void *greallocn(void *p, int nObjs, size_t objSize) {
-+ size_t n;
-
- if (nObjs == 0) {
- if (p) {
diff -urN /usr/ports/graphics/swftools/files/patch-lib__pdf__xpdf__gmem.h graphics/swftools/files/patch-lib__pdf__xpdf__gmem.h
--- /usr/ports/graphics/swftools/files/patch-lib__pdf__xpdf__gmem.h Fri Feb 9 07:35:40 2007
+++ graphics/swftools/files/patch-lib__pdf__xpdf__gmem.h Thu Jan 1 09:00:00 1970
@@ -1,29 +0,0 @@
---- lib/pdf/xpdf/gmem.h.orig Wed Oct 11 02:54:28 2006
-+++ lib/pdf/xpdf/gmem.h Mon Jan 22 13:07:59 2007
-@@ -19,13 +19,13 @@
- * Same as malloc, but prints error message and exits if malloc()
- * returns NULL.
- */
--extern void *gmalloc(int size);
-+extern void *gmalloc(size_t size);
-
- /*
- * Same as realloc, but prints error message and exits if realloc()
- * returns NULL. If <p> is NULL, calls malloc instead of realloc().
- */
--extern void *grealloc(void *p, int size);
-+extern void *grealloc(void *p, size_t size);
-
- /*
- * These are similar to gmalloc and grealloc, but take an object count
-@@ -33,8 +33,8 @@
- * bytes, but there is an additional error check that the total size
- * doesn't overflow an int.
- */
--extern void *gmallocn(int nObjs, int objSize);
--extern void *greallocn(void *p, int nObjs, int objSize);
-+extern void *gmallocn(int nObjs, size_t objSize);
-+extern void *greallocn(void *p, int nObjs, size_t objSize);
-
- /*
- * Same as free, but checks for and ignores NULL pointers.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list