diff options
author | Bryan D. Green <bgreen@vis06.nas.nasa.gov> | 2010-01-07 13:02:14 -0800 |
---|---|---|
committer | Bryan D. Green <bgreen@vis06.nas.nasa.gov> | 2010-01-07 13:02:14 -0800 |
commit | 494b99eacc9fd614b6b7ede472a59b93470dfe67 (patch) | |
tree | ce015ebcf122d1b4c6e5e979a4ab827730e439e3 /net-ftp/bbftp-server/files | |
parent | Add mpi.eclass enabled sci-libs/hdf5 (diff) | |
download | sci-494b99eacc9fd614b6b7ede472a59b93470dfe67.tar.gz sci-494b99eacc9fd614b6b7ede472a59b93470dfe67.tar.bz2 sci-494b99eacc9fd614b6b7ede472a59b93470dfe67.zip |
added patch to fix missing definitions
Diffstat (limited to 'net-ftp/bbftp-server/files')
-rw-r--r-- | net-ftp/bbftp-server/files/3.2.0-deffixes.patch | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/net-ftp/bbftp-server/files/3.2.0-deffixes.patch b/net-ftp/bbftp-server/files/3.2.0-deffixes.patch new file mode 100644 index 000000000..ad9d35c84 --- /dev/null +++ b/net-ftp/bbftp-server/files/3.2.0-deffixes.patch @@ -0,0 +1,77 @@ +--- includes/common.h 2010-01-07 12:07:45.623549385 -0800 ++++ includes/common.h.new 2010-01-07 12:10:54.585550305 -0800 +@@ -31,6 +31,18 @@ + + *****************************************************************************/ + ++/* add includes for missing definitions - bgreen 01/07/2010 */ ++#include <stddef.h> /* for definition of NULL */ ++#ifdef HAVE_STDLIB_H ++#include <stdlib.h> /* for free(), exit(), etc. */ ++#endif ++#ifdef HAVE_STRING_H ++#include <string.h> ++#endif ++#ifdef HAVE_STDIO_H ++#include <stdio.h> ++#endif ++ + /* COMPRESSION and NOCOMPRESSION : + ** Often used in routine call (more readable than 0 or 1) + */ +--- bbftpd/signals_routines.c 2004-06-30 10:38:52.000000000 -0700 ++++ bbftpd/signals_routines.c.new 2010-01-07 12:15:34.049612507 -0800 +@@ -41,6 +41,12 @@ + #if HAVE_STRING_H + # include <string.h> + #endif ++#if HAVE_STDIO_H ++# include <stdio.h> ++#endif ++#if HAVE_STDLIB_H ++#include <stdlib.h> ++#endif + + #include <daemon.h> + #include <daemon_proto.h> +--- bbftpd/bbftpd_signals.c 2005-03-29 04:55:55.000000000 -0800 ++++ bbftpd/bbftpd_signals.c.new 2010-01-07 12:18:41.923611939 -0800 +@@ -54,6 +54,12 @@ + #if HAVE_STRING_H + # include <string.h> + #endif ++#if HAVE_STDIO_H ++# include <stdio.h> ++#endif ++#if HAVE_STDLIB_H ++#include <stdlib.h> ++#endif + + #include <daemon.h> + #include <daemon_proto.h> +--- bbftpd/bbftpd_utils.c 2003-03-11 04:34:36.000000000 -0800 ++++ bbftpd/bbftpd_utils.c.new 2010-01-07 12:22:38.237550132 -0800 +@@ -31,6 +31,8 @@ + + *****************************************************************************/ + #include <stdio.h> ++#include <string.h> ++#include <stdlib.h> + + extern char *curfilename ; + extern char *realfilename ; +--- bbftpd/signals_routines.c 2004-06-30 10:38:52.000000000 -0700 ++++ bbftpd/signals_routines.c.new 2010-01-07 12:24:12.840550139 -0800 +@@ -41,6 +41,12 @@ + #if HAVE_STRING_H + # include <string.h> + #endif ++#if HAVE_STDIO_H ++# include <stdio.h> ++#endif ++#if HAVE_STDLIB_H ++# include <stdlib.h> ++#endif + + #include <daemon.h> + #include <daemon_proto.h> |