Jan Engelhardt
e156901c4c
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=63
22 lines
860 B
Diff
22 lines
860 B
Diff
References: https://bugzilla.libsdl.org/show_bug.cgi?id=3854
|
|
|
|
Fix an assertion, triggered by libdbus receiving garbage
|
|
from a varargs function in SDL.
|
|
---
|
|
src/core/linux/SDL_ibus.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: SDL2-2.0.6/src/core/linux/SDL_ibus.c
|
|
===================================================================
|
|
--- SDL2-2.0.6.orig/src/core/linux/SDL_ibus.c
|
|
+++ SDL2-2.0.6/src/core/linux/SDL_ibus.c
|
|
@@ -479,7 +479,7 @@ IBus_SimpleMessage(const char *method)
|
|
SDL_DBusContext *dbus = SDL_DBus_GetContext();
|
|
|
|
if (IBus_CheckConnection(dbus)) {
|
|
- SDL_DBus_CallVoidMethodOnConnection(ibus_conn, IBUS_SERVICE, input_ctx_path, IBUS_INPUT_INTERFACE, method);
|
|
+ SDL_DBus_CallVoidMethodOnConnection(ibus_conn, IBUS_SERVICE, input_ctx_path, IBUS_INPUT_INTERFACE, method, DBUS_TYPE_INVALID);
|
|
}
|
|
}
|
|
|