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__into.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__into.c')
-rw-r--r-- | graphics/urt/files/patch-tools__into.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/graphics/urt/files/patch-tools__into.c b/graphics/urt/files/patch-tools__into.c new file mode 100644 index 000000000000..8440ec8aa256 --- /dev/null +++ b/graphics/urt/files/patch-tools__into.c @@ -0,0 +1,34 @@ +--- tools/into.c.orig 1992-04-30 23:10:15.000000000 +0900 ++++ tools/into.c 2012-10-16 01:10:25.000000000 +0900 +@@ -27,6 +27,8 @@ + + #include "rle_config.h" + #include <stdio.h> ++#include <string.h> ++#include <unistd.h> + #include <errno.h> + #include <sys/types.h> + #include <sys/param.h> /* for MAXPATHLEN */ +@@ -41,9 +43,12 @@ + short forceflg; /* overwrite an unwritable file? */ + + extern int errno; ++ ++#ifndef BSD + extern char *sys_errlist[]; ++#endif + +-void ++int + main(argc, argv) + int argc; + char **argv; +@@ -82,7 +87,7 @@ + } + else + strcpy( buf, temp ); +- mktemp( buf ); ++ mkstemp( buf ); + + if ( (outf = fopen( buf, "w" )) == NULL ) + { |