diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-27 14:00:22 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-27 14:00:22 +0100 |
commit | cdc89769ebe4362a04a70f4a94427b64b00759f4 (patch) | |
tree | bf9463fd3154354e6cc55221b0b0bb83755051c8 /package/gmediaserver/patches/patch-src_upnp_c | |
parent | f327dedeb0144c84c1365f878ed008d998a0a258 (diff) |
fix uclibc compile
Diffstat (limited to 'package/gmediaserver/patches/patch-src_upnp_c')
-rw-r--r-- | package/gmediaserver/patches/patch-src_upnp_c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/gmediaserver/patches/patch-src_upnp_c b/package/gmediaserver/patches/patch-src_upnp_c new file mode 100644 index 000000000..496694de2 --- /dev/null +++ b/package/gmediaserver/patches/patch-src_upnp_c @@ -0,0 +1,20 @@ +--- gmediaserver-0.13.0.orig/src/upnp.c 2007-10-28 09:20:43.000000000 +0100 ++++ gmediaserver-0.13.0/src/upnp.c 2014-01-27 13:07:07.541007109 +0100 +@@ -265,7 +265,7 @@ handle_get_var_request(struct Upnp_State + say(3, _("Event device UDN: %s\n"), quotearg(request->DevUDN)); + say(3, _("Event service ID: %s\n"), quotearg(request->ServiceID)); + say(3, _("Event variable name: %s\n"), quotearg(request->StateVarName)); +- say(3, _("Event source: %s\n"), inet_ntoa(request->CtrlPtIPAddr)); ++ say(3, _("Event source: %s\n"), inet_ntoa(*(struct in_addr *)&request->CtrlPtIPAddr)); + + if (strcmp(request->DevUDN, device_udn) != 0) { + say(1, _("Discarding event - event device UDN (%s) not recognized\n"), quotearg(request->DevUDN)); +@@ -306,7 +306,7 @@ handle_action_request(struct Upnp_Action + say(3, _("Event device UDN: %s\n"), quotearg(request->DevUDN)); + say(3, _("Event service ID: %s\n"), quotearg(request->ServiceID)); + say(3, _("Event action name: %s\n"), quotearg(request->ActionName)); +- say(3, _("Event source: %s\n"), inet_ntoa(request->CtrlPtIPAddr)); ++ say(3, _("Event source: %s\n"), inet_ntoa(*(struct in_addr *)&request->CtrlPtIPAddr)); + say_document(4, _("Event action request:\n"), request->ActionRequest); + + if (strcmp(request->DevUDN, device_udn) != 0) { |