summarylogtreecommitdiffstats
path: root/gupnp-gssdp-1.2.patch
blob: 384038d7b6dae49f47387d6fd5dfe6c76d4e77a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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);
 }