ports/142898: [PATCH]print/gv: update to 3.6.8

bf bf1783 at gmail.com
Sun Jan 17 01:40:01 UTC 2010


>Number:         142898
>Category:       ports
>Synopsis:       [PATCH]print/gv: update to 3.6.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 17 01:40:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        9-CURRENT amd64
>Organization:
-
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN gv.orig/Makefile gv/Makefile
--- gv.orig/Makefile	2010-01-16 20:18:27.000000000 -0500
+++ gv/Makefile	2010-01-16 20:10:37.000000000 -0500
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	gv
-PORTVERSION=	3.6.7
-PORTREVISION=	1
+PORTVERSION=	3.6.8
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -23,7 +22,8 @@
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--libdir=${PREFIX}/lib/X11 \
-			--enable-setenv-code
+			--enable-setenv-code \
+			--enable-SIGCHLD-fallback
 
 MAN1=		gv.1 gv-update-userconfig.1
 INFO=		gv
diff -ruN gv.orig/distinfo gv/distinfo
--- gv.orig/distinfo	2010-01-16 20:18:27.000000000 -0500
+++ gv/distinfo	2010-01-16 16:57:41.000000000 -0500
@@ -1,3 +1,3 @@
-MD5 (gv-3.6.7.tar.gz) = fdad147dd0440446cf9daaffca83343f
-SHA256 (gv-3.6.7.tar.gz) = ee71a4f1604fe00388242c3f3c055aa067cd60bf72e6d5249897455d559fb3b1
-SIZE (gv-3.6.7.tar.gz) = 545104
+MD5 (gv-3.6.8.tar.gz) = 581ef7834c0e07ac1536b1ee8faa11d5
+SHA256 (gv-3.6.8.tar.gz) = 2094e5c49dff6aa863caa878373fc60b593d97340e44721f02e972ed385106c5
+SIZE (gv-3.6.8.tar.gz) = 544998
diff -ruN gv.orig/files/patch-src-callbacks.c gv/files/patch-src-callbacks.c
--- gv.orig/files/patch-src-callbacks.c	2010-01-16 20:18:27.000000000 -0500
+++ gv/files/patch-src-callbacks.c	1969-12-31 19:00:00.000000000 -0500
@@ -1,20 +0,0 @@
---- src/callbacks.c.orig	2009-04-10 00:01:22.379498762 -0400
-+++ src/callbacks.c	2009-04-10 00:02:32.330844813 -0400
-@@ -957,7 +957,7 @@
-     
-     BEGINMESSAGE(cb_presentation)
- 
--    sigold = signal(SIGCLD, SIG_IGN); /* Avoid zombies */
-+    sigold = signal(SIGCHLD, SIG_IGN); /* Avoid zombies */
-     if (!(pid = fork()))
-     {
-        /* We have to close all open file descriptors so the child does not
-@@ -969,7 +969,7 @@
-        printf("Cannot exec %s\n", gv_bin);
-        exit(1);
-     }
--    signal(SIGCLD, sigold); /* restore signal handler */
-+    signal(SIGCHLD, sigold); /* restore signal handler */
-     
-     ENDMESSAGE(cb_presentation)
- }
diff -ruN gv.orig/files/patch-src_FileSel.c gv/files/patch-src_FileSel.c
--- gv.orig/files/patch-src_FileSel.c	1969-12-31 19:00:00.000000000 -0500
+++ gv/files/patch-src_FileSel.c	2010-01-16 20:21:10.000000000 -0500
@@ -0,0 +1,10 @@
+--- src/FileSel.c.orig	2010-01-16 19:32:22.000000000 -0500
++++ src/FileSel.c	2010-01-16 19:33:09.000000000 -0500
+@@ -1488,6 +1488,7 @@
+      else          SetIncompleteDirectoryView(fs,cannotopenList);
+      chdir(APP_DIR);
+      ENDMESSAGE(SetDirectoryView)
++     (void)closedir(dirp);
+      return;
+    }
+ 


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



More information about the freebsd-ports-bugs mailing list