ports/105034: Update port: print/gv to 3.6.2

KATO Tsuguru tkato432 at yahoo.com
Wed Nov 1 17:10:47 UTC 2006


>Number:         105034
>Category:       ports
>Synopsis:       Update port: print/gv to 3.6.2
>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:   Wed Nov 01 17:10:28 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p22 i386
>Organization:
>Environment:
>Description:
- Update to veresion 3.6.2

New file:
files/patch-doc__gv.texi

Remove file:
files/patch-src::file.c
files/patch-src::main.c
files/patch-src::ps.c
files/patch-src::resource.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/print/gv/Makefile print/gv/Makefile
--- /usr/ports/print/gv/Makefile	Thu Nov  2 01:18:28 2006
+++ print/gv/Makefile	Thu Nov  2 01:19:45 2006
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	gv
-PORTVERSION=	3.6.1
+PORTVERSION=	3.6.2
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -24,11 +24,9 @@
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS=	--libdir=${PREFIX}/lib/X11
-
-CPPFLAGS=	-I${X11BASE}/include
-LDFLAGS=	-L${X11BASE}/lib
+CONFIGURE_ARGS=	--libdir=${PREFIX}/lib/X11 \
+		--mandir=${MANPREFIX}/man \
+		--infodir=${PREFIX}/${INFO_PATH}
 
 MAN1=		gv.1
 INFO=		gv
@@ -40,7 +38,6 @@
 		lib/X11/gv/gv_system.ad \
 		lib/X11/gv/gv_user.ad \
 		lib/X11/gv/gv_user_res.dat
-
 PLIST_DIRS=	lib/X11/gv
 
 post-install:
diff -urN /usr/ports/print/gv/distinfo print/gv/distinfo
--- /usr/ports/print/gv/distinfo	Sat Nov 26 19:30:33 2005
+++ print/gv/distinfo	Mon Oct 16 03:55:34 2006
@@ -1,3 +1,3 @@
-MD5 (gv-3.6.1.tar.gz) = ace080d647b70f46fca7946e9543b79e
-SHA256 (gv-3.6.1.tar.gz) = 37eb3f58b62441ce62544cdd81c096713ddeeb454e313c3b3b7a93970e85bd08
-SIZE (gv-3.6.1.tar.gz) = 453921
+MD5 (gv-3.6.2.tar.gz) = dcdb2205cf0c61394419e015c7548df1
+SHA256 (gv-3.6.2.tar.gz) = 778e79832dd374238a916d8f202f405775de38422477bd6c60bb1aa7845c82f9
+SIZE (gv-3.6.2.tar.gz) = 446040
diff -urN /usr/ports/print/gv/files/patch-doc__gv.texi print/gv/files/patch-doc__gv.texi
--- /usr/ports/print/gv/files/patch-doc__gv.texi	Thu Jan  1 09:00:00 1970
+++ print/gv/files/patch-doc__gv.texi	Mon Oct 16 04:03:38 2006
@@ -0,0 +1,11 @@
+--- doc/gv.texi.orig	Fri Sep 15 04:51:20 2006
++++ doc/gv.texi	Mon Oct 16 04:03:24 2006
+@@ -9,7 +9,7 @@
+ 
+ @copying
+ This is the @value{EDITION} edition of the @cite{GNU gv Manual},
+-updated for gv version @value{VERSION}.
++updated for gv version @value{GVVER}.
+ 
+ Copyright @copyright{} 1995, 1996, 1997 Johannes Plass
+ 
diff -urN /usr/ports/print/gv/files/patch-src::file.c print/gv/files/patch-src::file.c
--- /usr/ports/print/gv/files/patch-src::file.c	Thu Dec 30 18:14:59 2004
+++ print/gv/files/patch-src::file.c	Thu Jan  1 09:00:00 1970
@@ -1,13 +0,0 @@
---- src/file.c.orig	Wed Dec  8 08:37:40 2004
-+++ src/file.c	Wed Dec 29 22:54:42 2004
-@@ -70,6 +70,10 @@
- #   include <string.h>
- #endif
- 
-+#ifndef ENODATA
-+#define ENODATA 61
-+#endif
-+
- 
- /*############################################################*/
- /* file_getDirOfPath */
diff -urN /usr/ports/print/gv/files/patch-src::main.c print/gv/files/patch-src::main.c
--- /usr/ports/print/gv/files/patch-src::main.c	Thu Dec 30 18:14:59 2004
+++ print/gv/files/patch-src::main.c	Thu Jan  1 09:00:00 1970
@@ -1,20 +0,0 @@
---- src/main.c.orig	Tue Dec  7 08:36:57 2004
-+++ src/main.c	Wed Dec 29 23:06:28 2004
-@@ -321,6 +321,8 @@
-     Dimension    maximum_width,maximum_height;
-     unsigned int gwidth=0,gheight=0;
-     int          dim_forced;
-+    int          opt_counter=0;
-+    int          c;
- 
- /*###  initializing global variables ####################################*/
- 
-@@ -419,8 +421,6 @@
-    }
- 
-    /*### Manage GNU command line arguments ########################*/
--   int opt_counter = 0;
--   int c;
-    while ((c = getopt_long (argc, argv, "vhu", GNU_longOptions, NULL))
- 	  != -1)
-      {
diff -urN /usr/ports/print/gv/files/patch-src::ps.c print/gv/files/patch-src::ps.c
--- /usr/ports/print/gv/files/patch-src::ps.c	Thu Dec 30 18:14:59 2004
+++ print/gv/files/patch-src::ps.c	Thu Jan  1 09:00:00 1970
@@ -1,22 +0,0 @@
---- src/ps.c.orig	Wed Dec  8 08:55:59 2004
-+++ src/ps.c	Wed Dec 29 22:57:48 2004
-@@ -532,15 +532,16 @@
-       section_len = line_len;
-     } else if (iscomment(line,"%PDF-") && cmd_scan_pdf) {
-       
--      /* PDF hack to set DELAYSAFER on interpreter invocation */
--      pdf_delaysafer_hack = 1;
--
-       struct document *retval = NULL;
-       FILE *tmpfile = (FILE*)NULL;
-       char *filename_dsc;
-       char cmd[512];
-       char s[512];
-       mode_t old_umask;
-+
-+      /* PDF hack to set DELAYSAFER on interpreter invocation */
-+      pdf_delaysafer_hack = 1;
-+
-       filename_dsc=file_getTmpFilename(NULL,filename_raw);
-       sprintf(cmd,cmd_scan_pdf,filename,filename_dsc);
-       old_umask = umask(0077);
diff -urN /usr/ports/print/gv/files/patch-src::resource.c print/gv/files/patch-src::resource.c
--- /usr/ports/print/gv/files/patch-src::resource.c	Thu Dec 30 18:14:59 2004
+++ print/gv/files/patch-src::resource.c	Thu Jan  1 09:00:00 1970
@@ -1,20 +0,0 @@
---- src/resource.c.orig	Sun Nov 14 10:16:12 2004
-+++ src/resource.c	Wed Dec 29 22:06:11 2004
-@@ -121,7 +121,7 @@
- {
-   XrmDatabase db=NULL;
-   String *sP;
--  String s,t;
-+  String s,t,rpath;
-   char tmp[GV_MAX_FILENAME_LENGTH];
- #ifdef VMS
-   int b;
-@@ -150,7 +150,7 @@
-     //  s = XtResolvePathname(display,"app-defaults",NULL,NULL,NULL,NULL,0,NULL);
-     /* #endif */
- 
--    String rpath = GV_XtNewString(GV_LIBDIR);
-+    rpath = GV_XtNewString(GV_LIBDIR);
-     if (rpath) {
-       INFSMESSAGE(merging system resource file into database,rpath)
- 	XrmCombineFileDatabase(rpath,&db,True);
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list