Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2000 08:27:48 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/19825: Update port: graphics/epstool to 1.40
Message-ID:  <20000710152748.ED05A37B84A@hub.freebsd.org>

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

>Number:         19825
>Category:       ports
>Synopsis:       Update port: graphics/epstool to 1.40
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 10 08:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.0-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.40

Remove file:
patches/patch-ac

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/epstool/Makefile graphics/epstool/Makefile
--- /usr/ports/graphics/epstool/Makefile	Thu Apr 13 19:16:52 2000
+++ graphics/epstool/Makefile	Mon Jul 10 23:56:09 2000
@@ -6,18 +6,18 @@
 #
 
 PORTNAME=	epstool
-PORTVERSION=	1.08
+PORTVERSION=	1.40
 CATEGORIES=	graphics
 MASTER_SITES=	ftp://ftp.cs.wisc.edu/ghost/ghostgum/ \
 		ftp://ftp.fh-koblenz.de/pub/Ghostscript/ghostgum/
-DISTNAME=	${PORTNAME}-108
+DISTNAME=	${PORTNAME}-140
 
 MAINTAINER=	ports@FreeBSD.org
 
 RUN_DEPENDS=	gs:${PORTSDIR}/print/ghostscript55
 
+WRKSRC=		${WRKDIR}/${PORTNAME}
 MAKEFILE=	makefile.unx
-WRKSRC=		${WRKDIR}/epstool
 
 post-install:
 .if !defined(NOPORTDOCS)
diff -urN /usr/ports/graphics/epstool/files/md5 graphics/epstool/files/md5
--- /usr/ports/graphics/epstool/files/md5	Tue Feb 29 11:02:59 2000
+++ graphics/epstool/files/md5	Mon Jul 10 22:50:11 2000
@@ -1 +1 @@
-MD5 (epstool-108.tar.gz) = b1ad618f11638c828ad56db120f4b97a
+MD5 (epstool-140.tar.gz) = 42859819caa516364ff93337f56d7bdf
diff -urN /usr/ports/graphics/epstool/patches/patch-ab graphics/epstool/patches/patch-ab
--- /usr/ports/graphics/epstool/patches/patch-ab	Tue Feb 29 11:03:01 2000
+++ graphics/epstool/patches/patch-ab	Mon Jul 10 23:09:19 2000
@@ -1,5 +1,5 @@
---- epstool.c.orig	Tue Feb 15 08:52:06 2000
-+++ epstool.c	Fri Feb 25 04:09:56 2000
+--- epstool.cpp.orig	Fri Jun 30 08:39:14 2000
++++ epstool.cpp	Mon Jul 10 23:08:53 2000
 @@ -25,7 +25,7 @@
  char upname[MAXSTR];
  char gsname[MAXSTR] = GSCOMMAND;
@@ -9,9 +9,9 @@
  char szScratch[] = "ep";
  char szAppName[] = "epstool";
  int resolution = 72;
-@@ -90,9 +90,9 @@
- main(int argc, char *argv[])
- {
+@@ -132,9 +132,9 @@
+ 	find_gs(gsname, sizeof(gsname)-1, 550, FALSE);
+ #endif
  #ifdef UNIX
 -	strcpy(devname, "pbmraw");
 +	strcpy(gsdevname, "pbmraw");
@@ -21,10 +21,10 @@
  #endif
  	if (scan_args(argc, argv))
  	   return 1;
-@@ -260,10 +260,10 @@
+@@ -375,10 +375,10 @@
  	fclose(tempfile);
  #ifdef UNIX
- 	sprintf(gscommand, "%s -dNOPAUSE -dQUIET -sDEVICE=%s -sOutputFile=\042%s\042 -r%d -g%dx%d %s",
+ 	sprintf(gscommand, "\042%s\042 -dNOPAUSE -dQUIET -sDEVICE=%s -sOutputFile=\042%s\042 -r%d -g%dx%d %s",
 -	   gsname, devname, bmpname, resolution, width, height, tempname);
 +	   gsname, gsdevname, bmpname, resolution, width, height, tempname);
  #else
@@ -34,7 +34,7 @@
  	if (!quiet) {
  	    fputs(gscommand, stderr);
  	    fputs("\n", stderr);
-@@ -429,7 +429,7 @@
+@@ -548,7 +548,7 @@
  		  break;
  		case 'z':
  		  if (argp[2])
@@ -43,12 +43,3 @@
  		  break;
  		case 'c':
  		  if (got_op) {
-@@ -566,7 +566,7 @@
- 
- 	strcat(fname, prefix);
- 	strcat(fname, "XXXXXX");
--	mktemp(fname);
-+	mkstemp(fname);
- 	return fopen(fname, mode);
- }
- 
diff -urN /usr/ports/graphics/epstool/patches/patch-ac graphics/epstool/patches/patch-ac
--- /usr/ports/graphics/epstool/patches/patch-ac	Tue Feb 29 11:03:01 2000
+++ graphics/epstool/patches/patch-ac	Thu Jan  1 09:00:00 1970
@@ -1,12 +0,0 @@
---- ps.c.orig	Tue Feb  8 10:05:04 2000
-+++ ps.c	Fri Feb 25 04:40:49 2000
-@@ -64,7 +64,9 @@
- #include <stdlib.h>
- #endif
- #include <ctype.h>
-+#if !defined(__FreeBSD__)
- #include <X11/Xos.h>		/* #includes the appropriate <string.h> */
-+#endif
- #define pserror(str) fprintf(stderr,str)
- #endif
- #include "ps.h"


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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