diff options
Diffstat (limited to 'graphics/urt/files/patch-tools__rlehdr.c')
-rw-r--r-- | graphics/urt/files/patch-tools__rlehdr.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/graphics/urt/files/patch-tools__rlehdr.c b/graphics/urt/files/patch-tools__rlehdr.c new file mode 100644 index 000000000000..112055bcd8f5 --- /dev/null +++ b/graphics/urt/files/patch-tools__rlehdr.c @@ -0,0 +1,28 @@ +--- tools/rlehdr.c.orig 1992-04-30 23:12:10.000000000 +0900 ++++ tools/rlehdr.c 2012-10-16 01:10:34.000000000 +0900 +@@ -32,6 +32,7 @@ + */ + + #include <stdio.h> ++#include <string.h> + #include "rle.h" + #include "../patchlevel.h" + +@@ -65,7 +66,7 @@ + * [None] + */ + +-void ++int + main( argc, argv ) + int argc; + char **argv; +@@ -289,7 +290,7 @@ + { + if ( (cp = index( the_comment, '\n' )) ) + printf( ", %s=%.*s", *comment_names, +- cp - the_comment - 1, the_comment ); ++ *comment_names,cp - the_comment - 1, the_comment ); + else + printf( ", %s=%s", *comment_names, the_comment ); + break; |