1 --- libcaca-0.99.beta20/caca/caca_internals.h.orig 2021-10-19 15:47:32.000000000 +0200
2 +++ libcaca-0.99.beta20/caca/caca_internals.h 2021-12-06 17:15:52.742419166 +0100
3 @@ -252,7 +252,11 @@ extern int _caca_getticks(caca_timer_t *
4 /* Internal event functions */
5 extern void _caca_handle_resize(caca_display_t *);
6 #if defined(USE_SLANG) || defined(USE_NCURSES) || defined(USE_CONIO) || defined(USE_GL)
7 -extern void _push_event(caca_display_t *, caca_privevent_t *);
9 +#if defined(CACA_ENABLE_VISIBILITY)
10 +__attribute__((visibility("default")))
12 +void _push_event(caca_display_t *, caca_privevent_t *);
13 extern int _pop_event(caca_display_t *, caca_privevent_t *);
16 --- libcaca-0.99.beta20/caca/driver/gl.c.orig 2015-01-17 12:51:01.000000000 +0100
17 +++ libcaca-0.99.beta20/caca/driver/gl.c 2021-12-06 17:16:26.072238603 +0100
18 @@ -604,6 +604,9 @@ static void gl_compute_font(caca_display
19 * Driver initialisation
22 +#if defined(CACA_ENABLE_VISIBILITY)
23 +__attribute__((visibility("default")))
25 int gl_install(caca_display_t *dp)
27 #if defined(HAVE_GETENV) && defined(GLUT_XLIB_IMPLEMENTATION)
28 --- libcaca-0.99.beta20/caca/driver/x11.c.orig 2017-04-21 15:33:16.000000000 +0200
29 +++ libcaca-0.99.beta20/caca/driver/x11.c 2021-12-06 17:17:57.918407696 +0100
30 @@ -966,6 +966,9 @@ static void x11_put_glyph(caca_display_t
31 * Driver initialisation
34 +#if defined(CACA_ENABLE_VISIBILITY)
35 +__attribute__((visibility("default")))
37 int x11_install(caca_display_t *dp)
39 #if defined HAVE_GETENV