pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/gupnp Modifying patch-ad to work for FreeBSD, too.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c03828b6446
branches:  trunk
changeset: 399384:3c03828b6446
user:      sno <sno%pkgsrc.org@localhost>
date:      Sat Sep 19 14:18:31 2009 +0000

description:
Modifying patch-ad to work for FreeBSD, too.

diffstat:

 net/gupnp/distinfo         |   4 ++--
 net/gupnp/patches/patch-ad |  12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (55 lines):

diff -r 592eab39d7ce -r 3c03828b6446 net/gupnp/distinfo
--- a/net/gupnp/distinfo        Sat Sep 19 14:01:45 2009 +0000
+++ b/net/gupnp/distinfo        Sat Sep 19 14:18:31 2009 +0000
@@ -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 @@
 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 -r 592eab39d7ce -r 3c03828b6446 net/gupnp/patches/patch-ad
--- a/net/gupnp/patches/patch-ad        Sat Sep 19 14:01:45 2009 +0000
+++ b/net/gupnp/patches/patch-ad        Sat Sep 19 14:18:31 2009 +0000
@@ -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 @@
  #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));



Home | Main Index | Thread Index | Old Index