freebsd-ports/graphics/urt/files/patch-tools-rleaddcom.c
Pav Lucistnik c42f3b8f1c - Fix for gif2rle (from BRLCAD)
- misc. fixes from the SGI port
- some other warning cleanups and remove a check that was not serving any purpose

PR:		ports/118344
Submitted by:	Pedro F. Giffuni <giffunip@tutopia.com>
2007-12-15 19:53:24 +00:00

20 lines
398 B
C

--- tools/rleaddcom.c.orig Thu Nov 29 16:12:38 2007
+++ tools/rleaddcom.c Thu Nov 29 16:25:14 2007
@@ -60,7 +60,7 @@
* Algorithm:
* [None]
*/
-void
+int
main( argc, argv )
int argc;
char **argv;
@@ -118,7 +118,7 @@
}
else
strcpy( buf, temp );
- mktemp( buf );
+ mkstemp( buf );
#ifndef NO_OPEN_PIPES
/* Compressed file special case. */
cp = i_fname + strlen( i_fname ) - 2;