- adapt patch now that we have ENOTSUP defined
This commit is contained in:
parent
85aa6bd194
commit
9fc5b90e2b
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.99 2009/08/27 19:44:38 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.100 2009/10/27 14:38:15 jasper Exp $
|
||||
|
||||
COMMENT-main = K Desktop Environment, libraries
|
||||
COMMENT-cups = K Desktop Environment, cups support
|
||||
@ -7,8 +7,8 @@ VERSION = 3.5.10
|
||||
DISTNAME = kdelibs-${VERSION}
|
||||
MASTER_SITES0 = ftp://ftp.kde.org/pub/kde/security_patches/
|
||||
|
||||
PKGNAME-main = ${DISTNAME}p2
|
||||
PKGNAME-cups = kdecups-${VERSION}p2
|
||||
PKGNAME-main = ${DISTNAME}p3
|
||||
PKGNAME-cups = kdecups-${VERSION}p3
|
||||
MODKDE_VERSION = 3.5.8
|
||||
SHARED_LIBS += DCOP 7.0 # .6.0
|
||||
SHARED_LIBS += kdefx 7.0 # .6.0
|
||||
|
@ -1,18 +1,6 @@
|
||||
$OpenBSD: patch-kioslave_file_file_cc,v 1.3 2007/03/31 23:33:34 espie Exp $
|
||||
$OpenBSD: patch-kioslave_file_file_cc,v 1.4 2009/10/27 14:38:15 jasper Exp $
|
||||
--- kioslave/file/file.cc.orig Fri Mar 17 11:19:07 2006
|
||||
+++ kioslave/file/file.cc Sat Mar 31 15:09:22 2007
|
||||
@@ -193,9 +193,11 @@ void FileProtocol::chmod( const KURL& url, int permiss
|
||||
case EACCES:
|
||||
error( KIO::ERR_ACCESS_DENIED, url.path() );
|
||||
break;
|
||||
+#if defined(ENOTSUP)
|
||||
case ENOTSUP:
|
||||
error( KIO::ERR_UNSUPPORTED_ACTION, url.path() );
|
||||
break;
|
||||
+#endif
|
||||
case ENOSPC:
|
||||
error( KIO::ERR_DISK_FULL, url.path() );
|
||||
break;
|
||||
@@ -1445,6 +1447,9 @@ void FileProtocol::mount( bool _ro, const char *_fstyp
|
||||
dev.data()
|
||||
point.data()
|
||||
|
Loading…
Reference in New Issue
Block a user