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 | |
parent | 498a77bd4e7fba4e93671f5d718177fab57c7caf (diff) | |
download | pkgsrc-fe1f2adeab62ee69c4580b5f0097518ff1b58d5c.tar.gz |
Make GUPnP build on DragonFly.
Diffstat (limited to 'net/gupnp')
-rw-r--r-- | net/gupnp/distinfo | 6 | ||||
-rw-r--r-- | net/gupnp/patches/patch-aa | 4 | ||||
-rw-r--r-- | net/gupnp/patches/patch-ad | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/net/gupnp/distinfo b/net/gupnp/distinfo index 7deee6f3579..ba4beaffed8 100644 --- a/net/gupnp/distinfo +++ b/net/gupnp/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.1.1.1 2009/08/02 11:35:26 drochner Exp $ +$NetBSD: distinfo,v 1.2 2009/08/18 18:31:18 hasso Exp $ SHA1 (gupnp-0.12.8.tar.gz) = b64bea62856b25e4c7f93faa32829f7bd3700aac RMD160 (gupnp-0.12.8.tar.gz) = f2732d85d600b2f485ee69cd4169183728d881d9 Size (gupnp-0.12.8.tar.gz) = 475001 bytes -SHA1 (patch-aa) = 4446a062a086cc762680511514398fe45e933ed4 +SHA1 (patch-aa) = 2c63c7406ddb08cf5fa8d707fbe51e6405e5546b SHA1 (patch-ab) = e43380eac64d815fff1a1b62f73e35e1bdfb9633 SHA1 (patch-ac) = 6d33a9c2fd175ad7a8cbb49f55ddccf58009f1ad -SHA1 (patch-ad) = bc81da86498206d4f18e448bd40a8e0f834b55ae +SHA1 (patch-ad) = 1eb7c6e6b87f671ad80907587789d42754768717 SHA1 (patch-ae) = 4601bc1d9c56a509241c99e529ea65fe5bf7986c diff --git a/net/gupnp/patches/patch-aa b/net/gupnp/patches/patch-aa index 56cbe408a12..f5302a432c0 100644 --- a/net/gupnp/patches/patch-aa +++ b/net/gupnp/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2009/08/02 11:35:26 drochner Exp $ +$NetBSD: patch-aa,v 1.2 2009/08/18 18:31:18 hasso Exp $ --- libgupnp/gupnp-context.c.orig 2009-04-30 14:31:58.000000000 +0200 +++ libgupnp/gupnp-context.c @@ -22,7 +22,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2009/08/02 11:35:26 drochner Exp $ -#if defined(__FreeBSD__) - if ((fp = popen ("netstat -r -f inet -n -W", "r"))) { -+#if defined(__FreeBSD__) || defined(__NetBSD__) ++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) + if ((fp = popen ("netstat -r -f inet -n", "r"))) { char buffer[BUFSIZ]; diff --git a/net/gupnp/patches/patch-ad b/net/gupnp/patches/patch-ad index c89615b8187..b76d8e771bc 100644 --- a/net/gupnp/patches/patch-ad +++ b/net/gupnp/patches/patch-ad @@ -1,4 +1,4 @@ -$NetBSD: patch-ad,v 1.1.1.1 2009/08/02 11:35:26 drochner Exp $ +$NetBSD: patch-ad,v 1.2 2009/08/18 18:31:18 hasso Exp $ --- libgupnp/gupnp-service.c.orig 2009-06-02 14:10:25.000000000 +0200 +++ libgupnp/gupnp-service.c @@ -6,7 +6,7 @@ $NetBSD: patch-ad,v 1.1.1.1 2009/08/02 11:35:26 drochner Exp $ #include <gobject/gvaluecollector.h> #include <gmodule.h> #include <libsoup/soup-date.h> -+#if defined(__NetBSD__) ++#if defined(__NetBSD__) || defined(__DragonFly__) +#include <uuid.h> +#else #include <uuid/uuid.h> @@ -19,11 +19,11 @@ $NetBSD: patch-ad,v 1.1.1.1 2009/08/02 11:35:26 drochner Exp $ uuid_t id; char out[39]; - -+#if defined(__NetBSD__) ++#if defined(__NetBSD__) || defined(__DragonFly__) + char *myout; +#endif + -+#if defined(__NetBSD__) ++#if defined(__NetBSD__) || defined(__DragonFly__) + uuid_create(&id, 0); + uuid_to_string(&id, &myout, 0); + strncpy(out, myout, sizeof(out)); |