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__rlehdr.c | |
| parent | f474a16cfbfad1844b9c50e45e36a3a77f0c59b5 (diff) | |
Rename all patches that contain '::' as a path separator, and use
'__' instead.
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; |
