summaryrefslogtreecommitdiff
path: root/graphics/urt/files/patch-tools-rleaddcom.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-12-15 19:53:24 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-12-15 19:53:24 +0000
commitc42f3b8f1cbe80e8668a2406c0135a365f5d4d35 (patch)
tree23c1931d94f79c1006d1d77cee31bbf09f4931c5 /graphics/urt/files/patch-tools-rleaddcom.c
parentFix PTHREAD_LIBS handling in avahi-qt4. (diff)
- 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>
Notes
Notes: svn path=/head/; revision=203783
Diffstat (limited to 'graphics/urt/files/patch-tools-rleaddcom.c')
-rw-r--r--graphics/urt/files/patch-tools-rleaddcom.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/urt/files/patch-tools-rleaddcom.c b/graphics/urt/files/patch-tools-rleaddcom.c
new file mode 100644
index 000000000000..8421d7f718ae
--- /dev/null
+++ b/graphics/urt/files/patch-tools-rleaddcom.c
@@ -0,0 +1,20 @@
+--- 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;