View | Details | Raw Unified | Return to bug 105034
Collapse All | Expand All

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

Return to bug 105034