tags 629215 + pending
thanks

Hi Gürkan,

I've prepared an NMU for talksoup.app (versioned as
1.0alpha-32-g55b4d4e-1.2) and will upload it to the DELAYED queue.
diff -u talksoup.app-1.0alpha-32-g55b4d4e/debian/changelog talksoup.app-1.0alpha-32-g55b4d4e/debian/changelog
--- talksoup.app-1.0alpha-32-g55b4d4e/debian/changelog
+++ talksoup.app-1.0alpha-32-g55b4d4e/debian/changelog
@@ -1,3 +1,11 @@
+talksoup.app (1.0alpha-32-g55b4d4e-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gnustep-base/1.22 (Closes: #629215).
+  * debian/control (Maintainer): Fix Gürkan's email address.
+
+ -- Yavor Doganov <ya...@gnu.org>  Sat, 08 Oct 2011 15:01:32 +0300
+
 talksoup.app (1.0alpha-32-g55b4d4e-1.1) unstable; urgency=low
 
   * Non-maintainer upload by sponsor.
diff -u talksoup.app-1.0alpha-32-g55b4d4e/debian/control talksoup.app-1.0alpha-32-g55b4d4e/debian/control
--- talksoup.app-1.0alpha-32-g55b4d4e/debian/control
+++ talksoup.app-1.0alpha-32-g55b4d4e/debian/control
@@ -1,7 +1,7 @@
 Source: talksoup.app
 Section: net
 Priority: optional
-Maintainer: Gürkan Sengün <gur...@linuks.mine.nu>
+Maintainer: Gürkan Sengün <gur...@phys.ethz.ch>
 Build-Depends: debhelper (>= 5.0.0), libgnustep-gui-dev (>= 0.12.0), libnetclasses-dev (>= 1.06.dfsg-3), gnustep-make
 Standards-Version: 3.7.2
 Homepage: http://aeruder.gnustep.us/talksoup/
only in patch2:
unchanged:
--- talksoup.app-1.0alpha-32-g55b4d4e.orig/Output/GNUstepOutput/Misc/NSObjectAdditions.m
+++ talksoup.app-1.0alpha-32-g55b4d4e/Output/GNUstepOutput/Misc/NSObjectAdditions.m
@@ -30,38 +30,24 @@
 @implementation NSObject (Introspection)
 + (NSArray *)methodsDefinedForClass
 {
-	struct objc_method_list *list;
-#ifdef __APPLE__
-	void *iterator;
-#endif
+        Method *methods;
+        unsigned int numMethods;
 	Class class;
 	int z;
-	int y;
 	SEL sel;
 	NSMutableArray *array = AUTORELEASE([NSMutableArray new]);
 	
 	class = [self class];
 
-#ifdef __APPLE__	
-	iterator = 0;
-	while ((list = class_nextMethodList(class, &iterator)))
+        methods = class_copyMethodList(class, &numMethods);
 	{
-#else
-	for (list = class->methods; list != NULL; list=list->method_next)
-	{
-#endif
-		y = list->method_count;
-		for (z = 0; z < y; z++)
+		for (z = 0; z < numMethods; z++)
 		{
-			sel = list->method_list[z].method_name;
-#ifdef __APPLE__
-			[array addObject: AUTORELEASE([[NSString alloc] initWithUTF8String:
-			  (char *)sel])];
-#else
-			[array addObject: NSStringFromSelector(sel)];
-#endif
+		        sel = method_getName(methods[z]);
+ 		        [array addObject: NSStringFromSelector(sel)];
 		}
 	}
+	free(methods);
 
 	return [NSArray arrayWithArray: array];
 }

Reply via email to