summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnustep-libs/sope/files/sope-r1660-NSDictionary+KVC.patch')
-rw-r--r--gnustep-libs/sope/files/sope-r1660-NSDictionary+KVC.patch112
1 files changed, 112 insertions, 0 deletions
diff --git a/gnustep-libs/sope/files/sope-r1660-NSDictionary+KVC.patch b/gnustep-libs/sope/files/sope-r1660-NSDictionary+KVC.patch
new file mode 100644
index 0000000..55130a5
--- /dev/null
+++ b/gnustep-libs/sope/files/sope-r1660-NSDictionary+KVC.patch
@@ -0,0 +1,112 @@
+--- sope-core/NGExtensions/FdExt.subproj/GNUmakefile 2009-11-26 00:58:48.403972479 +0100
++++ sope-core/NGExtensions/FdExt.subproj/GNUmakefile.new 2009-11-26 01:27:23.983967320 +0100
+@@ -14,6 +14,7 @@
+ NSCalendarDate+misc.m \
+ NSCalendarDate+matrix.m \
+ NSData+gzip.m \
++ NSDictionary+KVC.m \
+ NSData+misc.m \
+ NSDictionary+misc.m \
+ NSEnumerator+misc.m \
+--- sope-core/NGExtensions/FdExt.subproj/NSDictionary+KVC.m 1970-01-01 04:00:00 +0400
++++ sope-core/NGExtensions/FdExt.subproj/NSDictionary+KVC.m.new 2008-07-04 15:03:58 +0500
+@@ -0,0 +1,57 @@
++/*
++ Copyright (C) 2000-2008 SKYRIX Software AG
++
++ This file is part of SOPE.
++
++ SOPE is free software; you can redistribute it and/or modify it under
++ the terms of the GNU Lesser General Public License as published by the
++ Free Software Foundation; either version 2, or (at your option) any
++ later version.
++
++ SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
++ WARRANTY; without even the implied warranty of MERCHANTABILITY or
++ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
++ License for more details.
++
++ You should have received a copy of the GNU Lesser General Public
++ License along with SOPE; see the file COPYING. If not, write to the
++ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
++ 02111-1307, USA.
++*/
++
++#if GNUSTEP_BASE_LIBRARY
++
++#import "common.h"
++#import "NSDictionary+KVC.h"
++
++@implementation NSDictionary(KVC)
++
++// TODO: it should be addressed to gnustep-base
++
++- (id)valueForUndefinedKey:(NSString *)key
++{
++ return nil;
++}
++
++- (id)handleQueryWithUnboundKey:(NSString *)key
++{
++ return nil;
++}
++
++- (void)setValue:(id)value forUndefinedKey:(NSString *)key
++{
++ return;
++}
++
++- (void)handleTakeValue:(id)value forUnboundKey:(NSString *)key
++{
++ return;
++}
++
++@end /* NSDictionary(KVC) */
++
++void __link_NSDictionary_KVC() {
++ __link_NSDictionary_KVC();
++}
++
++#endif
+--- sope-core/NGExtensions/NGExtensions/NSDictionary+KVC.h 1970-01-01 04:00:00 +0400
++++ sope-core/NGExtensions/NGExtensions/NSDictionary+KVC.h.new 2008-07-04 15:05:55 +0500
+@@ -0,0 +1,39 @@
++/*
++ Copyright (C) 2000-2008 SKYRIX Software AG
++
++ This file is part of SOPE.
++
++ SOPE is free software; you can redistribute it and/or modify it under
++ the terms of the GNU Lesser General Public License as published by the
++ Free Software Foundation; either version 2, or (at your option) any
++ later version.
++
++ SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
++ WARRANTY; without even the implied warranty of MERCHANTABILITY or
++ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
++ License for more details.
++
++ You should have received a copy of the GNU Lesser General Public
++ License along with SOPE; see the file COPYING. If not, write to the
++ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
++ 02111-1307, USA.
++*/
++
++#ifndef __NGExtensions_NSDictionary_KVC_H__
++#define __NGExtensions_NSDictionary_KVC_H__
++
++#import <Foundation/NSDictionary.h>
++
++@interface NSDictionary(KVC)
++
++- (id)valueForUndefinedKey:(NSString *)key;
++
++- (id)handleQueryWithUnboundKey:(NSString *)key;
++
++- (void)setValue:(id)value forUndefinedKey:(NSString *)key;
++
++- (void)handleTakeValue:(id)value forUnboundKey:(NSString *)key;
++
++@end
++
++#endif /* __NGExtensions_NSDictionary_KVC_H__ */