diff options
author | hasso <hasso@pkgsrc.org> | 2009-08-18 18:31:18 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-08-18 18:31:18 +0000 |
commit | fe1f2adeab62ee69c4580b5f0097518ff1b58d5c (patch) | |
tree | fe88df8db201ff9f09ae07be928874c67c0ebaf1 /net/gupnp-tools | |
parent | 498a77bd4e7fba4e93671f5d718177fab57c7caf (diff) | |
download | pkgsrc-fe1f2adeab62ee69c4580b5f0097518ff1b58d5c.tar.gz |
Make GUPnP build on DragonFly.
Diffstat (limited to 'net/gupnp-tools')
-rw-r--r-- | net/gupnp-tools/distinfo | 4 | ||||
-rw-r--r-- | net/gupnp-tools/patches/patch-aa | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/net/gupnp-tools/distinfo b/net/gupnp-tools/distinfo index f7121987c73..d908da08378 100644 --- a/net/gupnp-tools/distinfo +++ b/net/gupnp-tools/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2009/08/02 11:41:49 drochner Exp $ +$NetBSD: distinfo,v 1.2 2009/08/18 18:31:18 hasso Exp $ SHA1 (gupnp-tools-0.7.1.tar.gz) = 2dbfc6b09eebe00c6584bffc1fcd1eb5e38074b7 RMD160 (gupnp-tools-0.7.1.tar.gz) = bd960e5e961288e66c8110c6639e8ed8709c2e00 Size (gupnp-tools-0.7.1.tar.gz) = 580161 bytes -SHA1 (patch-aa) = 28b9d70d6bfc2696c7ea8b6bcde6da083abca64b +SHA1 (patch-aa) = 7f378dbd6d08daace9fe4b4232e50f05fdc88f1a diff --git a/net/gupnp-tools/patches/patch-aa b/net/gupnp-tools/patches/patch-aa index 0228a082ceb..f449c824ef7 100644 --- a/net/gupnp-tools/patches/patch-aa +++ b/net/gupnp-tools/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2009/08/02 11:41:49 drochner Exp $ +$NetBSD: patch-aa,v 1.2 2009/08/18 18:31:18 hasso Exp $ --- src/network-light/upnp.c.orig 2009-04-30 14:30:23.000000000 +0200 +++ src/network-light/upnp.c @@ -6,7 +6,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2009/08/02 11:41:49 drochner Exp $ #include <stdio.h> #include <locale.h> #include <string.h> -+#if defined(__NetBSD__) ++#if defined(__NetBSD__) || defined(__DragonFly__) +#include <uuid.h> +#else #include <uuid/uuid.h> @@ -18,7 +18,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2009/08/02 11:41:49 drochner Exp $ xmlNode *uuid_node; uuid_t uuid; char *udn, uuidstr[37]; -+#if defined(__NetBSD__) ++#if defined(__NetBSD__) || defined(__DragonFly__) + char *myuuidstr; +#endif @@ -28,7 +28,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2009/08/02 11:41:49 drochner Exp $ return NULL; } -+#if defined(__NetBSD__) ++#if defined(__NetBSD__) || defined(__DragonFly__) + uuid_create(&uuid, 0); + uuid_to_string(&uuid, &myuuidstr, 0); + strncpy(uuidstr, myuuidstr, sizeof(uuidstr)); |