diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-12-18 03:49:07 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-12-18 03:49:07 +0000 |
commit | d075a3f380260920bd34e5f750d593afe49ba4bd (patch) | |
tree | a684d4e7920832228845ad1ca97e67b84af90660 /security/lsh/files/patch-argp-help.c | |
parent | Fix build on 64-bit platforms: sizeof() returns size_t. (diff) |
- Fix some of the build problems on CURRENT, not all.
- make PREFIX aware
- mark BROKEN for conflicts with getopt.h
- take maintainership
Notes
Notes:
svn path=/head/; revision=71695
Diffstat (limited to 'security/lsh/files/patch-argp-help.c')
-rw-r--r-- | security/lsh/files/patch-argp-help.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/security/lsh/files/patch-argp-help.c b/security/lsh/files/patch-argp-help.c new file mode 100644 index 000000000000..ea25b96b774f --- /dev/null +++ b/security/lsh/files/patch-argp-help.c @@ -0,0 +1,21 @@ +--- src/argp/argp-help.c.orig Wed Feb 2 15:14:31 2000 ++++ src/argp/argp-help.c Tue Dec 17 13:08:02 2002 +@@ -56,7 +56,9 @@ + #include <string.h> + #include <assert.h> + #include <stdarg.h> ++#ifndef __FreeBSD__ + #include <malloc.h> ++#endif + #include <ctype.h> + + #ifndef _ +@@ -182,7 +184,7 @@ + { "header-col", 0, offsetof (struct uparams, header_col) }, + { "usage-indent", 0, offsetof (struct uparams, usage_indent) }, + { "rmargin", 0, offsetof (struct uparams, rmargin) }, +- { 0 } ++ { 0, 0, 0 } + }; + + /* Read user options from the environment, and fill in UPARAMS appropiately. */ |