$OpenBSD: patch-sope-core_NGStreams_NGStreamCoder_m,v 1.1 2013/10/19 09:48:23 sebastia Exp $

fix build with libobjc2-1.7

--- sope-core/NGStreams/NGStreamCoder.m.orig	Sun Oct 13 18:10:47 2013
+++ sope-core/NGStreams/NGStreamCoder.m	Sun Oct 13 18:11:35 2013
@@ -28,6 +28,10 @@
 #  include <objc/objc-class.h>
 #endif
 
+#if (defined(__GNU_LIBOBJC__) && (__GNU_LIBOBJC__ >= 20100911)) || defined(APPLE_RUNTIME) || defined(__GNUSTEP_RUNTIME__)
+#  define sel_get_name(__XXX__) sel_getName(__XXX__)
+#endif
+
 #define FINAL static inline
 
 extern id nil_method(id, SEL, ...);
