diff options
author | sylvio <sylvio@FreeBSD.org> | 2011-05-21 02:35:18 +0800 |
---|---|---|
committer | sylvio <sylvio@FreeBSD.org> | 2011-05-21 02:35:18 +0800 |
commit | 2d3eb595c267c293f7ce1880986a926787bc19d8 (patch) | |
tree | d13e7ca560db5e0da00e58a8aaefa70d1121edf9 /ftp/bftpd/files | |
parent | da9030c8b46b14975de7cdc96bf6970ad2a71793 (diff) | |
download | freebsd-ports-gnome-2d3eb595c267c293f7ce1880986a926787bc19d8.tar.gz freebsd-ports-gnome-2d3eb595c267c293f7ce1880986a926787bc19d8.tar.zst freebsd-ports-gnome-2d3eb595c267c293f7ce1880986a926787bc19d8.zip |
- Update to 3.4
- Add license
Diffstat (limited to 'ftp/bftpd/files')
-rw-r--r-- | ftp/bftpd/files/patch-commands.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ftp/bftpd/files/patch-commands.c b/ftp/bftpd/files/patch-commands.c new file mode 100644 index 000000000000..ae750c46d425 --- /dev/null +++ b/ftp/bftpd/files/patch-commands.c @@ -0,0 +1,27 @@ +--- commands.c.orig 2011-05-20 14:39:41.000000000 -0300 ++++ commands.c 2011-05-20 14:40:45.000000000 -0300 +@@ -18,9 +18,6 @@ + #ifdef HAVE_SYS_SOCKET_H + #include <sys/socket.h> + #endif +-#ifdef HAVE_ASM_SOCKET_H +-#include <asm/socket.h> +-#endif + #ifdef HAVE_NETINET_IN_H + #include <netinet/in.h> + #endif +@@ -35,12 +32,8 @@ + #endif + #include <fcntl.h> + #include <string.h> +-#ifdef HAVE_WAIT_H +-# include <wait.h> +-#else +-# ifdef HAVE_SYS_WAIT_H +-# include <sys/wait.h> +-# endif ++#ifdef HAVE_SYS_WAIT_H ++#include <sys/wait.h> + #endif + + #include "mystring.h" |