diff options
author | 2010-01-07 13:02:14 -0800 | |
---|---|---|
committer | 2010-01-07 13:02:14 -0800 | |
commit | 494b99eacc9fd614b6b7ede472a59b93470dfe67 (patch) | |
tree | ce015ebcf122d1b4c6e5e979a4ab827730e439e3 /net-ftp | |
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')
-rw-r--r-- | net-ftp/bbftp-server/ChangeLog | 6 | ||||
-rw-r--r-- | net-ftp/bbftp-server/bbftp-server-3.2.0.ebuild | 6 | ||||
-rw-r--r-- | net-ftp/bbftp-server/files/3.2.0-deffixes.patch | 77 |
3 files changed, 87 insertions, 2 deletions
diff --git a/net-ftp/bbftp-server/ChangeLog b/net-ftp/bbftp-server/ChangeLog index b6badb800..db5b10def 100644 --- a/net-ftp/bbftp-server/ChangeLog +++ b/net-ftp/bbftp-server/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for net-ftp/bbftp-server -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 07 Jan 2010; Bryan D. Green <bgreen@gentoo.org> + +files/3.2.0-deffixes.patch, bbftp-server-3.2.0.ebuild: + added patch to fix missing definitions + *bbftp-server-3.2.0 (01 Dec 2007) 01 Dec 2007; Bryan Green <bryan.d.green@nasa.gov> ChangeLog: diff --git a/net-ftp/bbftp-server/bbftp-server-3.2.0.ebuild b/net-ftp/bbftp-server/bbftp-server-3.2.0.ebuild index 48aa0b3e0..b7fcdc3fb 100644 --- a/net-ftp/bbftp-server/bbftp-server-3.2.0.ebuild +++ b/net-ftp/bbftp-server/bbftp-server-3.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ @@ -16,6 +16,10 @@ IUSE="ssl pam" DEPEND="ssl? ( dev-libs/openssl )" RDEPEND="${DEPEND}" +src_prepare() { + epatch "${FILESDIR}"/${PV}-deffixes.patch +} + src_compile() { sed -i -e '/@INSTALL@\|mkdir/s:${\(prefix\|mandir\|bindir\)}:${DESTDIR}${\1}:' -e '/\/etc/d' Makefile.in econf $(use_with ssl) $(use_with pam) --with-gzip \ 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> |