View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0001761 | SOGo | Backend General | public | 2012-04-09 15:56 | 2012-05-09 17:55 | 
| Reporter | avoegele | Assigned To | ludovic | ||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Product Version | nightly v2 | ||||
| Target Version | 1.3.15 | Fixed in Version | 1.3.15 | ||
| Summary | 0001761: 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. | ||||
| Tags | No tags attached. | ||||
| 
 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,
 | 
| 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 | 

