mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 16:40:31 -04:00
Reported by: se@, Sergey Grigoriev, Stefan Sundberg Add a handful of patches accepted by the author from different people. Bump PORTREVISION.
19 lines
936 B
Text
19 lines
936 B
Text
Patch from:
|
|
|
|
http://sourceforge.net/tracker/?func=detail&aid=3459128&group_id=243163&atid=1121518
|
|
|
|
diff -u -b -p -d -r1.104 upnpsoap.c
|
|
--- upnpsoap.c 23 Nov 2011 22:41:42 -0000 1.104
|
|
+++ upnpsoap.c 13 Dec 2011 20:45:33 -0000
|
|
@@ -754,9 +754,9 @@ callback(void *args, int argc, char **ar
|
|
ret = strcatf(str, " refID=\"%s\"", refID);
|
|
}
|
|
ret = strcatf(str, ">"
|
|
- "<dc:title>%s</dc:title>"
|
|
+ "<dc:title>%s%s</dc:title>"
|
|
"<upnp:class>object.%s</upnp:class>",
|
|
- title, class);
|
|
+ title, ((strchr(title, '.') == NULL && (passed_args->filter & FILTER_RES) && *mime == 'v' && passed_args->client == ELGDevice) ? "." : ""), class);
|
|
if( comment && (passed_args->filter & FILTER_DC_DESCRIPTION) ) {
|
|
ret = strcatf(str, "<dc:description>%.384s</dc:description>", comment);
|
|
}
|