diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
commit | 08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch) | |
tree | 0cfc4f0736babb895eb97a65c6defe632a0249c7 /graphics/urt/files/patch-tools__mcut.c | |
parent | editors/fte: update to 20110708 (diff) |
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Notes
Notes:
svn path=/head/; revision=363362
Diffstat (limited to 'graphics/urt/files/patch-tools__mcut.c')
-rw-r--r-- | graphics/urt/files/patch-tools__mcut.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/graphics/urt/files/patch-tools__mcut.c b/graphics/urt/files/patch-tools__mcut.c new file mode 100644 index 000000000000..b7268b3145d4 --- /dev/null +++ b/graphics/urt/files/patch-tools__mcut.c @@ -0,0 +1,29 @@ +--- tools/mcut.c.orig 1992-01-24 01:24:41.000000000 +0900 ++++ tools/mcut.c 2012-10-15 22:52:09.000000000 +0900 +@@ -232,7 +232,7 @@ + * has a slot for a color map index, so the back pointer it followed + * only once. + */ +-void ++int + main ( argc, argv ) + int argc; + char ** argv; +@@ -791,7 +791,7 @@ + TRACE( tmp_cb, cb_list ) + { + register color_t *newcol = &tmp_cb->color; +- register newdist = DISTANCE( ref_col, *newcol ); ++ register int newdist = DISTANCE( ref_col, *newcol ); + + if ( newdist < dist ) + { +@@ -963,7 +963,7 @@ + cmp_radices ( h1, h2 ) + histogram_t **h1, **h2; + { +- register c1 = -1, c2 = -1; ++ register int c1 = -1, c2 = -1; + + if ( *h1 ) + c1 = (*h1)->color & mask; |