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

fix build with libobjc2-1.7

--- sope-ldap/NGLdap/EOQualifier+LDAP.m.orig	Sun Oct 13 19:19:03 2013
+++ sope-ldap/NGLdap/EOQualifier+LDAP.m	Sun Oct 13 19:19:33 2013
@@ -26,7 +26,7 @@
 #define sel_eq(sel1, sel2) ((sel1)) == ((sel2))
 #endif
 
-#if __GNU_LIBOBJC__ >= 20100911
+#if (defined(__GNU_LIBOBJC__) && (__GNU_LIBOBJC__ >= 20100911)) || defined(APPLE_RUNTIME) || defined(__GNUSTEP_RUNTIME__)
 #  define sel_eq(__A__,__B__) sel_isEqual(__A__,__B__)
 #endif
 
