|
Lines 1-35
Link Here
|
| 1 |
https://github.com/libsdl-org/sdl/commit/e2ade2bfc46d |
|
|
| 2 |
|
| 3 |
ld: error: undefined symbol: wl_proxy_marshal_flags |
| 4 |
>>> referenced by SDL_waylanddatamanager.c |
| 5 |
>>> build/.libs/SDL_waylanddatamanager.o:(Wayland_data_source_destroy) |
| 6 |
>>> referenced by SDL_waylanddatamanager.c |
| 7 |
>>> build/.libs/SDL_waylanddatamanager.o:(Wayland_data_offer_receive) |
| 8 |
>>> referenced by SDL_waylanddatamanager.c |
| 9 |
>>> build/.libs/SDL_waylanddatamanager.o:(Wayland_data_offer_destroy) |
| 10 |
>>> referenced 109 more times |
| 11 |
|
| 12 |
--- src/video/wayland/SDL_waylanddyn.h.orig 2020-03-11 01:36:18 UTC |
| 13 |
+++ src/video/wayland/SDL_waylanddyn.h |
| 14 |
@@ -75,6 +75,8 @@ void SDL_WAYLAND_UnloadSymbols(void); |
| 15 |
#define wl_proxy_create (*WAYLAND_wl_proxy_create) |
| 16 |
#define wl_proxy_destroy (*WAYLAND_wl_proxy_destroy) |
| 17 |
#define wl_proxy_marshal (*WAYLAND_wl_proxy_marshal) |
| 18 |
+#define wl_proxy_marshal_flags (*WAYLAND_wl_proxy_marshal_flags) |
| 19 |
+#define wl_proxy_marshal_array_flags (*WAYLAND_wl_proxy_marshal_array_flags) |
| 20 |
#define wl_proxy_set_user_data (*WAYLAND_wl_proxy_set_user_data) |
| 21 |
#define wl_proxy_get_user_data (*WAYLAND_wl_proxy_get_user_data) |
| 22 |
#define wl_proxy_get_version (*WAYLAND_wl_proxy_get_version) |
| 23 |
--- src/video/wayland/SDL_waylandsym.h.orig 2020-03-11 01:36:18 UTC |
| 24 |
+++ src/video/wayland/SDL_waylandsym.h |
| 25 |
@@ -71,6 +71,10 @@ SDL_WAYLAND_SYM(struct wl_proxy *, wl_proxy_marshal_co |
| 26 |
SDL_WAYLAND_MODULE(WAYLAND_CLIENT_1_10) |
| 27 |
SDL_WAYLAND_SYM(struct wl_proxy *, wl_proxy_marshal_constructor_versioned, (struct wl_proxy *proxy, uint32_t opcode, const struct wl_interface *interface, uint32_t version, ...)) |
| 28 |
|
| 29 |
+SDL_WAYLAND_MODULE(WAYLAND_CLIENT_1_20) |
| 30 |
+SDL_WAYLAND_SYM(struct wl_proxy*, wl_proxy_marshal_flags, (struct wl_proxy *proxy, uint32_t opcode, const struct wl_interface *interfac, uint32_t version, uint32_t flags, ...)) |
| 31 |
+SDL_WAYLAND_SYM(struct wl_proxy*, wl_proxy_marshal_array_flags, (struct wl_proxy *proxy, uint32_t opcode, const struct wl_interface *interface, uint32_t version, uint32_t flags, union wl_argument *args)) |
| 32 |
+ |
| 33 |
SDL_WAYLAND_INTERFACE(wl_seat_interface) |
| 34 |
SDL_WAYLAND_INTERFACE(wl_surface_interface) |
| 35 |
SDL_WAYLAND_INTERFACE(wl_shm_pool_interface) |