$OpenBSD: patch-pgp_seahorse-gpgme-io_c,v 1.1 2008/11/21 19:12:32 jasper Exp $

OpenBSD doesn't define ENOTSUP, although it's defined in 1003.1

--- pgp/seahorse-gpgme-io.c.orig	Fri Nov 14 19:27:56 2008
+++ pgp/seahorse-gpgme-io.c	Fri Nov 14 19:28:05 2008
@@ -86,7 +86,7 @@ handle_gio_error (GError *err)
 		errno = EPERM;
 		break;
 	case G_IO_ERROR_NOT_SUPPORTED:
-		errno = ENOTSUP;
+		errno = EOPNOTSUPP;
 		break;
 	case G_IO_ERROR_NOT_MOUNTED:
 		errno = ENOENT;
