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

fix building with libobjc2-1.7

--- sope-gdl1/GDLAccess/common.h.orig	Sun Oct 13 18:16:32 2013
+++ sope-gdl1/GDLAccess/common.h	Sun Oct 13 18:17:48 2013
@@ -55,7 +55,7 @@
 #  endif
 #endif
 
-#if __GNU_LIBOBJC__ >= 20100911
+#if (defined(__GNU_LIBOBJC__) && (__GNU_LIBOBJC__ >= 20100911)) || defined(__GNUSTEP_RUNTIME__)
 #  define sel_eq(__A__,__B__) sel_isEqual(__A__,__B__)
 #  ifndef SEL_EQ
 #    define SEL_EQ(__A__,__B__) sel_isEqual(__A__,__B__)
