- remove patches as we have ENOTSUP now
This commit is contained in:
parent
637a2bdaff
commit
02752cde44
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2009/10/19 10:12:11 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2009/10/27 12:03:40 jasper Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -6,6 +6,7 @@ COMMENT= plugins and utilities for seahorse
|
||||
|
||||
GNOME_PROJECT= seahorse-plugins
|
||||
GNOME_VERSION= 2.28.1
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
|
||||
CATEGORIES= security
|
||||
|
||||
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-libseahorse_seahorse-vfs-data_c,v 1.1.1.1 2009/07/12 19:54:04 ajacoutot Exp $
|
||||
|
||||
OpenBSD doesn't define ENOTSUP, although it's defined in 1003.1.
|
||||
|
||||
--- libseahorse/seahorse-vfs-data.c.orig Sat Jun 27 17:48:38 2009
|
||||
+++ libseahorse/seahorse-vfs-data.c Sat Jun 27 17:49:35 2009
|
||||
@@ -389,7 +389,7 @@ vfs_data_seek (void *handle, off_t offset, int whence)
|
||||
seekable = G_SEEKABLE (ah->istream);
|
||||
|
||||
if (!seekable || !g_seekable_can_seek (seekable)) {
|
||||
- errno = ENOTSUP;
|
||||
+ errno = EOPNOTSUPP;
|
||||
return -1;
|
||||
}
|
||||
|
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.31 2009/10/18 17:43:55 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.32 2009/10/27 12:03:40 jasper Exp $
|
||||
|
||||
COMMENT= manage encryption keys
|
||||
|
||||
GNOME_PROJECT= seahorse
|
||||
GNOME_VERSION= 2.28.1
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
|
||||
SHARED_LIBS += cryptui 1.0 # .0.0
|
||||
|
||||
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-pgp_seahorse-gpgme-data_c,v 1.1 2009/10/14 16:11:04 ajacoutot Exp $
|
||||
|
||||
OpenBSD doesn't define ENOTSUP, although it's defined in 1003.1
|
||||
|
||||
--- pgp/seahorse-gpgme-data.c.orig Wed Oct 14 17:30:30 2009
|
||||
+++ pgp/seahorse-gpgme-data.c Wed Oct 14 17:30:44 2009
|
||||
@@ -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;
|
Loading…
Reference in New Issue
Block a user