package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / efl / 0001-ecore_fb_private.h-define-EAPI-before-use.patch
blob81d14f94264ede378ad26e52ea1b7f3d9a12e56e
1 From 2fb4fdf641e67e49b87a3524038a694c8dd0ba4e Mon Sep 17 00:00:00 2001
2 From: Vicente Bergas <vicencb@gmail.com>
3 Date: Fri, 9 Oct 2015 23:35:20 +0200
4 Subject: [PATCH] ecore_fb_private.h: define EAPI before use
6 From [1]:
7 When running terminology, a message appears in eina_module_load with:
8 could not dlopen("/usr/lib/ecore_evas/engines/fb/v-1.15/module.so",
9 Error relocating /usr/lib/ecore_evas/engines/fb/v-1.15/module.so:
10 ecore_fb_ts_shutdown: symbol not found): RTLD_NOW
11 It seems like the EAPI macro has no effect...
13 A patch from Ross Vandegrift has been posted on enlightenment mailing
14 list [2], but it's not yet an upstream patch.
16 [1] http://sourceforge.net/p/enlightenment/mailman/message/34493376
17 [2] http://sourceforge.net/p/enlightenment/mailman/message/34492801
19 Signed-off-by: Vicente Bergas <vicencb@gmail.com>
20 [Romain:
21 - Add a commit log
22 - Add a link to the enlightenment mailing list
23 - Add Vicente's SoB line]
24 Signed-off-by: Romain Naour <romain.naour@openwide.fr>
25 ---
26 src/lib/ecore_fb/ecore_fb_private.h | 17 +++++++++++++++++
27 1 file changed, 17 insertions(+)
29 diff --git a/src/lib/ecore_fb/ecore_fb_private.h b/src/lib/ecore_fb/ecore_fb_private.h
30 index f7dc0c6..f54c8d2 100644
31 --- a/src/lib/ecore_fb/ecore_fb_private.h
32 +++ b/src/lib/ecore_fb/ecore_fb_private.h
33 @@ -33,6 +33,20 @@
35 #include <Ecore_Fb.h>
37 +#ifdef EAPI
38 +# undef EAPI
39 +#endif
41 +#ifdef __GNUC__
42 +# if __GNUC__ >= 4
43 +# define EAPI __attribute__ ((visibility("default")))
44 +# else
45 +# define EAPI
46 +# endif
47 +#else
48 +# define EAPI
49 +#endif
51 /* ecore_fb_li.c */
52 struct _Ecore_Fb_Input_Device
54 @@ -92,4 +106,7 @@ void ecore_fb_vt_shutdown(void);
55 #define TS_GET_CAL 0x8014660a
56 #endif
58 +#undef EAPI
59 +#define EAPI
61 #endif
62 --
63 2.4.3