diff options
Diffstat (limited to 'gupnp-gssdp-1.2.patch')
-rw-r--r-- | gupnp-gssdp-1.2.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gupnp-gssdp-1.2.patch b/gupnp-gssdp-1.2.patch new file mode 100644 index 000000000000..384038d7b6da --- /dev/null +++ b/gupnp-gssdp-1.2.patch @@ -0,0 +1,28 @@ +diff --git a/meson.build b/meson.build +index be8a56c..003e4ef 100644 +--- a/meson.build ++++ b/meson.build +@@ -50,8 +50,8 @@ rm_dep += dependency('spandsp') + rm_dep += dependency('json-glib-1.0') + rm_dep += dependency('gmodule-2.0') + rm_dep += dependency('sndfile') +-rm_dep += dependency('gupnp-1.0') +-rm_dep += dependency('gssdp-1.0') ++rm_dep += dependency('gupnp-1.2') ++rm_dep += dependency('gssdp-1.2') + + # Include GTK integration libs for OS X + if os_darwin +diff --git a/rm/rmssdp.c b/rm/rmssdp.c +index 912c563..c6f0de0 100644 +--- a/rm/rmssdp.c ++++ b/rm/rmssdp.c +@@ -129,7 +129,7 @@ static void rm_on_context_available(GUPnPContextManager *manager, GUPnPContext * + void rm_ssdp_init(void) + { + g_debug("%s(): Initialize upnp context manager", __FUNCTION__); +- rm_context_manager = gupnp_context_manager_new(NULL, 1900); ++ rm_context_manager = gupnp_context_manager_create(1900); + + g_signal_connect(rm_context_manager, "context-available", G_CALLBACK(rm_on_context_available), NULL); + } |