View Issue Details

IDProjectCategoryView StatusLast Update
0001761SOGoBackend Generalpublic2012-05-09 17:55
Reporteravoegele Assigned Toludovic  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Versionnightly v2 
Target Version1.3.15Fixed in Version1.3.15 
Summary0001761: GCC 4.7 does no longer provide sel_eq()
Description

My Linux distribution recently switched to GCC 4.7 which no longer provides sel_eq(). A patch that defines sel_eq() in two modules if __GNU_LIBOBJC__ is greater than or equal to 20100911 is attached.

TagsNo tags attached.

Activities

2012-04-09 15:56

 

sogo_gcc_4_7.diff (1,295 bytes)   
#
# old_revision [d93b5b4142f73cdb24bac181e6d92140b7a59313]
#
# patch "SOPE/GDLContentStore/EOQualifier+GCS.m"
#  from [ee00793cdf4d77c645f504c8bb7a61fa1e38b69f]
#    to [522a56e4baed3e4bac946740c10c4e45c3f06c8b]
# 
# patch "SOPE/GDLContentStore/GCSFolder.m"
#  from [12d06b6fb419c3d69a7431ebe5d8115693396137]
#    to [049f8819dc26c8ab4d4547761640bafe76a10bd3]
#
============================================================
--- SOPE/GDLContentStore/EOQualifier+GCS.m	ee00793cdf4d77c645f504c8bb7a61fa1e38b69f
+++ SOPE/GDLContentStore/EOQualifier+GCS.m	522a56e4baed3e4bac946740c10c4e45c3f06c8b
@@ -27,6 +27,10 @@
 
 #import "EOQualifier+GCS.h"
 
+#if __GNU_LIBOBJC__ >= 20100911
+#  define sel_eq(__A__,__B__) sel_isEqual(__A__,__B__)
+#endif
+
 @implementation EOQualifier(GCS)
 
 - (void)_appendAndQualifier:(EOAndQualifier *)_q 
============================================================
--- SOPE/GDLContentStore/GCSFolder.m	12d06b6fb419c3d69a7431ebe5d8115693396137
+++ SOPE/GDLContentStore/GCSFolder.m	049f8819dc26c8ab4d4547761640bafe76a10bd3
@@ -44,6 +44,10 @@
 #import "EOQualifier+GCS.h"
 #import "GCSStringFormatter.h"
 
+#if __GNU_LIBOBJC__ >= 20100911
+#  define sel_eq(__A__,__B__) sel_isEqual(__A__,__B__)
+#endif
+
 typedef enum {
   noTableRequired = 0,
   quickTableRequired = 1,
sogo_gcc_4_7.diff (1,295 bytes)   
ludovic

ludovic

2012-05-09 17:55

administrator   ~0003877

Fix pushed: http://mtn.inverse.ca/revision/diff/6857ec31df4746fa033c80de4b53d7d7e0a4b9e4/with/010e63dffb557b9171f08a63428acdd11998ab56

Issue History

Date Modified Username Field Change
2012-04-09 15:56 avoegele New Issue
2012-04-09 15:56 avoegele File Added: sogo_gcc_4_7.diff
2012-05-09 17:55 ludovic Target Version => 1.3.15
2012-05-09 17:55 ludovic Note Added: 0003877
2012-05-09 17:55 ludovic Status new => resolved
2012-05-09 17:55 ludovic Fixed in Version => 1.3.15
2012-05-09 17:55 ludovic Resolution open => fixed
2012-05-09 17:55 ludovic Assigned To => ludovic
2012-05-09 17:55 ludovic Status resolved => closed