diff options
author | maho <maho@FreeBSD.org> | 2005-02-01 15:07:06 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2005-02-01 15:07:06 +0800 |
commit | 78806d2f23f02eda8fba736cd81aea1c34dce657 (patch) | |
tree | 2b1a33518bbac67cac038ed7da08c3bc4be3018d /graphics/urt | |
parent | d6aee03d48b6a4da8ff22d013904c1e6f755d8a3 (diff) | |
download | freebsd-ports-gnome-78806d2f23f02eda8fba736cd81aea1c34dce657.tar.gz freebsd-ports-gnome-78806d2f23f02eda8fba736cd81aea1c34dce657.tar.zst freebsd-ports-gnome-78806d2f23f02eda8fba736cd81aea1c34dce657.zip |
Fix a rare case problem (sometimes dumps core)
Submitted by: "Pedro F. Giffuni" <giffunip@yahoo.com>
Diffstat (limited to 'graphics/urt')
-rw-r--r-- | graphics/urt/files/patch-lib::rle_global.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/urt/files/patch-lib::rle_global.c b/graphics/urt/files/patch-lib::rle_global.c index 2f1f4a47fd8e..175e746418eb 100644 --- a/graphics/urt/files/patch-lib::rle_global.c +++ b/graphics/urt/files/patch-lib::rle_global.c @@ -1,13 +1,11 @@ ---- lib/rle_global.c.orig Wed Jan 29 03:23:03 1992 -+++ lib/rle_global.c Fri Dec 27 23:20:42 2002 -@@ -76,8 +76,10 @@ +--- lib/rle_global.c.orig Tue Jan 28 18:23:03 1992 ++++ lib/rle_global.c Sun Jan 30 15:19:36 2005 +@@ -76,7 +76,7 @@ 8, /* cmaplen (log2 of length of color map) */ NULL, /* pointer to color map */ NULL, /* pointer to comment strings */ -+#if 0 - stdout, /* output file */ +- stdout, /* output file */ ++ 0, /* stdout, output file */ { 7 }, /* RGB channels only */ -+#endif 0L, /* Can't free name and file fields. */ "Urt", /* Default "program name". */ - "no file", /* No file name given. */ |