diff options
author | sno <sno@pkgsrc.org> | 2009-09-19 14:18:31 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2009-09-19 14:18:31 +0000 |
commit | 2cc3151be38528bbb39acfef2b315e3f6c8f6d86 (patch) | |
tree | 1abf947112fbf4a847d37e9640bc588ddc9e3a4c /net/gupnp | |
parent | 7a16972443d88542f44659af5fc4ffab73c1907e (diff) | |
download | pkgsrc-2cc3151be38528bbb39acfef2b315e3f6c8f6d86.tar.gz |
Modifying patch-ad to work for FreeBSD, too.
Diffstat (limited to 'net/gupnp')
-rw-r--r-- | net/gupnp/distinfo | 4 | ||||
-rw-r--r-- | net/gupnp/patches/patch-ad | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/net/gupnp/distinfo b/net/gupnp/distinfo index ba4beaffed8..b0636d1d287 100644 --- a/net/gupnp/distinfo +++ b/net/gupnp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2009/08/18 18:31:18 hasso Exp $ +$NetBSD: distinfo,v 1.3 2009/09/19 14:18:31 sno Exp $ SHA1 (gupnp-0.12.8.tar.gz) = b64bea62856b25e4c7f93faa32829f7bd3700aac RMD160 (gupnp-0.12.8.tar.gz) = f2732d85d600b2f485ee69cd4169183728d881d9 @@ -6,5 +6,5 @@ Size (gupnp-0.12.8.tar.gz) = 475001 bytes SHA1 (patch-aa) = 2c63c7406ddb08cf5fa8d707fbe51e6405e5546b SHA1 (patch-ab) = e43380eac64d815fff1a1b62f73e35e1bdfb9633 SHA1 (patch-ac) = 6d33a9c2fd175ad7a8cbb49f55ddccf58009f1ad -SHA1 (patch-ad) = 1eb7c6e6b87f671ad80907587789d42754768717 +SHA1 (patch-ad) = 4e6066594153e3ca10b32618fc3afb1144d50d54 SHA1 (patch-ae) = 4601bc1d9c56a509241c99e529ea65fe5bf7986c diff --git a/net/gupnp/patches/patch-ad b/net/gupnp/patches/patch-ad index b76d8e771bc..a10324216cb 100644 --- a/net/gupnp/patches/patch-ad +++ b/net/gupnp/patches/patch-ad @@ -1,12 +1,12 @@ -$NetBSD: patch-ad,v 1.2 2009/08/18 18:31:18 hasso Exp $ +$NetBSD: patch-ad,v 1.3 2009/09/19 14:18:31 sno Exp $ --- libgupnp/gupnp-service.c.orig 2009-06-02 14:10:25.000000000 +0200 -+++ libgupnp/gupnp-service.c ++++ libgupnp/gupnp-service.c 2009-09-19 16:08:38.000000000 +0200 @@ -30,7 +30,11 @@ #include <gobject/gvaluecollector.h> #include <gmodule.h> #include <libsoup/soup-date.h> -+#if defined(__NetBSD__) || defined(__DragonFly__) ++#if defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__) +#include <uuid.h> +#else #include <uuid/uuid.h> @@ -14,16 +14,16 @@ $NetBSD: patch-ad,v 1.2 2009/08/18 18:31:18 hasso Exp $ #include <string.h> #include "gupnp-service.h" #include "gupnp-root-device.h" -@@ -843,9 +847,19 @@ generate_sid (void) +@@ -843,9 +847,19 @@ { uuid_t id; char out[39]; - -+#if defined(__NetBSD__) || defined(__DragonFly__) ++#if defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__) + char *myout; +#endif + -+#if defined(__NetBSD__) || defined(__DragonFly__) ++#if defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__) + uuid_create(&id, 0); + uuid_to_string(&id, &myout, 0); + strncpy(out, myout, sizeof(out)); |