pkgsrc/net/gupnp/patches/patch-ab
drochner 55fcd2055c add gupnp-0.12.8, a base UPnP library
There are (at least) four diffent (and conflicting) libraries for
UUID creation. I've added patches to use the NetBSD native one
which should be present on other BSDs too.
Other OSes likely want to use the Linux/e2fs one (which is in
pkgsrc-wip), this also would need some more extensive autoconf
changes.
2009-08-02 11:35:26 +00:00

13 lines
463 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2009/08/02 11:35:26 drochner Exp $
--- libgupnp/gupnp-control-point.c.orig 2009-04-30 13:54:20.000000000 +0200
+++ libgupnp/gupnp-control-point.c
@@ -572,7 +572,7 @@ parse_usn (const char *usn,
/* Count elements */
count = g_strv_length (bits);
- if (count == 1) {
+ if (count == 1 || (count == 2 && strlen(bits[1]) == 0)) {
/* uuid:device-UUID */
*udn = bits[0];