diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-11-18 21:55:54 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-11-18 21:55:54 +0000 |
commit | 55c51d42ec510f1909bfa9fbc272ef53a332812b (patch) | |
tree | 12bb5b155b55637d2ca1021789a163a228382255 /cad/ldraw/files/patch-mklist__mklist.c | |
parent | - I forgot to update the distfile to the new one (diff) |
- Add USE_DOS2UNIX
- Use mklist1_6 instead of mklist1_4
- Support STAGEDIR
- Add patch, fix typo
Approved by: pawel / wg (mentors, implicit)
Diffstat (limited to 'cad/ldraw/files/patch-mklist__mklist.c')
-rw-r--r-- | cad/ldraw/files/patch-mklist__mklist.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cad/ldraw/files/patch-mklist__mklist.c b/cad/ldraw/files/patch-mklist__mklist.c new file mode 100644 index 000000000000..2bf6bd7a445f --- /dev/null +++ b/cad/ldraw/files/patch-mklist__mklist.c @@ -0,0 +1,22 @@ +--- ./mklist/mklist.c.orig 2013-11-15 20:23:32.000000000 +0100 ++++ ./mklist/mklist.c 2013-11-15 20:25:12.000000000 +0100 +@@ -53,8 +53,8 @@ + /*****************************************************************/ + /* Filename length compatibility stuff */ + /*****************************************************************/ +-#ifndef _MAX_PATH +-#define _MAX_PATH 256 ++#ifndef MAX_PATH ++#define MAX_PATH 256 + #endif + char shortfilepath[MAX_PATH]; + char shortfilename[MAX_PATH]; +@@ -84,7 +84,7 @@ + int GetShortPathName(char *longpath, char * shortpath, int psize) + { + strncpy(shortpath, longpath, psize); +- return(strlen(shortpath); ++ return(strlen(shortpath)); + } + #endif + |