Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Aug 2005 19:00:43 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/85385: Update port: graphics/zimg to 5.0.0
Message-ID:  <20050828190043.3cab69e6.tkato432@yahoo.com>
Resent-Message-ID: <200508281010.j7SAAJ4J028440@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         85385
>Category:       ports
>Synopsis:       Update port: graphics/zimg to 5.0.0
>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:   Sun Aug 28 10:10:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update to version 5.0.0

New file:
files/patch-zimg.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/zimg/Makefile graphics/zimg/Makefile
--- /usr/ports/graphics/zimg/Makefile	Tue Apr 12 14:06:36 2005
+++ graphics/zimg/Makefile	Sat Aug 27 23:10:39 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	zimg
-PORTVERSION=	4.22.0
+PORTVERSION=	5.0.0
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -27,5 +27,7 @@
 
 MAN1=		zimg.1
 PLIST_FILES=	include/zimg.h bin/zimg
+
+CFLAGS+=	-DHAVE_GD_FREETYPE
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/zimg/distinfo graphics/zimg/distinfo
--- /usr/ports/graphics/zimg/distinfo	Mon Mar  8 11:36:20 2004
+++ graphics/zimg/distinfo	Sat Aug 27 23:00:42 2005
@@ -1,2 +1,2 @@
-MD5 (zimg-4.22.0.tar.gz) = 61af1f7fdb32e099f8a0346afa35430e
-SIZE (zimg-4.22.0.tar.gz) = 378824
+MD5 (zimg-5.0.0.tar.gz) = 8522d35be806f6f10fea5a9bee11410c
+SIZE (zimg-5.0.0.tar.gz) = 384858
diff -urN /usr/ports/graphics/zimg/files/patch-zimg.c graphics/zimg/files/patch-zimg.c
--- /usr/ports/graphics/zimg/files/patch-zimg.c	Thu Jan  1 09:00:00 1970
+++ graphics/zimg/files/patch-zimg.c	Sat Aug 27 23:05:12 2005
@@ -0,0 +1,22 @@
+--- zimg.c.orig	Sat Aug 27 21:46:20 2005
++++ zimg.c	Sat Aug 27 23:04:13 2005
+@@ -2147,6 +2147,8 @@
+ 
+ 		for (current = z.label; current; current = current->next) {
+ 
++		    int width, height;
++
+ 		    int x = current->x;
+ 		    int y = current->y;
+ 
+@@ -2160,8 +2162,8 @@
+ 			continue;
+ 		    }
+ 
+-		    int width = brect[2] - brect[6];
+-		    int height = brect[3] - brect[7];
++		    width = brect[2] - brect[6];
++		    height = brect[3] - brect[7];
+ 
+ 		    /* if label.x or label.y are positive, do NOT make any
+ 		     * check, if the text will be entirely on the image */
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050828190043.3cab69e6.tkato432>