Fix build for sparc64 by pulling in an upstream patch that hasn't been
released yet. ok jca@
This commit is contained in:
parent
664df79882
commit
0cfa0b2591
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2019/02/10 12:57:13 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2020/03/24 15:26:26 kmos Exp $
|
||||
|
||||
COMMENT= service for interacting with DMSes
|
||||
|
||||
GH_PROJECT= dleyna-server
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
|
||||
SHARED_LIBS += dleyna-server-1.0 0.0 # 1.3
|
||||
|
||||
|
20
net/dleyna/server/patches/patch-libdleyna_server_upnp_c
Normal file
20
net/dleyna/server/patches/patch-libdleyna_server_upnp_c
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-libdleyna_server_upnp_c,v 1.1 2020/03/24 15:26:27 kmos Exp $
|
||||
|
||||
Stop using deprecated gupnp_context_get_host_ip
|
||||
|
||||
https://github.com/intel/dleyna-server/pull/161
|
||||
|
||||
Index: libdleyna/server/upnp.c
|
||||
--- libdleyna/server/upnp.c.orig
|
||||
+++ libdleyna/server/upnp.c
|
||||
@@ -351,8 +351,8 @@ static void prv_device_unavailable_cb(GUPnPControlPoin
|
||||
|
||||
udn = gupnp_device_info_get_udn((GUPnPDeviceInfo *)proxy);
|
||||
|
||||
- ip_address = gupnp_context_get_host_ip(
|
||||
- gupnp_control_point_get_context(cp));
|
||||
+ ip_address = gssdp_client_get_host_ip(
|
||||
+ GSSDP_CLIENT(gupnp_control_point_get_context(cp)));
|
||||
|
||||
if (!udn || !ip_address)
|
||||
goto on_error;
|
16
net/dleyna/server/patches/patch-test_dbus_dms-info_c
Normal file
16
net/dleyna/server/patches/patch-test_dbus_dms-info_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-test_dbus_dms-info_c,v 1.1 2020/03/24 15:26:27 kmos Exp $
|
||||
|
||||
https://github.com/intel/dleyna-server/pull/161
|
||||
|
||||
Index: test/dbus/dms-info.c
|
||||
--- test/dbus/dms-info.c.orig
|
||||
+++ test/dbus/dms-info.c
|
||||
@@ -360,8 +360,6 @@ int main(int argc, char *argv[])
|
||||
if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1)
|
||||
goto on_error;
|
||||
|
||||
- g_type_init();
|
||||
-
|
||||
/* Create proxy for com.intel.dLeynaServer.Manager. The Manager
|
||||
object has no properties. We will create the proxy asynchronously
|
||||
and use G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES to ensure that
|
Loading…
Reference in New Issue
Block a user