openbsd-ports/net/gftp/patches/patch-lib_fsplib_fsplib_c
alek 519784b391 Import gftp 2.0.18
gFTP is a free multithreaded file transfer client for *NIX based
machines. It has the following features:
- Distributed under the terms of the GNU Public License Agreement
- Written in C and has a text interface and a GTK+ 1.2/2.x interface
- Supports the FTP, FTPS (control connection only), HTTP, HTTPS, SSH and
  FSP protocols
- FTP and HTTP proxy server support
- Supports FXP file transfers (transferring files between 2 remote
  servers via FTP)
- Supports UNIX, EPLF, Novell, MacOS, VMS, MVS and NT (DOS) style
  directory listings
- Bookmarks menu to allow you to quickly connect to remote sites
- Fully Internationalized

From Antoine Jacoutot <ajacoutot@lphp.org>
2005-11-02 20:19:29 +00:00

19 lines
499 B
Plaintext

$OpenBSD: patch-lib_fsplib_fsplib_c,v 1.1.1.1 2005/11/02 20:19:29 alek Exp $
--- lib/fsplib/fsplib.c.orig Mon Oct 17 17:14:01 2005
+++ lib/fsplib/fsplib.c Mon Oct 17 17:14:59 2005
@@ -27,6 +27,14 @@ use of this software.
#include "fsplib.h"
#include "lock.h"
+#ifndef ENOMSG
+# define ENOMSG EINVAL
+#endif
+
+#ifndef ENOTSUP
+# define ENOTSUP EINVAL
+#endif
+
/* ************ Internal functions **************** */
/* builds filename in packet output buffer, appends password if needed */