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

(-)graphics/urt/Makefile (-14 / +14 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:	urt
1
# Created by: cfs@ing.puc.cl (original)
2
# Date created:		Jan 5 1997
3
# Whom:			cfs@ing.puc.cl (original)
4
#
5
# $FreeBSD: ports/graphics/urt/Makefile,v 1.48 2012/10/09 22:12:13 linimon Exp $
2
# $FreeBSD: ports/graphics/urt/Makefile,v 1.48 2012/10/09 22:12:13 linimon Exp $
6
#
7
3
8
PORTNAME=	urt
4
PORTNAME=	urt
9
PORTVERSION=	3.1b1
5
PORTVERSION=	3.1b1
Lines 20-38 Link Here
20
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	ports@FreeBSD.org
21
COMMENT=	Toolkit and library for raster image processing
17
COMMENT=	Toolkit and library for raster image processing
22
18
23
LIB_DEPENDS=	netpbm.1:${PORTSDIR}/graphics/netpbm
19
LIB_DEPENDS=	netpbm:${PORTSDIR}/graphics/netpbm
20
21
OPTIONS_DEFINE=	DOCS EXAMPLES
24
22
25
NO_WRKSUBDIR=	yes
23
NO_WRKSUBDIR=	yes
26
24
27
USE_GCC=	any
28
USE_XORG=	x11 xext
25
USE_XORG=	x11 xext
29
HAS_CONFIGURE=	yes
26
HAS_CONFIGURE=	yes
30
CONFIGURE_SCRIPT=Configure
27
CONFIGURE_SCRIPT=Configure
31
CONFIGURE_ARGS=	config/urt
28
CONFIGURE_ARGS=	config/urt
32
MAKEFILE=	makefile
33
USE_GMAKE=	yes
29
USE_GMAKE=	yes
30
MAKEFILE=	makefile
34
ALL_TARGET=	# none
31
ALL_TARGET=	# none
35
USE_LDCONFIG=	yes
32
USE_LDCONFIG=	yes
33
MAKE_JOBS_SAFE=	yes
36
34
37
MAN1=	aliastorle.1 applymap.1 avg4.1 crop.1 cubitorle.1 dvirle.1	\
35
MAN1=	aliastorle.1 applymap.1 avg4.1 crop.1 cubitorle.1 dvirle.1	\
38
	fant.1 getx11.1 giftorle.1 graytorle.1 into.1 mcut.1 mergechan.1\
36
	fant.1 getx11.1 giftorle.1 graytorle.1 into.1 mcut.1 mergechan.1\
Lines 61-74 Link Here
61
MAN5=	rle.5
59
MAN5=	rle.5
62
MLINKS=	rle.5 RLE.5
60
MLINKS=	rle.5 RLE.5
63
61
62
.include <bsd.port.options.mk>
63
64
post-install:
64
post-install:
65
.if !defined(NOPORTDOCS)
65
.if ${PORT_OPTIONS:MDOCS}
66
	@${MKDIR} ${DOCSDIR}
66
	@${MKDIR} ${DOCSDIR}
67
	cd ${WRKDIR}/doc && ${FIND} . | \
67
	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR})
68
		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
68
.endif
69
	@${MKDIR} ${EXAMPLESDIR}
69
.if ${PORT_OPTIONS:MEXAMPLES}
70
	cd ${WRKDIR} && ${FIND} img | \
70
	@${MKDIR} ${EXAMPLESDIR}/img
71
		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
71
	@(cd ${WRKSRC}/img && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/img)
72
.endif
72
.endif
73
73
74
.include <bsd.port.mk>
74
.include <bsd.port.mk>
(-)graphics/urt/files/patch-cnv::gif2rle.c (-9 / +9 lines)
Lines 1-17 Link Here
1
--- cnv/giftorle.c.orig	Mon Oct 18 08:59:37 1993
1
--- cnv/giftorle.c.orig	1993-10-18 22:59:37.000000000 +0900
2
+++ cnv/giftorle.c	Thu Nov 29 10:42:17 2007
2
+++ cnv/giftorle.c	2012-10-16 00:54:53.000000000 +0900
3
@@ -21,7 +21,10 @@
3
@@ -22,6 +22,10 @@
4
 /* |   don't try to make money off it, or pretend that you wrote it.  | */
5
 /* +------------------------------------------------------------------+ */
4
 /* +------------------------------------------------------------------+ */
6
 
5
 
7
+#include	<stdlib.h>
8
 #include	<stdio.h>
6
 #include	<stdio.h>
7
+#include	<stdlib.h>
8
+#include	<string.h>
9
+#include	<unistd.h>
9
+#include	<unistd.h>
10
+
10
+
11
 #include	"rle.h"
11
 #include	"rle.h"
12
 
12
 
13
 #ifndef lint
13
 #ifndef lint
14
@@ -69,7 +72,7 @@
14
@@ -69,7 +73,7 @@
15
 
15
 
16
 static int output_colormap = FALSE;
16
 static int output_colormap = FALSE;
17
 
17
 
Lines 20-26 Link Here
20
 main(argc,argv)
20
 main(argc,argv)
21
 int	argc;
21
 int	argc;
22
 char	**argv;
22
 char	**argv;
23
@@ -96,7 +99,7 @@
23
@@ -96,7 +100,7 @@
24
 
24
 
25
     while ( nfname-- > 0 )
25
     while ( nfname-- > 0 )
26
 	(void)ReadGIF( *infname++ );
26
 	(void)ReadGIF( *infname++ );
Lines 29-35 Link Here
29
 }
29
 }
30
 
30
 
31
 int
31
 int
32
@@ -203,7 +206,7 @@
32
@@ -203,7 +207,7 @@
33
 	    EasyFail("EOF in extention\n",TRUE);
33
 	    EasyFail("EOF in extention\n",TRUE);
34
 	if (c == 0)
34
 	if (c == 0)
35
 	    return FALSE;
35
 	    return FALSE;
Lines 38-44 Link Here
38
 	    EasyFail("EOF in extention\n",TRUE);
38
 	    EasyFail("EOF in extention\n",TRUE);
39
     }
39
     }
40
 }
40
 }
41
@@ -278,7 +281,7 @@
41
@@ -278,7 +282,7 @@
42
 	max_code_size = 2*clear_code;
42
 	max_code_size = 2*clear_code;
43
 	max_code = clear_code+2;
43
 	max_code = clear_code+2;
44
 
44
 
(-)graphics/urt/files/patch-cnv::rletops.c (-2 / +11 lines)
Lines 1-5 Link Here
1
--- cnv/rletops.c.orig	Thu Mar 10 20:09:59 2005
1
--- cnv/rletops.c.orig	1992-01-21 03:04:10.000000000 +0900
2
+++ cnv/rletops.c	Thu Mar 10 20:13:29 2005
2
+++ cnv/rletops.c	2012-10-15 22:45:15.000000000 +0900
3
@@ -58,7 +58,7 @@
4
 
5
 static int gencps = 0;		/* generate color PostScript? */
6
 
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
3
@@ -74,7 +74,7 @@
12
@@ -74,7 +74,7 @@
4
     float 	heightinch = 3.0, 
13
     float 	heightinch = 3.0, 
5
     		center = 3.25, 
14
     		center = 3.25, 
(-)graphics/urt/files/patch-cnv::rletorla.c (-4 / +26 lines)
Lines 1-6 Link Here
1
--- cnv/rletorla.c.orig	Thu Mar 10 23:41:56 2005
1
--- cnv/rletorla.c.orig	2012-10-16 00:51:43.000000000 +0900
2
+++ cnv/rletorla.c	Thu Mar 10 23:39:39 2005
2
+++ cnv/rletorla.c	2012-10-16 01:00:52.000000000 +0900
3
@@ -312,7 +312,7 @@
3
@@ -29,9 +29,13 @@
4
  * System includes.
5
  */
6
 #include <stdio.h>
7
+#include <stdlib.h>
8
+#include <string.h>
9
+#include <unistd.h>
10
 #include "rlb_header.h"
11
 #include "rle.h"
12
 
13
+#if 0
14
 #ifdef USE_STDLIB_H
15
 #include <stdlib.h>
16
 #else
17
@@ -52,6 +56,7 @@
18
 extern void free();
19
 
20
 #endif /* USE_STDLIB_H */
21
+#endif
22
 
23
 #define VPRINTF if (verbose || header) fprintf
24
 #define GRAYSCALE   001	/* 8 bits, no colormap */
25
@@ -312,7 +317,7 @@
4
    U_CHAR	*buf;
26
    U_CHAR	*buf;
5
    int		*offset;
27
    int		*offset;
6
    int		width, height;
28
    int		width, height;
Lines 9-15 Link Here
9
    short	len;
31
    short	len;
10
    long		offptr;
32
    long		offptr;
11
 /*
33
 /*
12
@@ -348,7 +348,7 @@
34
@@ -348,7 +353,7 @@
13
       exit(-1);
35
       exit(-1);
14
       }
36
       }
15
    for (scan = 0; scan < height; scan++) {
37
    for (scan = 0; scan < height; scan++) {
(-)graphics/urt/files/patch-cnv__aliastorle.c (+11 lines)
Line 0 Link Here
1
--- cnv/aliastorle.c.orig	1992-04-30 05:01:13.000000000 +0900
2
+++ cnv/aliastorle.c	2012-10-15 22:22:54.000000000 +0900
3
@@ -117,7 +117,7 @@
4
  *      [None]
5
  */
6
 
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-cnv__cubitorle.c (+11 lines)
Line 0 Link Here
1
--- cnv/cubitorle.c.orig	1992-01-29 02:51:35.000000000 +0900
2
+++ cnv/cubitorle.c	2012-10-15 22:27:30.000000000 +0900
3
@@ -31,7 +31,7 @@
4
 
5
 void read_cubi_hdr(), read_cubi_row(), read_cubi_chan(), bit_read();
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int	argc;
11
 char	*argv[];
(-)graphics/urt/files/patch-cnv__graytorle.c (+11 lines)
Line 0 Link Here
1
--- cnv/graytorle.c.orig	1993-04-21 23:42:40.000000000 +0900
2
+++ cnv/graytorle.c	2012-10-15 22:31:19.000000000 +0900
3
@@ -39,7 +39,7 @@
4
  *    -a		Uses first input file as alpha channel.
5
  */
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int  argc;
11
 char *argv[];
(-)graphics/urt/files/patch-cnv__painttorle.c (+11 lines)
Line 0 Link Here
1
--- cnv/painttorle.c.orig	1992-01-17 06:44:02.000000000 +0900
2
+++ cnv/painttorle.c	2012-10-15 22:40:22.000000000 +0900
3
@@ -46,7 +46,7 @@
4
 
5
 void init(), read_scan(), write_scan();
6
 
7
-void
8
+int
9
 main(argc,argv) 
10
 int argc;
11
 char *argv[];
(-)graphics/urt/files/patch-cnv__pgmtorle.c (+10 lines)
Line 0 Link Here
1
--- cnv/pgmtorle.c.orig	1992-04-30 22:57:30.000000000 +0900
2
+++ cnv/pgmtorle.c	2012-10-16 00:55:59.000000000 +0900
3
@@ -35,6 +35,7 @@
4
  * System includes.
5
  */
6
 #include <stdio.h>
7
+#include <string.h>
8
 #include <pgm.h>
9
 #undef abs			/* Screws up stdlib.h. */
10
 #define NO_DECLARE_MALLOC
(-)graphics/urt/files/patch-cnv__ppmtorle.c (+10 lines)
Line 0 Link Here
1
--- cnv/ppmtorle.c.orig	1992-03-05 04:29:44.000000000 +0900
2
+++ cnv/ppmtorle.c	2012-10-16 01:05:15.000000000 +0900
3
@@ -37,6 +37,7 @@
4
 #define NO_DECLARE_MALLOC	/* ppm.h does it */
5
 #include "rle.h"
6
 #include <stdio.h>
7
+#include <string.h>
8
 #include <ppm.h>
9
 
10
 #define VPRINTF if (verbose || header) fprintf
(-)graphics/urt/files/patch-cnv__rastorle.c (+11 lines)
Line 0 Link Here
1
--- cnv/rastorle.c.orig	1992-04-30 22:58:02.000000000 +0900
2
+++ cnv/rastorle.c	2012-10-16 00:16:45.000000000 +0900
3
@@ -72,7 +72,7 @@
4
     		        green[CMAPSIZE],	/* Green ditto */
5
 	    		blue[CMAPSIZE];	/* see a pattern? */
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int argc;
11
 char *argv[];
(-)graphics/urt/files/patch-cnv__rawtorle.c (+11 lines)
Line 0 Link Here
1
--- cnv/rawtorle.c.orig	1992-03-24 12:53:43.000000000 +0900
2
+++ cnv/rawtorle.c	2012-10-16 00:15:58.000000000 +0900
3
@@ -66,7 +66,7 @@
4
      }\
5
 }
6
 
7
-void
8
+int
9
 main(argc,argv) 
10
 int argc;
11
 char *argv[];
(-)graphics/urt/files/patch-cnv__rlesplice.c (+19 lines)
Line 0 Link Here
1
--- cnv/rletoascii.c.orig	1992-01-21 02:29:09.000000000 +0900
2
+++ cnv/rletoascii.c	2012-10-16 00:21:43.000000000 +0900
3
@@ -21,6 +21,7 @@
4
  */
5
 
6
 #include <stdio.h>
7
+#include <string.h>
8
 #include "rle.h"
9
 
10
 typedef FILE	*FILPTR;
11
@@ -59,7 +60,7 @@
12
  */
13
 static char default_asciistr[] = "@BR*#$PX0woIcv:+!~\"., ";
14
 
15
-void
16
+int
17
 main(argc, argv)
18
 int  argc;
19
 char *argv[];
(-)graphics/urt/files/patch-cnv__rletoabA60.c (+11 lines)
Line 0 Link Here
1
--- cnv/rletoabA60.c.orig	1992-01-29 02:54:36.000000000 +0900
2
+++ cnv/rletoabA60.c	2012-10-13 07:03:23.000000000 +0900
3
@@ -52,7 +52,7 @@
4
 rle_pixel scanblu[FRAME_LENGTH][LINE_LENGTH];
5
 rle_pixel scangrn[FRAME_LENGTH][LINE_LENGTH];
6
 
7
-void
8
+int
9
 main(argc,argv)
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-cnv__rletoabA62__rletoabA62.c (+22 lines)
Line 0 Link Here
1
--- cnv/rletoabA62/rletoabA62.c.orig	1992-04-30 23:15:19.000000000 +0900
2
+++ cnv/rletoabA62/rletoabA62.c	2012-10-16 00:25:35.000000000 +0900
3
@@ -42,6 +42,10 @@
4
 */
5
 
6
 #include <stdio.h>
7
+#include <stdlib.h>
8
+#include <string.h>
9
+#include <unistd.h>
10
+#include <fcntl.h>
11
 
12
 #ifndef TRUE
13
 #define TRUE 1
14
@@ -101,7 +105,7 @@
15
  * Main entry...
16
  */
17
 
18
-void
19
+int
20
 main(argc,argv)
21
 int argc;
22
 char **argv;
(-)graphics/urt/files/patch-cnv__rletoalias.c (+11 lines)
Line 0 Link Here
1
--- cnv/rletoalias.c.orig	1992-04-30 22:58:47.000000000 +0900
2
+++ cnv/rletoalias.c	2012-10-13 07:07:29.000000000 +0900
3
@@ -108,7 +108,7 @@
4
  *      [None]
5
  */
6
 
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-cnv__rletocgm.c (+10 lines)
Line 0 Link Here
1
--- cnv/rletocgm.c.orig	1992-04-30 22:59:08.000000000 +0900
2
+++ cnv/rletocgm.c	2012-10-16 00:17:32.000000000 +0900
3
@@ -449,6 +449,7 @@
4
  * 	Repeatedly read from the input until the file EOF or an
5
  * 	error is encountered.
6
  */
7
+int
8
 main( argc, argv )
9
 int argc;
10
 char **argv;
(-)graphics/urt/files/patch-cnv__rletogif__rletogif.c (+19 lines)
Line 0 Link Here
1
--- cnv/rletogif/rletogif.c.orig	1992-04-30 23:15:57.000000000 +0900
2
+++ cnv/rletogif/rletogif.c	2012-10-16 00:28:02.000000000 +0900
3
@@ -29,6 +29,7 @@
4
  */
5
 
6
 #include <stdio.h>
7
+#include <string.h>
8
 #include "rle.h"
9
 #include "rletogif.h"
10
 
11
@@ -44,7 +45,7 @@
12
 int get_color_bits();
13
 void GIFEncode();
14
 
15
-void
16
+int
17
 main(argc, argv)
18
 int argc;
19
 char *argv[];
(-)graphics/urt/files/patch-cnv__rletogray.c (+19 lines)
Line 0 Link Here
1
--- cnv/rletogray.c.orig	1992-04-30 22:59:30.000000000 +0900
2
+++ cnv/rletogray.c	2012-10-15 22:37:09.000000000 +0900
3
@@ -30,6 +30,7 @@
4
 */
5
 
6
 #include <stdio.h>
7
+#include <string.h>
8
 #include "rle.h"
9
 
10
 typedef FILE	*FILPTR;
11
@@ -41,7 +42,7 @@
12
  *	infile			File to split.  If none, uses stdin.
13
  */
14
 
15
-void
16
+int
17
 main(argc, argv)
18
 int  argc;
19
 char *argv[];
(-)graphics/urt/files/patch-cnv__rletoiris.c (+10 lines)
Line 0 Link Here
1
--- cnv/rletoiris.c.orig	1992-04-30 22:59:53.000000000 +0900
2
+++ cnv/rletoiris.c	2012-10-16 00:19:07.000000000 +0900
3
@@ -32,6 +32,7 @@
4
 
5
 rle_hdr hdr;
6
 
7
+int
8
 main(argc,argv)
9
 int argc;
10
 char *argv[];
(-)graphics/urt/files/patch-cnv__rletopaint.c (+11 lines)
Line 0 Link Here
1
--- cnv/rletopaint.c.orig	1992-05-22 00:11:41.000000000 +0900
2
+++ cnv/rletopaint.c	2012-10-15 22:42:40.000000000 +0900
3
@@ -74,7 +74,7 @@
4
 int compress_line();
5
 void write_paint_line(), bytes_to_bits();
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int argc;
11
 char *argv[];
(-)graphics/urt/files/patch-cnv__rletorast.c (+11 lines)
Line 0 Link Here
1
--- cnv/rletorast.c.orig	1992-01-21 03:11:32.000000000 +0900
2
+++ cnv/rletorast.c	2012-10-16 00:15:02.000000000 +0900
3
@@ -41,7 +41,7 @@
4
 
5
 typedef	enum { GREY, GREY_ALPHA, COLOR, COLOR_ALPHA } Input_Type ;
6
 
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-cnv__rletoraw.c (+11 lines)
Line 0 Link Here
1
--- cnv/rletoraw.c.orig	1992-04-30 23:00:21.000000000 +0900
2
+++ cnv/rletoraw.c	2012-10-16 00:14:10.000000000 +0900
3
@@ -65,7 +65,7 @@
4
     }\
5
     
6
 
7
-void
8
+int
9
 main(argc,argv) 
10
 int argc;
11
 char *argv[];
(-)graphics/urt/files/patch-cnv__rletotarga.c (+11 lines)
Line 0 Link Here
1
--- cnv/rletotarga.c.orig	1992-01-22 04:37:07.000000000 +0900
2
+++ cnv/rletotarga.c	2012-10-15 22:47:54.000000000 +0900
3
@@ -62,7 +62,7 @@
4
                       image_descriptor;       /* Image Descriptor Byte */
5
       };
6
 
7
-void
8
+int
9
 main(argc,argv) 
10
 int argc;
11
 char *argv[];
(-)graphics/urt/files/patch-cnv__rletotiff.c (+11 lines)
Line 0 Link Here
1
--- cnv/rletotiff.c.orig	1992-04-30 23:01:10.000000000 +0900
2
+++ cnv/rletotiff.c	2012-10-15 22:53:31.000000000 +0900
3
@@ -48,7 +48,7 @@
4
 static unsigned short compression = COMPRESSION_LZW;
5
 static int flip = 0;
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int argc;
11
 char *argv[];
(-)graphics/urt/files/patch-cnv__targatorle.c (+11 lines)
Line 0 Link Here
1
--- cnv/targatorle.c.orig	1992-02-28 06:11:12.000000000 +0900
2
+++ cnv/targatorle.c	2012-10-15 22:51:12.000000000 +0900
3
@@ -119,7 +119,7 @@
4
 void init_comp();
5
 unsigned char getbyte();
6
 
7
-void
8
+int
9
 main(argc,argv) 
10
 int argc;
11
 char *argv[];
(-)graphics/urt/files/patch-cnv__tifftorle.c (+11 lines)
Line 0 Link Here
1
--- cnv/tifftorle.c.orig	1992-08-07 04:44:25.000000000 +0900
2
+++ cnv/tifftorle.c	2012-10-16 00:13:07.000000000 +0900
3
@@ -47,7 +47,7 @@
4
 unsigned char bc2[4] = { 0, 0x55, 0xaa, 0xff };
5
 unsigned char bc1[2] = { 0, 0xff };
6
  
7
-void
8
+int
9
 main(argc, argv)
10
 int argc;
11
 char *argv[];
(-)graphics/urt/files/patch-cnv__wasatchrle.c (+19 lines)
Line 0 Link Here
1
--- cnv/wasatchrle.c.orig	1992-01-21 03:33:32.000000000 +0900
2
+++ cnv/wasatchrle.c	2012-10-16 00:57:04.000000000 +0900
3
@@ -28,6 +28,7 @@
4
  */
5
 
6
 #include <stdio.h>
7
+#include <string.h>
8
 #include <ctype.h>
9
 #include <errno.h>
10
 #include "rle.h"
11
@@ -51,7 +52,7 @@
12
     rle_pixel count, data;
13
 } was_op;
14
 
15
-void
16
+int
17
 main(argc, argv)
18
 int argc;
19
 char **argv;
(-)graphics/urt/files/patch-cnv__xbmtorle.c (+19 lines)
Line 0 Link Here
1
--- cnv/xbmtorle.c.orig	1992-04-30 23:01:54.000000000 +0900
2
+++ cnv/xbmtorle.c	2012-10-16 01:02:29.000000000 +0900
3
@@ -29,6 +29,7 @@
4
 xbmtorle()				Tag the file.
5
 */
6
 
7
+#include <string.h>
8
 #include "rle.h"
9
 
10
 #define MAX_LINE 500
11
@@ -65,7 +66,7 @@
12
  * 	Reads the bitmap, then builds an RLE image with one pixel per
13
  * 	bit in the input.
14
  */
15
-void
16
+int
17
 main( argc, argv )
18
 int argc;
19
 char **argv;
(-)graphics/urt/files/patch-config::urt (-1 / +1 lines)
Lines 60-66 Link Here
60
-##define USE_STDARG	Use 'stdarg' instead of 'varargs' (ANSI).
60
-##define USE_STDARG	Use 'stdarg' instead of 'varargs' (ANSI).
61
-##define USE_STDLIB_H	You have "stdlib.h".
61
-##define USE_STDLIB_H	You have "stdlib.h".
62
-##define USE_UNISTD_H	You have "unistd.h".
62
-##define USE_UNISTD_H	You have "unistd.h".
63
+#define SYS_V_SETPGRP	Your system has the SysV setpgrp() call.
63
+##define SYS_V_SETPGRP	Your system has the SysV setpgrp() call.
64
+#define USE_L_FLAG	Use -Llibdir -lrle instead of libdir/liblre.a.
64
+#define USE_L_FLAG	Use -Llibdir -lrle instead of libdir/liblre.a.
65
+#define USE_PROTOTYPES	Declare library functions with ANSI-C prototypes.
65
+#define USE_PROTOTYPES	Declare library functions with ANSI-C prototypes.
66
+#define USE_RANDOM	Your libc has the BSD random() function.
66
+#define USE_RANDOM	Your libc has the BSD random() function.
(-)graphics/urt/files/patch-get__getx11__getx11.c (+11 lines)
Line 0 Link Here
1
--- get/getx11/getx11.c.orig	1995-01-11 06:16:18.000000000 +0900
2
+++ get/getx11/getx11.c	2012-10-13 07:08:08.000000000 +0900
3
@@ -218,7 +218,7 @@
4
  *	[None]
5
  */
6
 
7
-void
8
+int
9
 main (argc, argv)
10
 int		argc;
11
 char 		** argv;
(-)graphics/urt/files/patch-get__getx11__getx11.h (+12 lines)
Line 0 Link Here
1
--- get/getx11/getx11.h.orig	1994-05-14 10:09:37.000000000 +0900
2
+++ get/getx11/getx11.h	2012-10-15 22:14:16.000000000 +0900
3
@@ -27,6 +27,9 @@
4
  */
5
 
6
 #include <stdio.h>
7
+#include <string.h>
8
+#include <sys/types.h>
9
+#include <unistd.h>
10
 #include <math.h>
11
 #include <ctype.h>
12
 #include <X11/X.h>
(-)graphics/urt/files/patch-get__getx11__prototypes.h (+9 lines)
Line 0 Link Here
1
--- get/getx11/prototypes.h.orig	1993-01-12 06:56:21.000000000 +0900
2
+++ get/getx11/prototypes.h	2012-10-13 07:04:08.000000000 +0900
3
@@ -1,5 +1,5 @@
4
 extern void init_img_info(image_information *i);
5
-extern void main(int argc, char **argv);
6
+extern int main(int argc, char **argv);
7
 extern void handle_exposure(register image_information *img, int x, int y, int width, int height, int img_h);
8
 extern image_information *action_flip_forward(image_information *img, image_information *img_info, int flip_book_udelay, int n, unsigned long mask, XEvent *event, Boolean *found_event);
9
 extern image_information *action_flip_backward(image_information *img, image_information *img_info, int flip_book_udelay, int n, unsigned long mask, XEvent *event, Boolean *found_event);
(-)graphics/urt/files/patch-lib-rle_hdr.c (-3 / +11 lines)
Lines 1-6 Link Here
1
--- lib/rle_hdr.c.orig	Thu Nov 29 21:57:53 2007
1
--- lib/rle_hdr.c.orig	1992-06-27 05:44:20.000000000 +0900
2
+++ lib/rle_hdr.c	Thu Nov 29 21:59:23 2007
2
+++ lib/rle_hdr.c	2012-10-15 22:05:32.000000000 +0900
3
@@ -269,6 +269,8 @@
3
@@ -26,6 +26,7 @@
4
  */
5
 static char rcsid[] = "$Header: /tmp_mnt/n/itn/hendrix/u/spencer/RCS/rle_hdr.c,v 3.0.1.1 1992/04/30 14:08:07 spencer Exp spencer $";
6
 
7
+#include <string.h>
8
 #include "rle.h"
9
 
10
 /*****************************************************************
11
@@ -269,6 +270,8 @@
4
 {
12
 {
5
     rle_hdr *ret_hdr;
13
     rle_hdr *ret_hdr;
6
 
14
 
(-)graphics/urt/files/patch-lib-rle_open_f.c (-6 / +16 lines)
Lines 1-6 Link Here
1
--- lib/rle_open_f.c.orig	Thu May 13 16:28:51 1993
1
--- lib/rle_open_f.c.orig	1993-05-14 06:28:51.000000000 +0900
2
+++ lib/rle_open_f.c	Thu Nov 29 23:38:49 2007
2
+++ lib/rle_open_f.c	2012-10-15 22:07:34.000000000 +0900
3
@@ -56,6 +56,7 @@
3
@@ -10,6 +10,9 @@
4
 
5
 #include "rle_config.h"
6
 #include <stdio.h>
7
+#include <string.h>
8
+#include <sys/types.h>
9
+#include <unistd.h>
10
 
11
 #ifndef NO_OPEN_PIPES
12
 /* Need to have a SIGCLD signal catcher. */
13
@@ -56,6 +59,7 @@
4
     CONST_DECL char *err_str;
14
     CONST_DECL char *err_str;
5
     register char *cp;
15
     register char *cp;
6
     char *combuf;
16
     char *combuf;
Lines 8-14 Link Here
8
 
18
 
9
 #ifdef STDIO_NEEDS_BINARY
19
 #ifdef STDIO_NEEDS_BINARY
10
     char mode_string[32];	/* Should be enough. */
20
     char mode_string[32];	/* Should be enough. */
11
@@ -150,7 +151,8 @@
21
@@ -150,7 +154,8 @@
12
 	else if ( cp > file_name && *cp == '.' && *(cp + 1) == 'Z' )
22
 	else if ( cp > file_name && *cp == '.' && *(cp + 1) == 'Z' )
13
 	{
23
 	{
14
 	    int thepid;		/* PID from my_popen. */
24
 	    int thepid;		/* PID from my_popen. */
Lines 18-24 Link Here
18
 	    if ( combuf == NULL )
28
 	    if ( combuf == NULL )
19
 	    {
29
 	    {
20
 		err_str = "%s: out of memory opening (compressed) %s for %s";
30
 		err_str = "%s: out of memory opening (compressed) %s for %s";
21
@@ -158,11 +160,11 @@
31
@@ -158,11 +163,11 @@
22
 	    }
32
 	    }
23
 
33
 
24
 	    if ( *mode == 'w' )
34
 	    if ( *mode == 'w' )
Lines 33-39 Link Here
33
 
43
 
34
 	    fp = my_popen( combuf, mode, &thepid );
44
 	    fp = my_popen( combuf, mode, &thepid );
35
 	    free( combuf );
45
 	    free( combuf );
36
@@ -256,7 +258,6 @@
46
@@ -256,7 +261,6 @@
37
     int pipefd[2];
47
     int pipefd[2];
38
     int i;
48
     int i;
39
     char *argv[4];
49
     char *argv[4];
(-)graphics/urt/files/patch-lib::scanargs.c (-4 / +12 lines)
Lines 1-6 Link Here
1
--- lib/scanargs.c.orig	Thu Feb 27 16:18:15 1992
1
--- lib/scanargs.c.orig	1992-02-28 06:18:15.000000000 +0900
2
+++ lib/scanargs.c	Thu Nov 29 23:22:40 2007
2
+++ lib/scanargs.c	2012-10-15 22:09:52.000000000 +0900
3
@@ -128,10 +128,10 @@
3
@@ -42,6 +42,7 @@
4
 
5
 #include "rle_config.h"
6
 #include <stdio.h>
7
+#include <string.h>
8
 #include <ctype.h>
9
 #ifndef USE_STDARG
10
 #include <varargs.h>
11
@@ -128,10 +129,10 @@
4
 va_list argl;
12
 va_list argl;
5
 {
13
 {
6
 
14
 
Lines 13-19 Link Here
13
     int	    optarg = 0;			/* where optional args start */
21
     int	    optarg = 0;			/* where optional args start */
14
     int	    nopt = 0;
22
     int	    nopt = 0;
15
     char    tmpflg,			/* temp flag */
23
     char    tmpflg,			/* temp flag */
16
@@ -408,7 +408,8 @@
24
@@ -408,7 +409,8 @@
17
 				 * Copy the string so we remain nondestructive
25
 				 * Copy the string so we remain nondestructive
18
 				 */
26
 				 */
19
 				s = NEW( char, strlen(argp)+1 );
27
 				s = NEW( char, strlen(argp)+1 );
(-)graphics/urt/files/patch-lib__Runput.c (+12 lines)
Line 0 Link Here
1
--- lib/Runput.c.orig	1992-01-29 03:17:40.000000000 +0900
2
+++ lib/Runput.c	2012-10-15 21:59:43.000000000 +0900
3
@@ -90,7 +90,8 @@
4
  * 		    follow the last byte in the run.
5
  */
6
 
7
-#include	"stdio.h"
8
+#include	<stdio.h>
9
+#include	<string.h>
10
 #include	"rle_put.h"
11
 #include	"rle.h"
12
 #include	"rle_code.h"
(-)graphics/urt/files/patch-lib__rle_addhist.c (+10 lines)
Line 0 Link Here
1
--- lib/rle_addhist.c.orig	1992-04-30 23:07:45.000000000 +0900
2
+++ lib/rle_addhist.c	2012-10-15 22:01:16.000000000 +0900
3
@@ -27,6 +27,7 @@
4
 
5
 #include "rle.h"
6
 #include <stdio.h>
7
+#include <string.h>
8
 
9
 #ifdef	USE_TIME_H
10
 #include <time.h>
(-)graphics/urt/files/patch-lib__rle_error.c (+10 lines)
Line 0 Link Here
1
--- lib/rle_error.c.orig	1992-03-05 04:33:27.000000000 +0900
2
+++ lib/rle_error.c	2012-10-16 01:18:15.000000000 +0900
3
@@ -28,6 +28,7 @@
4
 static char rcs_id[] = "$Header: /l/spencer/src/urt/lib/RCS/rle_error.c,v 3.0.1.1 1992/03/04 19:33:27 spencer Exp $";
5
 #endif
6
 
7
+#include <string.h>
8
 #include "rle.h"
9
 
10
 /*****************************************************************
(-)graphics/urt/files/patch-tools-rleaddcom.c (-4 / +13 lines)
Lines 1-6 Link Here
1
--- tools/rleaddcom.c.orig	Thu Nov 29 16:12:38 2007
1
--- tools/rleaddcom.c.orig	1992-04-30 23:11:00.000000000 +0900
2
+++ tools/rleaddcom.c	Thu Nov 29 16:25:14 2007
2
+++ tools/rleaddcom.c	2012-10-16 01:10:13.000000000 +0900
3
@@ -60,7 +60,7 @@
3
@@ -26,6 +26,8 @@
4
  */
5
 
6
 #include <stdio.h>
7
+#include <string.h>
8
+#include <unistd.h>
9
 #include "rle.h"
10
 #include <sys/types.h>
11
 #include <sys/param.h>			/* for MAXPATHLEN */
12
@@ -60,7 +62,7 @@
4
  * Algorithm:
13
  * Algorithm:
5
  *	[None]
14
  *	[None]
6
  */
15
  */
Lines 9-15 Link Here
9
 main( argc, argv )
18
 main( argc, argv )
10
 int argc;
19
 int argc;
11
 char **argv;
20
 char **argv;
12
@@ -118,7 +118,7 @@
21
@@ -118,7 +120,7 @@
13
 	}
22
 	}
14
 	else
23
 	else
15
 	    strcpy( buf, temp );
24
 	    strcpy( buf, temp );
(-)graphics/urt/files/patch-tools-rlecat.c (-4 / +12 lines)
Lines 1-6 Link Here
1
--- tools/rlecat.c.orig	Thu Nov 29 16:39:51 2007
1
--- tools/rlecat.c.orig	1992-04-30 23:11:44.000000000 +0900
2
+++ tools/rlecat.c	Thu Nov 29 16:40:44 2007
2
+++ tools/rlecat.c	2012-10-16 00:43:29.000000000 +0900
3
@@ -62,7 +62,7 @@
3
@@ -15,6 +15,7 @@
4
 */
5
 
6
 #include <stdio.h>
7
+#include <unistd.h>
8
 #include "rle.h"
9
 #include "rle_raw.h"
10
 
11
@@ -62,7 +63,7 @@
4
  *  	repeat count.  If the collation flag (-c) is specified, then
12
  *  	repeat count.  If the collation flag (-c) is specified, then
5
  *  	all images will be read before starting to repeat.
13
  *  	all images will be read before starting to repeat.
6
  */
14
  */
Lines 9-15 Link Here
9
 main( argc, argv )
17
 main( argc, argv )
10
 int argc;
18
 int argc;
11
 char **argv;
19
 char **argv;
12
@@ -110,7 +110,7 @@
20
@@ -110,7 +111,7 @@
13
 	    nflag = 0;		/* Not really repeating! */
21
 	    nflag = 0;		/* Not really repeating! */
14
 	else
22
 	else
15
 	{
23
 	{
(-)graphics/urt/files/patch-tools::avg4.c (-4 / +8 lines)
Lines 1-6 Link Here
1
--- tools/avg4.c.orig	Thu Mar 10 20:47:48 2005
1
--- tools/avg4.c.orig	1992-04-30 23:08:43.000000000 +0900
2
+++ tools/avg4.c	Thu Mar 10 20:48:11 2005
2
+++ tools/avg4.c	2012-10-15 22:52:09.000000000 +0900
3
@@ -34,7 +34,7 @@
3
@@ -34,10 +34,10 @@
4
 #include <stdio.h>
4
 #include <stdio.h>
5
 #include "rle.h"
5
 #include "rle.h"
6
 
6
 
Lines 8-11 Link Here
8
+static int bit_count[16] = {0, 63, 63, 127, 63, 127, 127,
8
+static int bit_count[16] = {0, 63, 63, 127, 63, 127, 127,
9
     192, 63, 127, 127, 192, 127, 192, 192, 255};
9
     192, 63, 127, 127, 192, 127, 192, 192, 255};
10
 
10
 
11
 void
11
-void
12
+int
13
 main(argc, argv)
14
 int	argc;
15
 char	*argv[];
(-)graphics/urt/files/patch-tools::into.c (-4 / +13 lines)
Lines 1-6 Link Here
1
--- tools/into.c.orig	Thu Apr 30 09:10:15 1992
1
--- tools/into.c.orig	1992-04-30 23:10:15.000000000 +0900
2
+++ tools/into.c	Thu Nov 29 16:17:55 2007
2
+++ tools/into.c	2012-10-16 01:10:25.000000000 +0900
3
@@ -41,9 +41,12 @@
3
@@ -27,6 +27,8 @@
4
 
5
 #include "rle_config.h"
6
 #include <stdio.h>
7
+#include <string.h>
8
+#include <unistd.h>
9
 #include <errno.h>
10
 #include <sys/types.h>
11
 #include <sys/param.h>			/* for MAXPATHLEN */
12
@@ -41,9 +43,12 @@
4
 short forceflg;				/* overwrite an unwritable file? */
13
 short forceflg;				/* overwrite an unwritable file? */
5
 
14
 
6
 extern int errno;
15
 extern int errno;
Lines 14-20 Link Here
14
 main(argc, argv)
23
 main(argc, argv)
15
 int argc;
24
 int argc;
16
 char **argv;
25
 char **argv;
17
@@ -82,7 +85,7 @@
26
@@ -82,7 +87,7 @@
18
     }
27
     }
19
     else
28
     else
20
 	strcpy( buf, temp );
29
 	strcpy( buf, temp );
(-)graphics/urt/files/patch-tools::mcut.c (-2 / +11 lines)
Lines 1-5 Link Here
1
--- tools/mcut.c.orig	Thu Mar 10 20:54:44 2005
1
--- tools/mcut.c.orig	1992-01-24 01:24:41.000000000 +0900
2
+++ tools/mcut.c	Thu Mar 10 20:56:44 2005
2
+++ tools/mcut.c	2012-10-15 22:52:09.000000000 +0900
3
@@ -232,7 +232,7 @@
4
  * has a slot for a color map index, so the back pointer it followed
5
  * only once.
6
  */
7
-void
8
+int
9
 main ( argc, argv )
10
 int argc;
11
 char ** argv;
3
@@ -791,7 +791,7 @@
12
@@ -791,7 +791,7 @@
4
 		    TRACE( tmp_cb, cb_list )
13
 		    TRACE( tmp_cb, cb_list )
5
 		    {
14
 		    {
(-)graphics/urt/files/patch-tools::mergechan.c (-2 / +11 lines)
Lines 1-5 Link Here
1
--- tools/mergechan.c.orig	Thu Mar 10 20:58:34 2005
1
--- tools/mergechan.c.orig	1992-01-24 01:25:19.000000000 +0900
2
+++ tools/mergechan.c	Thu Mar 10 21:00:31 2005
2
+++ tools/mergechan.c	2012-10-15 23:22:24.000000000 +0900
3
@@ -19,7 +19,7 @@
4
 
5
 #define RLE_END 32768		/* This should be in rle.h */
6
 
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char ** argv;
3
@@ -79,7 +79,7 @@
12
@@ -79,7 +79,7 @@
4
 	    {
13
 	    {
5
 		fprintf( stderr,
14
 		fprintf( stderr,
(-)graphics/urt/files/patch-tools::rlegrid.c (-2 / +11 lines)
Lines 1-5 Link Here
1
--- tools/rlegrid.c.orig	Thu Mar 10 21:01:59 2005
1
--- tools/rlegrid.c.orig	1992-04-30 23:12:02.000000000 +0900
2
+++ tools/rlegrid.c	Thu Mar 10 21:03:02 2005
2
+++ tools/rlegrid.c	2012-10-15 22:55:35.000000000 +0900
3
@@ -51,7 +51,7 @@
4
  *	[None]
5
  * Algorithm:
6
  */
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
3
@@ -65,7 +65,7 @@
12
@@ -65,7 +65,7 @@
4
     rle_op **scanraw[2];	/* space for two raw scanline buffers */
13
     rle_op **scanraw[2];	/* space for two raw scanline buffers */
5
     rle_op *p, *q;
14
     rle_op *p, *q;
(-)graphics/urt/files/patch-tools::rlehdr.c (-3 / +20 lines)
Lines 1-6 Link Here
1
--- tools/rlehdr.c.orig	Thu Mar 10 21:04:49 2005
1
--- tools/rlehdr.c.orig	1992-04-30 23:12:10.000000000 +0900
2
+++ tools/rlehdr.c	Thu Mar 10 21:13:14 2005
2
+++ tools/rlehdr.c	2012-10-16 01:10:34.000000000 +0900
3
@@ -289,7 +289,7 @@
3
@@ -32,6 +32,7 @@
4
 */
5
 
6
 #include <stdio.h>
7
+#include <string.h>
8
 #include "rle.h"
9
 #include "../patchlevel.h"
10
 
11
@@ -65,7 +66,7 @@
12
  *	[None]
13
  */
14
 
15
-void
16
+int
17
 main( argc, argv )
18
 int argc;
19
 char **argv;
20
@@ -289,7 +290,7 @@
4
 		{
21
 		{
5
 		    if ( (cp = index( the_comment, '\n' )) )
22
 		    if ( (cp = index( the_comment, '\n' )) )
6
 			printf( ", %s=%.*s", *comment_names,
23
 			printf( ", %s=%.*s", *comment_names,
(-)graphics/urt/files/patch-tools::rleinterp.c (-3 / +11 lines)
Lines 1-6 Link Here
1
--- tools/rleinterp.c.orig	Thu Mar 10 21:14:52 2005
1
--- tools/rleinterp.c.orig	1992-04-30 23:12:20.000000000 +0900
2
+++ tools/rleinterp.c	Thu Mar 10 21:15:40 2005
2
+++ tools/rleinterp.c	2012-10-15 22:56:39.000000000 +0900
3
@@ -48,8 +48,8 @@
3
@@ -38,6 +38,7 @@
4
 extern char *optarg;
5
 extern int optind;
6
 
7
+int
8
 main( argc, argv )
9
 int argc;
10
 char **argv;
11
@@ -48,8 +49,8 @@
4
 		nom_sortie[BUFSIZ],
12
 		nom_sortie[BUFSIZ],
5
     		extension[80] ,
13
     		extension[80] ,
6
     	       *basenom, *rep ;
14
     	       *basenom, *rep ;
(-)graphics/urt/files/patch-tools::rlepatch.c (-2 / +11 lines)
Lines 1-5 Link Here
1
--- tools/rlepatch.c.orig	Thu Mar 10 21:17:33 2005
1
--- tools/rlepatch.c.orig	1992-01-24 03:33:19.000000000 +0900
2
+++ tools/rlepatch.c	Thu Mar 10 21:18:56 2005
2
+++ tools/rlepatch.c	2012-10-15 22:58:01.000000000 +0900
3
@@ -33,7 +33,7 @@
4
 
5
 #define IN_WINDOW(y,wind) ((y >= wind.ymin) && (y <= wind.ymax))
6
 
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
3
@@ -46,7 +46,7 @@
12
@@ -46,7 +46,7 @@
4
     rle_pixel ** im_rows, **patch_rows, ** outrows;
13
     rle_pixel ** im_rows, **patch_rows, ** outrows;
5
     int stdin_used = 0;
14
     int stdin_used = 0;
(-)graphics/urt/files/patch-tools__applymap.c (+11 lines)
Line 0 Link Here
1
--- tools/applymap.c.orig	1995-05-03 01:51:29.000000000 +0900
2
+++ tools/applymap.c	2012-10-15 22:52:09.000000000 +0900
3
@@ -62,7 +62,7 @@
4
  * Algorithm:
5
  *	[None]
6
  */
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-tools__clock__rleClock.c (+37 lines)
Line 0 Link Here
1
--- tools/clock/rleClock.c.orig	1992-04-30 23:19:39.000000000 +0900
2
+++ tools/clock/rleClock.c	2012-10-16 00:38:03.000000000 +0900
3
@@ -33,6 +33,7 @@
4
 */
5
 
6
 #include <stdio.h>
7
+#include <string.h>
8
 #include <math.h>
9
 #include <ctype.h>
10
 #include "rle.h"
11
@@ -133,7 +134,7 @@
12
  */
13
 
14
 #ifdef USE_PROTOTYPES
15
-void main(int argc, char *argv[]);
16
+int main(int argc, char *argv[]);
17
 void ifImageSet(int i, int j, int value, color_t *color);
18
 void drawHand(double place, double scale, double radius, int mask, int edge);
19
 void rasterAddBits(int mask, int match, int value);
20
@@ -156,7 +157,7 @@
21
 void stackPush(int x, int y, int dir);
22
 int stackPop(void);
23
 #else
24
-void main();
25
+int main();
26
 void ifImageSet();
27
 void drawHand();
28
 void rasterAddBits();
29
@@ -181,7 +182,7 @@
30
 #endif
31
 char **gargv;
32
 
33
-void
34
+int
35
 main (argc, argv)
36
 int	argc;
37
 char	*argv[];
(-)graphics/urt/files/patch-tools__crop.c (+11 lines)
Line 0 Link Here
1
--- tools/crop.c.orig	1992-04-30 23:09:41.000000000 +0900
2
+++ tools/crop.c	2012-10-15 22:52:09.000000000 +0900
3
@@ -35,7 +35,7 @@
4
 extern void rle_box();
5
 int pos_box_vals();
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int	argc;
11
 char	*argv[];
(-)graphics/urt/files/patch-tools__fant.c (+11 lines)
Line 0 Link Here
1
--- tools/fant.c.orig	1992-04-30 23:09:59.000000000 +0900
2
+++ tools/fant.c	2012-10-15 22:52:09.000000000 +0900
3
@@ -116,7 +116,7 @@
4
 void getraster(), xform_image(), putraster(), clear_raster(), xform_points();
5
 
6
 
7
-void
8
+int
9
 main(argc,argv)
10
 int argc;
11
 char *argv[];
(-)graphics/urt/files/patch-tools__mallocNd.c (+11 lines)
Line 0 Link Here
1
--- tools/mallocNd.c.orig	1992-04-30 23:10:24.000000000 +0900
2
+++ tools/mallocNd.c	2012-10-16 00:32:49.000000000 +0900
3
@@ -67,7 +67,7 @@
4
 
5
 /* Imports */
6
 #include <stdio.h>
7
-extern char *malloc();
8
+#include <stdlib.h>
9
 
10
 /* Forward declarations */
11
 char *BuildIndirectionTable();
(-)graphics/urt/files/patch-tools__pyrmask.c (+11 lines)
Line 0 Link Here
1
--- tools/pyrmask.c.orig	1992-01-24 01:26:23.000000000 +0900
2
+++ tools/pyrmask.c	2012-10-15 22:52:09.000000000 +0900
3
@@ -20,7 +20,7 @@
4
 void alloc_pyramid(), copy_mask_bands(), rebuild_image(), dump_pyramid();
5
 void copy_half_bands();
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int  argc;
11
 char *argv[];
(-)graphics/urt/files/patch-tools__repos.c (+11 lines)
Line 0 Link Here
1
--- tools/repos.c.orig	1992-01-24 01:26:40.000000000 +0900
2
+++ tools/repos.c	2012-10-15 22:52:09.000000000 +0900
3
@@ -34,7 +34,7 @@
4
 
5
 char buffer[4096];
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int	argc;
11
 char	*argv[];
(-)graphics/urt/files/patch-tools__rlebg.c (+11 lines)
Line 0 Link Here
1
--- tools/rlebg.c.orig	1992-04-30 23:11:09.000000000 +0900
2
+++ tools/rlebg.c	2012-10-15 22:52:09.000000000 +0900
3
@@ -29,7 +29,7 @@
4
 #include "rle.h"
5
 #include "rle_raw.h"
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int	argc;
11
 char	*argv[];
(-)graphics/urt/files/patch-tools__rlebox.c (+11 lines)
Line 0 Link Here
1
--- tools/rlebox.c.orig	1992-04-30 23:11:25.000000000 +0900
2
+++ tools/rlebox.c	2012-10-15 22:52:09.000000000 +0900
3
@@ -40,7 +40,7 @@
4
  * 	Read the image file and find the smallest and largest X and Y
5
  *	coordinates of real image data.  Use raw interface for speed.
6
  */
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-tools__rleccube.c (+11 lines)
Line 0 Link Here
1
--- tools/rleccube.c.orig	1992-04-30 23:11:54.000000000 +0900
2
+++ tools/rleccube.c	2012-10-15 22:52:09.000000000 +0900
3
@@ -66,7 +66,7 @@
4
  * Algorithm:
5
  * 	Pretty simple.
6
  */
7
-void
8
+int
9
 main( argc, argv)
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-tools__rlecomp.c (+19 lines)
Line 0 Link Here
1
--- tools/rlecomp.c.orig	1992-07-15 05:33:31.000000000 +0900
2
+++ tools/rlecomp.c	2012-10-15 22:52:09.000000000 +0900
3
@@ -30,6 +30,7 @@
4
  */
5
 
6
 #include <stdio.h>
7
+#include <string.h>
8
 #include "rle.h"
9
 #include "rle_raw.h"
10
 
11
@@ -63,7 +64,7 @@
12
 int * Anraw, *Bnraw;
13
 rle_pixel * non_zero_pixels;
14
 
15
-void
16
+int
17
 main(argc, argv)
18
 int	argc;
19
 char	*argv[];
(-)graphics/urt/files/patch-tools__rledither.c (+11 lines)
Line 0 Link Here
1
--- tools/rledither.c.orig	1992-01-24 01:42:22.000000000 +0900
2
+++ tools/rledither.c	2012-10-15 22:52:09.000000000 +0900
3
@@ -47,7 +47,7 @@
4
 
5
 char *progname;
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int	argc;
11
 char	*argv[];
(-)graphics/urt/files/patch-tools__rleflip.c (+11 lines)
Line 0 Link Here
1
--- tools/rleflip.c.orig	1992-01-24 01:45:49.000000000 +0900
2
+++ tools/rleflip.c	2012-10-15 22:53:02.000000000 +0900
3
@@ -44,7 +44,7 @@
4
 #define LEFT_FLAG  0x04
5
 #define RIGHT_FLAG 0x08
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int  argc;
11
 char *argv[];
(-)graphics/urt/files/patch-tools__rlehisto.c (+11 lines)
Line 0 Link Here
1
--- tools/rlehisto.c.orig	1992-02-12 06:36:14.000000000 +0900
2
+++ tools/rlehisto.c	2012-10-15 22:56:16.000000000 +0900
3
@@ -30,7 +30,7 @@
4
 
5
 #define MAXCHAN 10
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int	argc;
11
 char	*argv[];
(-)graphics/urt/files/patch-tools__rleldmap.c (+11 lines)
Line 0 Link Here
1
--- tools/rleldmap.c.orig	1992-08-06 23:11:41.000000000 +0900
2
+++ tools/rleldmap.c	2012-10-15 22:57:06.000000000 +0900
3
@@ -135,7 +135,7 @@
4
  *	the input file to the output file.  If stdin is empty (no input at
5
  *	all, an output RLE file with just a color map will be generated).
6
  */
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-tools__rlemandl.c (+11 lines)
Line 0 Link Here
1
--- tools/rlemandl.c.orig	1992-01-24 03:31:20.000000000 +0900
2
+++ tools/rlemandl.c	2012-10-15 22:57:29.000000000 +0900
3
@@ -12,7 +12,7 @@
4
 #include <math.h>
5
 #include "rle.h"
6
 
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-tools__rlenoise.c (+19 lines)
Line 0 Link Here
1
--- tools/rlenoise.c.orig	1992-01-24 03:31:37.000000000 +0900
2
+++ tools/rlenoise.c	2012-10-16 00:48:26.000000000 +0900
3
@@ -20,6 +20,7 @@
4
  */
5
 
6
 #include <stdio.h>
7
+#include <time.h>
8
 #include "rle.h"
9
 
10
 /* Change this according the value on your system.  This is a crock. */
11
@@ -27,7 +28,7 @@
12
 
13
 #define MALLOC_ERR RLE_CHECK_ALLOC( cmd_name( argv ), 0, 0 )
14
 
15
-void
16
+int
17
 main( argc, argv )
18
 int argc;
19
 char ** argv;
(-)graphics/urt/files/patch-tools__rleprint.c (+11 lines)
Line 0 Link Here
1
--- tools/rleprint.c.orig	1992-08-06 06:39:52.000000000 +0900
2
+++ tools/rleprint.c	2012-10-15 22:58:20.000000000 +0900
3
@@ -31,7 +31,7 @@
4
 
5
 #define MALLOC_ERR RLE_CHECK_ALLOC( cmd_name( argv ), 0, 0 )
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int	argc;
11
 char	*argv[];
(-)graphics/urt/files/patch-tools__rlequant.c (+11 lines)
Line 0 Link Here
1
--- tools/rlequant.c.orig	1993-11-20 04:13:48.000000000 +0900
2
+++ tools/rlequant.c	2012-10-15 22:58:46.000000000 +0900
3
@@ -136,7 +136,7 @@
4
  * 	images.  Because of this, the input cannot be coming from a
5
  * 	pipe.
6
  */
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-tools__rlescale.c (+11 lines)
Line 0 Link Here
1
--- tools/rlescale.c.orig	1992-01-24 05:37:33.000000000 +0900
2
+++ tools/rlescale.c	2012-10-15 22:59:09.000000000 +0900
3
@@ -22,7 +22,7 @@
4
 #include "rle_raw.h"
5
 #include <math.h>
6
 
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char ** argv;
(-)graphics/urt/files/patch-tools__rleselect.c (+11 lines)
Line 0 Link Here
1
--- tools/rleselect.c.orig	1992-04-30 23:13:32.000000000 +0900
2
+++ tools/rleselect.c	2012-10-15 22:59:31.000000000 +0900
3
@@ -78,7 +78,7 @@
4
  * 	specially.)  Read images, skipping if they are not in the
5
  * 	list, and copying if they are.
6
  */
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-tools__rlesetbg.c (+11 lines)
Line 0 Link Here
1
--- tools/rlesetbg.c.orig	1992-01-24 05:44:33.000000000 +0900
2
+++ tools/rlesetbg.c	2012-10-15 22:59:51.000000000 +0900
3
@@ -34,7 +34,7 @@
4
 
5
 char buffer[4096];
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int	argc;
11
 char	*argv[];
(-)graphics/urt/files/patch-tools__rleskel.c (+10 lines)
Line 0 Link Here
1
--- tools/rleskel.c.orig	1992-01-24 05:45:50.000000000 +0900
2
+++ tools/rleskel.c	2012-10-15 23:00:23.000000000 +0900
3
@@ -51,6 +51,7 @@
4
  * 	Repeatedly read from the input until the file EOF or an
5
  * 	error is encountered.
6
  */
7
+int
8
 main( argc, argv )
9
 int argc;
10
 char **argv;
(-)graphics/urt/files/patch-tools__rlesortmap.c (+11 lines)
Line 0 Link Here
1
--- tools/rlesortmap.c.orig	1992-02-12 06:37:12.000000000 +0900
2
+++ tools/rlesortmap.c	2012-10-15 23:00:51.000000000 +0900
3
@@ -42,7 +42,7 @@
4
  * 	sense for pseudo-color input files, but the program will work
5
  * 	on any input file.
6
  */
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-tools__rlespiff.c (+11 lines)
Line 0 Link Here
1
--- tools/rlespiff.c.orig	1992-04-30 23:13:47.000000000 +0900
2
+++ tools/rlespiff.c	2012-10-15 23:01:13.000000000 +0900
3
@@ -56,7 +56,7 @@
4
  * 	Then "rerun" the input, mapping the pixel values and writing
5
  * 	them to the output file.
6
  */
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-tools__rlesplice.c (+11 lines)
Line 0 Link Here
1
--- tools/rlesplice.c.orig	1992-01-24 05:47:46.000000000 +0900
2
+++ tools/rlesplice.c	2012-10-16 00:20:54.000000000 +0900
3
@@ -77,7 +77,7 @@
4
     }
5
 }
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int	argc;
11
 char	*argv[];
(-)graphics/urt/files/patch-tools__rlesplit.c (+19 lines)
Line 0 Link Here
1
--- tools/rlesplit.c.orig	1992-11-10 05:33:51.000000000 +0900
2
+++ tools/rlesplit.c	2012-10-16 00:51:06.000000000 +0900
3
@@ -15,6 +15,7 @@
4
 */
5
 
6
 #include <stdio.h>
7
+#include <string.h>
8
 #include "rle.h"
9
 #include "rle_raw.h"
10
 
11
@@ -56,7 +57,7 @@
12
  *	[None]
13
  */
14
 
15
-void
16
+int
17
 main( argc, argv )
18
 int argc;
19
 char **argv;
(-)graphics/urt/files/patch-tools__rlestereo.c (+11 lines)
Line 0 Link Here
1
--- tools/rlestereo.c.orig	1992-04-30 23:14:08.000000000 +0900
2
+++ tools/rlestereo.c	2012-10-15 23:02:05.000000000 +0900
3
@@ -79,7 +79,7 @@
4
  *	-r scale	Scale factor for right-eye image (default 1.0).
5
  */
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-tools__rleswap.c (+11 lines)
Line 0 Link Here
1
--- tools/rleswap.c.orig	1992-07-06 13:50:59.000000000 +0900
2
+++ tools/rleswap.c	2012-10-15 23:02:27.000000000 +0900
3
@@ -99,7 +99,7 @@
4
  * Algorithm:
5
  *	[None]
6
  */
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-tools__rlezoom.c (+11 lines)
Line 0 Link Here
1
--- tools/rlezoom.c.orig	1992-01-24 05:56:16.000000000 +0900
2
+++ tools/rlezoom.c	2012-10-15 23:02:47.000000000 +0900
3
@@ -61,7 +61,7 @@
4
  *      into runs.  Write each line a number of times equal to the Y
5
  *      factor. 
6
  */
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-tools__smush.c (+11 lines)
Line 0 Link Here
1
--- tools/smush.c.orig	1992-01-24 05:56:39.000000000 +0900
2
+++ tools/smush.c	2012-10-15 23:03:11.000000000 +0900
3
@@ -18,7 +18,7 @@
4
 
5
 char *progname;
6
 
7
-void
8
+int
9
 main(argc, argv)
10
 int  argc;
11
 char *argv[];
(-)graphics/urt/files/patch-tools__to8.c (+11 lines)
Line 0 Link Here
1
--- tools/to8.c.orig	1994-01-20 00:35:24.000000000 +0900
2
+++ tools/to8.c	2012-10-15 23:03:35.000000000 +0900
3
@@ -73,7 +73,7 @@
4
  *	[None]
5
  */
6
 
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-tools__tobw.c (+11 lines)
Line 0 Link Here
1
--- tools/tobw.c.orig	1995-04-15 06:55:37.000000000 +0900
2
+++ tools/tobw.c	2012-10-15 23:03:56.000000000 +0900
3
@@ -64,7 +64,7 @@
4
  * Algorithm:
5
  *	[None]
6
  */
7
-void
8
+int
9
 main( argc, argv )
10
 int argc;
11
 char **argv;
(-)graphics/urt/files/patch-tools__unexp.c (+11 lines)
Line 0 Link Here
1
--- tools/unexp.c.orig	1992-01-24 05:58:37.000000000 +0900
2
+++ tools/unexp.c	2012-10-15 23:04:14.000000000 +0900
3
@@ -24,7 +24,7 @@
4
 rle_hdr in_hdr, out_hdr;
5
 rle_pixel r_in, g_in, b_in;
6
 
7
-void
8
+int
9
 main(argc,argv)
10
 int argc;
11
 char *argv[];
(-)graphics/urt/files/patch-tools__unslice.c (+11 lines)
Line 0 Link Here
1
--- tools/unslice.c.orig	1992-04-30 23:14:55.000000000 +0900
2
+++ tools/unslice.c	2012-10-15 23:04:35.000000000 +0900
3
@@ -51,7 +51,7 @@
4
 char *progname;
5
 char **gargv;
6
 
7
-void
8
+int
9
 main (argc, argv)
10
 int argc;
11
 char **argv;
(-)graphics/urt/pkg-plist (-8 / +8 lines)
Lines 93-105 Link Here
93
%%PORTDOCS%%%%DOCSDIR%%/toolkit.doc
93
%%PORTDOCS%%%%DOCSDIR%%/toolkit.doc
94
%%PORTDOCS%%%%DOCSDIR%%/toolkit.mss
94
%%PORTDOCS%%%%DOCSDIR%%/toolkit.mss
95
%%PORTDOCS%%%%DOCSDIR%%/toolkit.ps
95
%%PORTDOCS%%%%DOCSDIR%%/toolkit.ps
96
%%PORTDOCS%%%%EXAMPLESDIR%%/img/README
96
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/img/README
97
%%PORTDOCS%%%%EXAMPLESDIR%%/img/christmas_ball.rle
97
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/img/christmas_ball.rle
98
%%PORTDOCS%%%%EXAMPLESDIR%%/img/dart.rle
98
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/img/dart.rle
99
%%PORTDOCS%%%%EXAMPLESDIR%%/img/lenna.rle
99
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/img/lenna.rle
100
%%PORTDOCS%%%%EXAMPLESDIR%%/img/mandrill.rle
100
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/img/mandrill.rle
101
%%PORTDOCS%%%%EXAMPLESDIR%%/img/tack_w_shadow.rle
101
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/img/tack_w_shadow.rle
102
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/img
103
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
102
%%PORTDOCS%%@dirrm %%DOCSDIR%%/pics
104
%%PORTDOCS%%@dirrm %%DOCSDIR%%/pics
103
%%PORTDOCS%%@dirrm %%DOCSDIR%%
105
%%PORTDOCS%%@dirrm %%DOCSDIR%%
104
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/img
105
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%

Return to bug 172717