From owner-svn-ports-all@freebsd.org Tue Apr 12 15:05:48 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B28EB0D02B; Tue, 12 Apr 2016 15:05:48 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6251315ED; Tue, 12 Apr 2016 15:05:48 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3CF5lhC030689; Tue, 12 Apr 2016 15:05:47 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3CF5llU030683; Tue, 12 Apr 2016 15:05:47 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201604121505.u3CF5llU030683@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 12 Apr 2016 15:05:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413128 - in head/graphics/giftool: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2016 15:05:48 -0000 Author: mat Date: Tue Apr 12 15:05:46 2016 New Revision: 413128 URL: https://svnweb.freebsd.org/changeset/ports/413128 Log: Upbreak. - Regen patches. - Move part of pkg-descr explaining the options to pkg-help, where it belongs. PR: 208711 Submitted by: tkato432 yahoo com Sponsored by: Absolight Added: head/graphics/giftool/pkg-help (contents, props changed) Modified: head/graphics/giftool/Makefile (contents, props changed) head/graphics/giftool/distinfo (contents, props changed) head/graphics/giftool/files/extra-patch-aa (contents, props changed) head/graphics/giftool/files/extra-patch-ab (contents, props changed) head/graphics/giftool/pkg-descr (contents, props changed) Modified: head/graphics/giftool/Makefile ============================================================================== --- head/graphics/giftool/Makefile Tue Apr 12 15:05:40 2016 (r413127) +++ head/graphics/giftool/Makefile Tue Apr 12 15:05:46 2016 (r413128) @@ -4,20 +4,17 @@ PORTNAME= giftool PORTVERSION= 1.0 CATEGORIES= graphics -MASTER_SITES= http://www.the-labs.com/GIFTool/ -DISTNAME= ${PORTNAME} -EXTRACT_SUFX= .tar.Z +MASTER_SITES= SUNSITE/apps/graphics/convert/ MAINTAINER= ports@FreeBSD.org COMMENT= Tool for GIF89a transparent option and interlace mode -BROKEN= unfetchable - NO_CDROM= Shareware NO_WRKSUBDIR= yes ALL_TARGET= giftool MAKE_ARGS= CFLAGS="${CFLAGS}" +USES= tar:tgz OPTIONS_DEFINE= RETVALUE MALLOCSIZE DOCS OPTIONS_DEFAULT= RETVALUE MALLOCSIZE @@ -32,6 +29,8 @@ MALLOCSIZE_EXTRA_PATCHES= ${PATCHDIR}/ex do-install: ${INSTALL_PROGRAM} ${WRKSRC}/giftool ${STAGEDIR}${PREFIX}/bin + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} Modified: head/graphics/giftool/distinfo ============================================================================== --- head/graphics/giftool/distinfo Tue Apr 12 15:05:40 2016 (r413127) +++ head/graphics/giftool/distinfo Tue Apr 12 15:05:46 2016 (r413128) @@ -1,2 +1,2 @@ -SHA256 (giftool.tar.Z) = 5bcd4f7a76729a1f823b53c2af804cc34ac4f0f261f42671af0e5843db4337ba -SIZE (giftool.tar.Z) = 33697 +SHA256 (giftool-1.0.tgz) = fdf0e818839a3997ead856db7232e49fff4ba1eb3ec2d4a46c52826708e29b44 +SIZE (giftool-1.0.tgz) = 21512 Modified: head/graphics/giftool/files/extra-patch-aa ============================================================================== --- head/graphics/giftool/files/extra-patch-aa Tue Apr 12 15:05:40 2016 (r413127) +++ head/graphics/giftool/files/extra-patch-aa Tue Apr 12 15:05:46 2016 (r413128) @@ -1,27 +1,17 @@ -*** main.c.orig Sat Mar 8 06:34:28 1997 ---- main.c Sat Mar 8 06:37:33 1997 -*************** -*** 1275,1281 **** - exit(1); - } - -! main(int argc, char *argv[]) - { - int c, i; - int batchMode = 0; ---- 1275,1281 ---- - exit(1); - } - -! int main(int argc, char *argv[]) - { - int c, i; - int batchMode = 0; -*************** -*** 1410,1413 **** ---- 1410,1414 ---- - GIFFree(stream); - } - } -+ return 0; - } +--- main.c.orig 1994-12-07 18:31:59 UTC ++++ main.c +@@ -1275,7 +1275,7 @@ static void usage() + exit(1); + } + +-main(int argc, char *argv[]) ++int main(int argc, char *argv[]) + { + int c, i; + int batchMode = 0; +@@ -1410,4 +1410,5 @@ main(int argc, char *argv[]) + GIFFree(stream); + } + } ++ return 0; + } Modified: head/graphics/giftool/files/extra-patch-ab ============================================================================== --- head/graphics/giftool/files/extra-patch-ab Tue Apr 12 15:05:40 2016 (r413127) +++ head/graphics/giftool/files/extra-patch-ab Tue Apr 12 15:05:46 2016 (r413128) @@ -1,19 +1,11 @@ -*** readGIF.c.orig Sat Mar 8 06:28:02 1997 ---- readGIF.c Sat Mar 8 06:30:05 1997 -*************** -*** 253,259 **** - cur->data.image.cmapSize = 0; - - } -! cur->data.image.data = (unsigned char *)malloc(cur->width * cur->height); - cur->data.image.interlaced = BitSet(buf[8], INTERLACE); - readImage(fd, BitSet(buf[8], INTERLACE), - cur->width, cur->height, cur->data.image.data); ---- 253,259 ---- - cur->data.image.cmapSize = 0; - - } -! cur->data.image.data = (unsigned char *)malloc(cur->width * cur->height + 1); - cur->data.image.interlaced = BitSet(buf[8], INTERLACE); - readImage(fd, BitSet(buf[8], INTERLACE), - cur->width, cur->height, cur->data.image.data); +--- readGIF.c.orig 1994-12-09 19:17:03 UTC ++++ readGIF.c +@@ -253,7 +253,7 @@ GIFStream *GIFReadFP(FILE *fd) + cur->data.image.cmapSize = 0; + + } +- cur->data.image.data = (unsigned char *)malloc(cur->width * cur->height); ++ cur->data.image.data = (unsigned char *)malloc(cur->width * cur->height + 1); + cur->data.image.interlaced = BitSet(buf[8], INTERLACE); + readImage(fd, BitSet(buf[8], INTERLACE), + cur->width, cur->height, cur->data.image.data); Modified: head/graphics/giftool/pkg-descr ============================================================================== --- head/graphics/giftool/pkg-descr Tue Apr 12 15:05:40 2016 (r413127) +++ head/graphics/giftool/pkg-descr Tue Apr 12 15:05:46 2016 (r413128) @@ -2,15 +2,3 @@ GIFTool is a tool for GIF89a transparent instance 'giftool -B -i *.gif' converts all images to interlaced GIF files. GIFTool is shareware. Use the -info option to read the licensing information. - -Two options are recommended: -WITH_RETVALUE=yes - This option, suggested by Sergei Chechetkin - , causes GIFTool to provide a return value - so may be used in pipes or with programs like make(1). -WITH_MALLOCSIZE=yes - This option, suggested by Hidetoshi Shimokawa - , increases the size of a malloc, to avoid - a segmentation fault when pre-reading some images. - -WWW: http://www.the-labs.com/GIFTool/ Added: head/graphics/giftool/pkg-help ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/giftool/pkg-help Tue Apr 12 15:05:46 2016 (r413128) @@ -0,0 +1,12 @@ +RETVALUE + +This option, suggested by Sergei Chechetkin +, causes GIFTool to provide a return +value so may be used in pipes or with programs like make(1). + +MALLOCSIZE + +This option, suggested by Hidetoshi Shimokawa +, increases the size of a malloc, to +avoid a segmentation fault when pre-reading some images. +