]> git.pld-linux.org Git - packages/libcaca.git/blame - libcaca-plugins.patch
- added javah patch: replace javah (removed from JDK 10+) by javac -h (requires JDK 8+)
[packages/libcaca.git] / libcaca-plugins.patch
CommitLineData
dc266775
JB
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 *);
8+extern
9+#if defined(CACA_ENABLE_VISIBILITY)
10+__attribute__((visibility("default")))
11+#endif
12+void _push_event(caca_display_t *, caca_privevent_t *);
13 extern int _pop_event(caca_display_t *, caca_privevent_t *);
14 #endif
15
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
20 */
21
22+#if defined(CACA_ENABLE_VISIBILITY)
23+__attribute__((visibility("default")))
24+#endif
25 int gl_install(caca_display_t *dp)
26 {
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
32 */
33
34+#if defined(CACA_ENABLE_VISIBILITY)
35+__attribute__((visibility("default")))
36+#endif
37 int x11_install(caca_display_t *dp)
38 {
39 #if defined HAVE_GETENV
This page took 0.150223 seconds and 4 git commands to generate.