prepare sogo for upcoming libobjc2 update

This commit is contained in:
sebastia 2013-10-19 09:49:16 +00:00
parent 191d19dce5
commit a7107db13b
3 changed files with 26 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.32 2013/08/24 11:16:04 sebastia Exp $
# $OpenBSD: Makefile,v 1.33 2013/10/19 09:49:16 sebastia Exp $
COMMENT = web based groupware server
VERSION = 2.0.7
REVISION = 0
DISTNAME = SOGo-${VERSION}
PKGNAME = sogo-${VERSION}

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-SOPE_GDLContentStore_EOQualifier+GCS_m,v 1.1 2013/10/19 09:49:16 sebastia Exp $
--- SOPE/GDLContentStore/EOQualifier+GCS.m.orig Sun Oct 13 18:35:24 2013
+++ SOPE/GDLContentStore/EOQualifier+GCS.m Sun Oct 13 18:35:46 2013
@@ -27,7 +27,7 @@
#import "EOQualifier+GCS.h"
-#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

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-SOPE_GDLContentStore_GCSFolder_m,v 1.1 2013/10/19 09:49:16 sebastia Exp $
--- SOPE/GDLContentStore/GCSFolder.m.orig Sun Oct 13 18:35:05 2013
+++ SOPE/GDLContentStore/GCSFolder.m Sun Oct 13 18:35:16 2013
@@ -44,7 +44,7 @@
#import "EOQualifier+GCS.h"
#import "GCSStringFormatter.h"
-#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