summaryrefslogtreecommitdiff
path: root/devel/ObjectiveLib/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ObjectiveLib/patches/patch-ab')
-rw-r--r--devel/ObjectiveLib/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/ObjectiveLib/patches/patch-ab b/devel/ObjectiveLib/patches/patch-ab
new file mode 100644
index 00000000000..9ed297bfd8c
--- /dev/null
+++ b/devel/ObjectiveLib/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2012/10/22 22:10:15 rh Exp $
+
+Make this compile with libobjc2.
+
+--- ObjectInStream.m.orig 2007-03-25 18:12:15.000000000 +0000
++++ ObjectInStream.m
+@@ -437,7 +437,7 @@ NSString* const OLClassNotFoundException
+ else
+ {
+ RAISE_EXCEPTION(OLInputOutputException,
+- @"Instances of the class \"%s\" do not respond to either initWithObjectInStream: or initWithCoder:", cls->name);
++ @"Instances of the class \"%s\" do not respond to either initWithObjectInStream: or initWithCoder:", class_getName(cls));
+ }
+ object = [cls alloc];
+ object = initWithStream ?