davemds pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/places.git/commit/?id=6db7ce49e52f18b36831426d955cec89a9f258d7

commit 6db7ce49e52f18b36831426d955cec89a9f258d7
Author: Dave Andreoli <d...@gurumeditation.it>
Date:   Fri Feb 9 20:20:17 2018 +0100

    Fix compilation on recent efl (read as: breackage)
    
    without this change I'm getting tons of errors like:
    
    In file included from /usr/local/include/ecore-1/Ecore_Common.h:1039:0,
                     from /usr/local/include/ecore-1/Ecore.h:329,
                     from /usr/local/include/enlightenment/e.h:116,
                     from e_mod_udisks_eldbus.c:9:
    /usr/local/include/ecore-1/ecore_exe.eo.h:103:20: error: unknown type name 
‘Efl_Event_Description’
     EWAPI extern const Efl_Event_Description _ECORE_EXE_EVENT_DATA_GET;
    
    and:
    
    /usr/local/include/ecore-1/efl_loop.eo.h:286:20: error: unknown type name 
‘Efl_Event_Description’
     EWAPI extern const Efl_Event_Description _EFL_LOOP_EVENT_POLL_HIGH;
    
    I think that swapping the includes make it work because e.h set BETA_API
    and that make eldbus happy.
    
    So seems (without too much investigation) that eldbus is broken for legacy 
app.
    
    (...me so tired to fixing legacy efl breackages)
---
 src/e_mod_udisks_eldbus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/e_mod_udisks_eldbus.c b/src/e_mod_udisks_eldbus.c
index 4a3016a..e448361 100644
--- a/src/e_mod_udisks_eldbus.c
+++ b/src/e_mod_udisks_eldbus.c
@@ -5,8 +5,8 @@
 
 #ifdef HAVE_ELDBUS
 
-#include <Eldbus.h>
 #include <e.h>
+#include <Eldbus.h>
 #include "e_mod_main.h"
 #include "e_mod_places.h"
 

-- 


Reply via email to