openbsd-ports/net/gftp/patches/patch-lib_fsplib_fsplib_c
ajacoutot 8e927ce3dd - major bugfix release to gftp-2.0.19
Improvements to the networking code, fixes for several segfaults, i18n
fixes, and 38 updated or new translations.
- IPv6 is still disabled (thanks to sthen@ for confirming it still
doesn't work properly...) ; any taker to fix it, be my guest
2008-12-01 16:09:01 +00:00

15 lines
450 B
Plaintext

$OpenBSD: patch-lib_fsplib_fsplib_c,v 1.3 2008/12/01 16:09:01 ajacoutot Exp $
--- lib/fsplib/fsplib.c.orig Mon Dec 1 13:51:47 2008
+++ lib/fsplib/fsplib.c Mon Dec 1 13:51:55 2008
@@ -32,6 +32,10 @@ use of this software.
#include "fsplib.h"
#include "lock.h"
+#ifndef ENOTSUP
+# define ENOTSUP EINVAL
+#endif
+
/* ************ Internal functions **************** */
/* builds filename in packet output buffer, appends password if needed */