$OpenBSD: patch-sope-core_EOControl_common_h,v 1.2 2014/10/17 09:19:32 sebastia Exp $

fix build with libobjc2-1.7

--- sope-core/EOControl/common.h.orig	Fri Sep 26 20:38:11 2014
+++ sope-core/EOControl/common.h	Tue Sep 30 12:38:09 2014
@@ -40,10 +40,11 @@
 #  endif
 #endif
 
-#if __GNU_LIBOBJC__ >= 20100911
+#if (defined(__GNU_LIBOBJC__) && (__GNU_LIBOBJC__ >= 20100911)) || defined(APPLE_RUNTIME) || defined(__GNUSTEP_RUNTIME__)
 #  ifndef sel_eq
 #    define sel_eq(__A__,__B__) sel_isEqual(__A__,__B__)
 #  endif
+#  define sel_get_any_uid(__XXX__) sel_getUid(__XXX__)
 #endif
 
 #ifndef ASSIGN
